erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Extremely slow eth_estimateGas

Open plvnts opened this issue 3 years ago • 3 comments

Hi, we're experiencing extremely slow eth_estimateGas calls on a high-end server.

time curl -s -H "Content-Type: application/json" -X POST http://localhost:8545 --data '{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"to": "0x32be343b94f860124dc4fee278fdcbd38c102d88", "from": "0x32be343b94f860124dc4fee278fdcbd38c102d88"}],"id":1}'
real	0m1.216s

1.2s seems really slow for a local node. I was under the impression it should be orders of magnitudes faster. Any ideas how to increase the speed?

plvnts avatar Aug 07 '22 17:08 plvnts

How do you run erigon? How do you run rpcdaemon?

AskAlexSharov avatar Aug 07 '22 17:08 AskAlexSharov

I mean cli flags

AskAlexSharov avatar Aug 07 '22 17:08 AskAlexSharov

erigon/build/bin/erigon --datadir=... --chain=mainnet --ws

plvnts avatar Aug 07 '22 18:08 plvnts

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] avatar Sep 23 '22 04:09 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Oct 11 '22 03:10 github-actions[bot]