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

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Remove capella types #650

merged 1 commit into from
Jul 22, 2024

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
Collaborator

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
Collaborator

@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

@metachris metachris merged commit 415c7ed into develop Jul 22, 2024
4 checks passed
@metachris metachris deleted the remove-capella branch July 22, 2024 10:43
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.

4 participants