Skip to content

abort batch when fcmp++ tree growth fails - #438

Open
auruya wants to merge 1 commit into
seraphis-migration:fcmp++-beta-stressnetfrom
auruya:fix-block-committed-without-tree
Open

abort batch when fcmp++ tree growth fails#438
auruya wants to merge 1 commit into
seraphis-migration:fcmp++-beta-stressnetfrom
auruya:fix-block-committed-without-tree

Conversation

@auruya

@auruya auruya commented Jul 16, 2026

Copy link
Copy Markdown

add missing m_batch_success = false if the fcmp tree growth fails. Without this set, cleanup_handle_incoming_blocks() still called batch_stop() and committed the block without its tree entry. That leaves the tree tip permanently behind the chain tip. That breaks the code in multiple places such as pop_blocks path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant