flashbots / flashbots/mev-share

Invalid bundle size

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
147
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Failed to send bundle on holesky testnet with size of 22572.

```sh
info: Bundle size: 22572
error: Error while sending Flashbots bundle: invalid bundle body size {"name":"JsonRpcError: -32000","stack":"JsonRpcError: -32000: invalid bundle body size\n at MevShareClient. (/Users/j/-simulation/node_modules/@flashbots/mev-share-client/src/client.ts:75:19)\n at Generator.next ()\n at fulfilled (/Users/j/Coding/simulation/node_modules/@flashbots/mev-share-client/build/client.js:28:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"}
```

Why is that, when max size is 300'000? Also I am only sending about 50 txs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at node_modules/@flashbots/mev-share-client/src/client.ts:75 and trace how the reported 22572-byte bundle is sent to the Holesky endpoint. Compare that request with the documented 300,000 limit and identify the constraint that produces the error. Done means recording the cause and the correct limit or request shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.