-
Notifications
You must be signed in to change notification settings - Fork 357
10175 execution payload bid gloas gossip #10198
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
Open
mehdi-aouadi
wants to merge
11
commits into
Consensys:master
Choose a base branch
from
mehdi-aouadi:10175-execution-payload-bid-gloas-gossip
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
10175 execution payload bid gloas gossip #10198
mehdi-aouadi
wants to merge
11
commits into
Consensys:master
from
mehdi-aouadi:10175-execution-payload-bid-gloas-gossip
Conversation
This file contains hidden or 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
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Outdated
Show resolved
Hide resolved
...ition/src/main/java/tech/pegasys/teku/statetransition/validation/GossipValidationHelper.java
Outdated
Show resolved
Hide resolved
...main/java/tech/pegasys/teku/statetransition/execution/DefaultExecutionPayloadBidManager.java
Fixed
Show fixed
Hide fixed
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Outdated
Show resolved
Hide resolved
44d6922 to
c590df1
Compare
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Show resolved
Hide resolved
...main/java/tech/pegasys/teku/statetransition/execution/DefaultExecutionPayloadBidManager.java
Show resolved
Hide resolved
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Show resolved
Hide resolved
2d10e2d to
f006907
Compare
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Outdated
Show resolved
Hide resolved
...in/java/tech/pegasys/teku/statetransition/validation/ExecutionPayloadBidGossipValidator.java
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
Add Gloas
execution_payload_bidgossip rulesFixed Issue(s)
#10175
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog
Note
Implements Gloas execution payload bid gossip validation, wires it into the node, and adds supporting helpers, constants, tests, and fixtures.
ExecutionPayloadBidGossipValidatorwith full bid validation (payment=0, dedupe, highest-value tracking, slot/current-next, known parent block/hash, active/unslashed builder with builder-withdrawal credential, balance checks, signature verification) using LRU/cache (SEEN_EXECUTION_PAYLOAD_BID_SET_SIZE,HIGHEST_BID_SET_SIZE).DefaultExecutionPayloadBidManager(constructor,validateAndAddBid) and wire viaBeaconChainController.initExecutionPayloadBidManager.GossipValidationHelper(generic index signature check,isSlotCurrentOrNext, builder index/credential/balance checks, block-hash known, time-window tweak).hasBuilderWithdrawalCredentialviaMiscHelpersGloas.spec/config/Constants.javafor bid caches.DataStructureUtilbid generators (parameterizedExecutionPayloadBid/SignedExecutionPayloadBid).ExecutionPayloadBidGossipValidatorTest; updateDefaultExecutionPayloadBidManagerTest(new ctor); refineGossipValidationHelperTest; updateLocalSignerTestexpected bid signature.newBlockGLOAS.jsonfixtures (REST and validator)signed_execution_payload_bidfields.Written by Cursor Bugbot for commit e9375c2. This will update automatically on new commits. Configure here.