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
Enforce centralized sequencer in p2p block gossiping (#1418)
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->
## Overview
Resolves#1417, resolves#1404
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
-->
## Checklist
<!--
Please complete the checklist to ensure that the PR is ready to be
reviewed.
IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->
- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced block validation to reject certain blocks early in the
process.
- Implemented centralized sequencer validation to ensure block
sequencing integrity.
- **Bug Fixes**
- Adjusted the initialization of nodes in test suites to align with
updated genesis document and signing key configurations.
- Updated error handling in block management to provide more informative
feedback.
- **Refactor**
- Streamlined block manager initialization with improved error handling.
- Updated test cases to reflect new validator set and signing key
initialization methods.
- Refined node test initialization to include signing key handling and
error propagation.
- **Documentation**
- Added new error messages to improve clarity on validation failures.
- **Tests**
- Enhanced integration and unit tests to cover new validation checks and
error conditions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Connor O'Hara <connor@switchboard.xyz>
0 commit comments