issue-tracker
issue-tracker copied to clipboard
rpc.gascap limit is too low probably
I am using Snapshot (https://snapshot.org/) which uses Moralis.
Recently one of our Quickswap proposals wasn’t working on Snapshot. We traced the issue down to this Moralis node RPC error: “missing revert data in call exception”.
We suspect this is caused by a read-only gas limit on the node.
It is possible that the read-only gas limit on the Moralis node is set too low. If this is the case I would like to ask that this limit be removed or significantly increased.
The read-only gas limit on nodes can be controlled with the rpc.gascap limit. From geth documentation:
-rpc.gascap value Sets a cap on gas that can be used in eth_call/estimateGas (0=infinite) (default: 50000000)
That default of 50 million is too low. I suggest setting it to infinite or 1 billion. As an example Infra sets their gascap to 10x the current gas block limit. So that sets gascap to about 300 million for infra nodes on Ethereum. I think that is still too low.
I made a post about this problem on the moralis forum three months ago but it seems this issue hasn't been addressed. I recently had the same problem with a new Snapshot proposal with Quickswap a few days ago.
It would be really great if the rpc.gascap setting could be significantly increased or removed.
Any plans to do something about this?