Skip to content

fix: state-sync for cometbft-v0.38+ with vote extensions#80

Merged
troykessler merged 1 commit intomainfrom
fix/vote-extensions
Oct 29, 2024
Merged

fix: state-sync for cometbft-v0.38+ with vote extensions#80
troykessler merged 1 commit intomainfrom
fix/vote-extensions

Conversation

@troykessler
Copy link
Member

This PR addresses the issue that for cometbft-v0.38+ chains with enabled vote extensions the binary panics after state- or block-syncing. Example error with dydxprotocold v6.0.4: panic: failed to reconstruct last extended commit; extended commit for height 27890144 not found. Since vote extensions are not retrievable over the RPC and not stored for all existing pools this PR mimics the state-sync behaviour with the native p2p state-sync, so at least after state-syncing with KSYNC the node can be started normally, for block-sync however the node still panics which is an open issue.

@troykessler troykessler self-assigned this Oct 28, 2024
@troykessler troykessler merged commit a0fc554 into main Oct 29, 2024
@troykessler troykessler deleted the fix/vote-extensions branch December 5, 2024 12:08
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.

2 participants