Skip to content

fix(jito_rpc): makes jito bundle atomic#610

Open
0xzrf wants to merge 2 commits intosolana-foundation:mainfrom
0xzrf:atomic_send_bundle
Open

fix(jito_rpc): makes jito bundle atomic#610
0xzrf wants to merge 2 commits intosolana-foundation:mainfrom
0xzrf:atomic_send_bundle

Conversation

@0xzrf
Copy link
Copy Markdown
Contributor

@0xzrf 0xzrf commented Apr 3, 2026

Summery

Simulates each transaction sent in the sendBundle rpc method and early returns if any of them fail.

Changes

  • Adds an iterator inside the SurfpoolJitoRpc::send_bundle function before sending transactions
  • Adds test to check if it returns the right error message

Note

This might not entirely replicate jito bundles. But since it's majorly used for testing purposes, it works well to say that the bundle is atomic

Closes #594

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.

Update sendBundle method to actually be atomic

1 participant