eth-infinitism / bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facing Revert Error on geth logs

satya-netobjex opened this issue · comments

getting execution reverted error on geth console when trying to run test yarn run runop --deployFactory --network localhost

steps to reproduce this error :
`

  1. 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
  2. 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
Screenshot from 2023-03-28 17-12-21
Screenshot from 2023-03-28 17-09-56
Screenshot from 2023-03-28 17-09-46

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.