-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(proto)!: update
SequencerBlockHeader
and related proto typ…
…es to not use cometbft header (#830) ## Summary update `SequencerBlockHeader`, `SequencerBlock`, `FilteredSequencerBlock`, and `CelestiaSequencerBlob` to not contain an entire cometbft header, but only to contain relevant fields required. ## Background this is required for the update to ABCI v0.38, as `finalize_block` no longer passes in the entire block header (like `begin_block` did). we keep needed fields like height, chain_id, timestamp, proposer_address, data_hash in the `SequencerBlockHeader`. ## Changes - update `SequencerBlockHeader` to not contain an entire cometbft header but have height, chain_id, timestamp, proposer_address, data_hash - all fields are now explicitly needed by other components of the stack - update `SequencerBlock`, `FilteredSequencerBlock`, and `CelestiaSequencerBlob` to have `block_hash` as this can no longer be calculated from the cometbft header as it doesn't exist anymore - deprecate `rollup_ids_root` in `SequencerBlockHeader` as it can be calculated by the list of rollup IDs in a block ## Testing unit tests ## Breaking Changelist - the `SequencerBlockHeader`, `SequencerBlock`, `FilteredSequencerBlock`, and `CelestiaSequencerBlob` are changed. ## Related Issues related to #679
- Loading branch information
Showing
61 changed files
with
3,170 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.