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. Assuming that we were able to do a work around to get our proposal working but it is not a good workaround and may break in the future.
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.