Skip to content
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

Allow eth_call with a custom gas limit #537

Open
abhimanyusinghgaur opened this issue Sep 19, 2024 · 0 comments
Open

Allow eth_call with a custom gas limit #537

abhimanyusinghgaur opened this issue Sep 19, 2024 · 0 comments

Comments

@abhimanyusinghgaur
Copy link
Contributor

See: https://discord.com/channels/666749063386890256/982135810742697984/1272200000633569280

It seems there a bunch of contracts that are "broken". They hang for a huge amount of time before returning data or running out of gas. This is making the Substreams hang forever.
A possible solution is to set a low amount of gas of eth_calls that you know are cheap and should return quickly. This way, you would simply get a timeout and you can handle this timeout in your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant