graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

"gas limit reached in the pool"

Open nicopatoco opened this issue 3 years ago • 4 comments

How can I set a gas limit to RPC ?

docker run -d ........... ethereum=doge:https://rpc02-sg.dogechain.dog

I need to set a gasLimit = 21000 GWEI

nicopatoco avatar Aug 27 '22 20:08 nicopatoco

How can I set a gas limit to RPC ?

docker run -d ........... ethereum=doge:https://rpc02-sg.dogechain.dog

I need to set a gasLimit = 21000 GWEI

ETH_CALL_GAS is hard-coded as 50 million.

The block gas limit is different with every chains, I think it is better if this variable is added as environment variable.

You can update this variable to fix your issue. https://github.com/graphprotocol/graph-node/blob/master/chain/ethereum/src/ethereum_adapter.rs#L77

brainstormk avatar Aug 30 '22 18:08 brainstormk

I could't, but that part of the solution worked . Thanks for that @brainstormk My Subgraph is not working properly on Doge chain.
Some of the officials RPC are not working that properly. Maybe you should try many @badangrycloud .

nicopatoco avatar Sep 20 '22 00:09 nicopatoco

I still got this problem, and dont know why to resolved. anyone can help me?

lokialice avatar Nov 14 '22 14:11 lokialice

@lokialice are you using doge chain?

azf20 avatar Nov 21 '22 11:11 azf20