mev-share-node icon indicating copy to clipboard operation
mev-share-node copied to clipboard

Max bundle body size regression

Open rileyg98 opened this issue 1 year ago • 2 comments

Hi team,

I've noticed that the max bundle size in https://github.com/flashbots/mev-share-node/blob/main/mevshare/mevshare.go#L21 is 50 - this introduces a regression in the main relay endpoint where a bundle that would succeed through the standard eth_sendBundle JSON-RPC call fails when sent via the mev_sendBundle endpoint - including where a proxy reformats requests from eth_sendBundle (in the case of a bundle including a list of builders for secondary transmission, as per https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint#eth_sendbundle) to mev_sendBundle. This limit is also not specified anywhere in documentation.

Is there any particular reason for the limit of 50 transactions? Bundles these size are used regularly in the altcoin community during contract launches.

rileyg98 avatar Sep 01 '24 23:09 rileyg98