Facing Revert Error on geth logs
satya-netobjex opened this issue · 3 comments
satya-netobjex commented
getting execution reverted error on geth console when trying to run test yarn run runop --deployFactory --network localhost
steps to reproduce this error :
`
- docker run --rm -ti --name geth -p 8545:8545 ethereum/client-go:v1.10.26
--miner.gaslimit 12000000
--http --http.api personal,eth,net,web3,debug
--http.vhosts '*,localhost,host.docker.internal' --http.addr "0.0.0.0"
--ignore-legacy-receipts --allow-insecure-unlock --rpc.allow-unprotected-txs
--dev
--verbosity 2
--nodiscover --maxpeers 0 --mine --miner.threads 1
--networkid 1337 - yarn && yarn preprocess
3.yarn hardhat-deploy --network localhost
4.yarn run bundler
5.yarn run runop --deployFactory --network http://localhost:8545/ --entryPoint 0x0576a174d229e3cfa37253523e645a78a0c91b57`
attaching logs of geth,bundler and test console for your reference
drortirosh commented
getting reverts on geth console is normal...
we use simulation functions. These must not be called on real network. So they always revert, and return whatever return values they need in the revert data.
It works find, but geth log shows these as errors.
luongs3 commented
@drortirosh what do you mean "must not be called on real network".
In the code base, We use simulation result to make op, send to op pool. So I assume that I really need to to simulation.
luongs3 commented
@satya-netobjex did you resolve this?