You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: align PROPOSAL_MAX_BLOCKS to 192
* fix: fix CI
* chore: update gaiko
* feat(shasta): enhance validation of L2 block header `extra_data` in batch processing
- Added early validation for Shasta-specific `extra_data` in the `batch_preflight` function to improve error reporting.
- Implemented a new utility function to decode and validate `extra_data` for Shasta blocks, ensuring consistency with proposal data.
- Updated the `calculate_batch_blocks_final_header` function to assert `extra_data` validity post-execution for simplicity.
* chore: fix compile warning
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor(shasta): simplify extra_data decoding and validation
- Removed the endOfProposalFlag from the decode_shasta_extra_data function, reducing the expected length of extra_data from 8 to 7 bytes.
- Updated validation logic in validate_shasta_extra_data_for_batch to reflect the changes in extra_data structure, improving clarity and maintainability.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0 commit comments