rundler
rundler copied to clipboard
pool/builder: Allow a staked account to have multiple UOs in a single bundle
Describe the feature Power users may want the ability to send multiple, parallel user operations where they don't care about the ordering. To do this, they can use a separate nonce key per parallel stream of operations, and send each to the mempool.
If a sender is unstaked, the pool currently limits to 4 operations in the mempool. The pool also will only send a single operation per sender when asked for best_operations
.
For a staked sender, this limitation is removed by the spec. The user can have an larger amount of operations in the mempool (limited by reputation rules), and is allowed to have more than 1 user operation in a bundle.
Currently, our builder and pool limit even staked senders to 1 user operation in a bundle. We should remove this limitation.