-
Notifications
You must be signed in to change notification settings - Fork 49
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
Argument --max-gas-per-bundle doesn't affect anything #264
Comments
Hey Max, thanks for reaching out!
I guess I found the bug, can you try this branch? Let me know if it helps! |
Yeap, it definitely helped. But something still limits amount of userops in a single bundle. After increasing Is there something else that could affect such behaviour? |
Oh, I see. What is the block gas limit of the network you're using? Eg Ethereum's is 30m, so there's a natural limitation to the amount of user operations in the single bundle :( |
Since I'm using custom development node, I could change the block gas limit. But even without it, used gas for the single bundle transaction is 1-3m (and there is one bundle tx per block), which is much less than default gas limit value. |
Hey, I believe this issue was resolved privately on tg. Sharing the resolution here incase anyone else runs into the same issue. The issue with the The second issue with the limited userops per bundle appeared to be due to hardware limitations as running the same demo on different machines produced different bundling rates (this was discussed on tg) |
Describe the bug
Hello there
Right now I'm working on a tool, that could activate a huge amount of smart accounts derived from one deployer address. Basically I'm sending all of them without waiting for the transaction to be minted and then waiting for the userOp statuses to become
included
into . But I faced an issue, where I have a lot of userOps in the statenon_submited
, which means that they are in mempool waiting to be included in the bundle. And they do but only like 4-5 userOps at a time.So I started researching how to increase a bandwidth and found those flags:
max-gas-per-bundle
andmempool-max-parallel-ops
. After increasing default values of it -- nothing happened. And I tried to reduce it to the ridiculously low value of 5 which I assumed will make bundler to not include any transaction to the bundle. But nothing happened again, I had the same 4-5 userOps at a time.So is there any problem with this argument, or an issue with the bandwidth is in something else?
To Reproduce
Try to send a lot of transactions to the bundler and then wait for them to be mined.
The way I used to start bundler:
Expected behavior
With a increase of
max-gas-per-bundle
argument, amount of time for the processing of all userOps should be decreasedEnvironment:
The text was updated successfully, but these errors were encountered: