-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use different database file names for signet and testnet4 to avoid wrong height #3224
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v23 #3224 +/- ##
============================================
Coverage 62.64% 62.65%
============================================
Files 424 424
Lines 30243 30259 +16
============================================
+ Hits 18946 18959 +13
- Misses 10457 10459 +2
- Partials 840 841 +1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{"level":"info","chain":18333,"chain_network":"btc","module":"inbound","time":"2024-11-26T21:37:02Z","message":"observeInboundBTC: block 223762 has 68 txs, current block 223764, last scanned 223761"}
48879|2024-11-26 21:37:02.916601526+00:00|2024-11-26 21:37:02.916446964+00:00||223762
Looks good during our testnet run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to my review in #3225
Same :) |
Description
The zetaclients in the Testnet are pulling last scanned height from wrong database file
btc_chain_client
which was intended only fortestnet3
andmainnet
. The testnet3 block number is much higher than current signet block, the inbound observation will stop because no block will be treated as confirmed. See this logicCloses #3223
How Has This Been Tested?