Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Conversation

@Ruteri
Copy link
Collaborator

@Ruteri Ruteri commented Apr 12, 2023

📝 Summary

Because of how the CL events are set up right now, the builder should ignore subsequent payload attributes calls, as they might be non-canonical. This behaviour on CLs will change in the future and the logic will be adjusted.

📚 References


@avalonche
Copy link
Contributor

Should a flag be added to allow different configurations allowing builders to build on late blocks?

}

func NewBuilder(sk *bls.SecretKey, ds flashbotsextra.IDatabaseService, relay IRelay, builderSigningDomain boostTypes.Domain, eth IEthereumService, dryRun bool, validator *blockvalidation.BlockValidationAPI, beaconClient IBeaconClient) *Builder {
func NewBuilder(sk *bls.SecretKey, ds flashbotsextra.IDatabaseService, relay IRelay, builderSigningDomain boostTypes.Domain, eth IEthereumService, dryRun bool, ignoreLatePayloadAttributes bool, validator *blockvalidation.BlockValidationAPI, beaconClient IBeaconClient) *Builder {
Copy link
Contributor

Choose a reason for hiding this comment

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

can refactor params to a struct

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We should pass in the config for sure

@Ruteri Ruteri requested a review from avalonche April 12, 2023 16:58
@Ruteri Ruteri merged commit a146bfa into main Apr 12, 2023
@Ruteri Ruteri deleted the sse-builder-payload-attrs-handling branch April 12, 2023 17:36
dvush added a commit that referenced this pull request Apr 19, 2023
dvush added a commit that referenced this pull request Jun 2, 2023
avalonche pushed a commit that referenced this pull request Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants