Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified protocol schedule tidy up #5375

Merged

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Apr 20, 2023

Some straight forward refactorings and tidy up

Fixed Issue(s)

Part of #5354

Testing

  • local validator interop (beku-timestamp) with tx-fuzz
  • near head checkpoint sync sepolia
  • checkpoint sync sepolia

Now that ProtocolScheduleBuilder is the only subclass
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
getByBlockHeader is still nullable so cannot remove the ProhibitedWithdrawals fallback afterall
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
…amps are in the main protocolschedule

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
@siladu siladu added TeamGroot GH issues worked on by Groot Team mainnet and removed TeamGroot GH issues worked on by Groot Team labels Apr 20, 2023
@github-actions
Copy link

github-actions bot commented Apr 20, 2023

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I have considered running ./gradlew acceptanceTestNonMainnet locally if my PR affects non-mainnet modules.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

…ocolSchedule

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
@siladu siladu marked this pull request as ready for review April 21, 2023 03:21
siladu and others added 3 commits April 21, 2023 14:11
This was originally extracted when this was part of an inheritence hierarchy
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@garyschulte garyschulte enabled auto-merge (squash) April 21, 2023 18:41
@garyschulte garyschulte merged commit c34139c into hyperledger:main Apr 21, 2023
@siladu siladu deleted the unified-protocol-schedule-tidy-up branch May 1, 2023 19:52
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
* Fold AbstractProtocolScheduleBuilder into ProtocolScheduleBuilder
* Tidy up WithdrawalsValidatorProvider
* Remove unnecessary createSchedule in JsonRpcMethodsFactory now timestamps are in the main protocolschedule
* Fold BlockNumberStreamingProtocolSchedule into MilestoneStreamingProtocolSchedule
* Rename UnifiedProtocolSchedule to DefaultProtocolSchedule
* inline ProtocolScheduleBuilder.postBuildStep

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* Fold AbstractProtocolScheduleBuilder into ProtocolScheduleBuilder
* Tidy up WithdrawalsValidatorProvider
* Remove unnecessary createSchedule in JsonRpcMethodsFactory now timestamps are in the main protocolschedule
* Fold BlockNumberStreamingProtocolSchedule into MilestoneStreamingProtocolSchedule
* Rename UnifiedProtocolSchedule to DefaultProtocolSchedule
* inline ProtocolScheduleBuilder.postBuildStep

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants