-
Notifications
You must be signed in to change notification settings - Fork 189
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
Gas limit when using multicall #254
Comments
@Uxio0 has a look at github.com/banteg/multicall.py if you want to fix it |
Sorry @007vasy , what exactly do we have to take a look at? |
you can set the maximum gas and also multicall.py does a backtrack and tries to do the multicall with less amount of calls |
Yeah, I mean, our biggest problem here is how to do it without impacting performance. Fallbacking to use less amount of calls after a failure is something we want to prevent |
my best guess is that some contracts are faulty and the functions are tagged incorrectly (a view function which is not tagged as view) therefore the node think it needs gas, but it does not (but that's just a guess) |
Well, it's not just gas. For example, Erigon has an |
Describe the bug
multicall
sometimes exceedseth_call
gas limit
and anout of gas
error is raised.To Reproduce
Do
eth_call
consuming the maximum gas allowed by the node. Library raises an exception. Example trace from thetransaction-service
:Expected behavior
Reverts to use
batch call
The text was updated successfully, but these errors were encountered: