chore: fix regression bug#7276
Conversation
WalkthroughThe updates refine error handling in the LMDB database code by introducing explicit handling for missing PayRef entries during block reorganization. Additionally, test code in the stats collector module is simplified by removing unnecessary cloning of metadata keys. No public interfaces or exported entities are changed. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (2)📓 Common learningsbase_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs (3)undefined <retrieved_learning> <retrieved_learning> <retrieved_learning> 🧬 Code Graph Analysis (1)base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs (2)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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
CodeRabbit Configuration File (
|
MCozhusheck
left a comment
There was a problem hiding this comment.
Tested locally, migrating from minotari_node version 4.1.0 started working on this branch build
Test Results (CI) 3 files 126 suites 41m 10s ⏱️ Results for commit 006e0bc. |
Test Results (Integration tests) 2 files 10 suites 1h 4m 10s ⏱️ For more details on these failures, see this check. Results for commit 006e0bc. |
* development: chore: fix regression bug (tari-project#7276) feat!: expand gRPC readiness status to contain current processed block info (tari-project#7262) fix!: payref migration and indexes, add grpc query via output hash (tari-project#7266) feat: auto zero value coinbase reward calculation (tari-project#7259) feat!: improve grpc token supply (tari-project#7261) chore: new release v4.7.0-pre.0 (tari-project#7268) fix: get_all_completed_transactions limit issues (tari-project#7267) fix: ledger builds (tari-project#7260) feat: offline signing (tari-project#7122) test: verify accumulated difficulty (tari-project#7243)
Description
Fixes a migration bug introduced in #7266
Summary by CodeRabbit
Bug Fixes
Tests