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

feat(rpc-types-mev): Add support for Bundle inside BundleItem #1418

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

SkandaBhat
Copy link
Contributor

@SkandaBhat SkandaBhat commented Oct 2, 2024

Motivation

According to mev-share specs there should be support for nested bundles inside the bundle request, but in mev_calls.rs, BundleItem did not have Bundle. This was found during implementation of mev_simBundle on reth (comment)

fixes #1416

also ref: paradigmxyz/mev-share-rs#44

Solution

Added support for Bundle inside BundleItem, and added a test to check if a nested bundle request can be deserialized.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

great

@mattsse mattsse merged commit 172ceb7 into alloy-rs:main Oct 2, 2024
1 check passed
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.

Add support for Bundle inside BundleItem
2 participants