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

Remove capella types #650

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Remove capella types #650

wants to merge 1 commit into from

Conversation

avalonche
Copy link
Collaborator

@avalonche avalonche commented Apr 26, 2024

πŸ“ Summary

Removing capella types as part of clean up after the Deneb hard fork. Note that due to an SSZ encoding bug in the attestant library for the deneb builder bid, it has been updated to the latest version.

β›± Motivation and Context

This allows the mev-boost codebase to be more manageable instead of accumulating more code from previous hard forks.


βœ… I have run these commands

  • make lint
  • make test-race
  • go mod tidy

message := &builderApiDeneb.BuilderBid{
Header: &deneb.ExecutionPayloadHeader{
BlockHash: HexToHash("0xe28385e7bd68df656cd0042b74b69c3104b5356ed1f20eb69f1f925df47a3ab7"),
BaseFeePerGas: uint256.NewInt(0),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you add BaseFeePerGas here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

BaseFeePerGas no longer can be nil in the new deneb.ExecutionPayloadHeader type

Copy link
Contributor

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

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

Sounds good, we should get that in soonish so I can rebase my PRs on top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants