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

Send bundle precompile and contracts #74

Merged
merged 12 commits into from
Oct 26, 2023

Conversation

Ruteri
Copy link
Collaborator

@Ruteri Ruteri commented Oct 24, 2023

📝 Summary

Unifies bundle types into types.SBundle, with marshaling that matches eth_sendBundle.
Adds a precompile for sending bundles to builders, as well as example contracts using the new precompiles.

📚 References


  • I have seen and agree to CONTRIBUTING.md

@@ -34,6 +38,7 @@ var (
extractHintAddress = common.HexToAddress("0x42100037")
buildEthBlockAddress = common.HexToAddress("0x42100001")
submitEthBlockBidToRelayAddress = common.HexToAddress("0x42100002")
submitEthBundleToBuilderAddress = common.HexToAddress("0x42100004")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ferranbt it'd be really nice if we could assign the addresses from suave/artifacts/addresses.go!

@Ruteri Ruteri marked this pull request as ready for review October 25, 2023 13:54
Copy link
Member

@dmarzzz dmarzzz left a comment

Choose a reason for hiding this comment

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

LSTM

@Ruteri Ruteri merged commit a3bce52 into flashbots:main Oct 26, 2023
4 checks passed
@Ruteri Ruteri deleted the send-bundle-contract-and-precompile branch October 26, 2023 10:21
dmarzzz pushed a commit to flashbots/suave-specs that referenced this pull request Oct 26, 2023
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.

3 participants