ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.09k stars 19.94k forks source link

Out Of GasLimit PoA #29815

Closed avenbreaks closed 2 weeks ago

avenbreaks commented 3 months ago

We wanted to implement the pancakeswap fork contract on our PoA network but after execution using Remix we got this notification:

Internal JSON-RPC error. You may want to cautiously increase the gas limit if the transaction went out of gas.

avenbreaks commented 3 months ago

@rjl493456442

avenbreaks commented 3 months ago

can help ? setup :

    --mine=true \
    --miner.etherbase="0xxxxxxxxxxxxxxxxx" \
    --miner.extradata="0xxxxxxxxxxxxxxxxx" \
    --miner.gaslimit=30000000 \
    --miner.gasprice=0 \
    --miner.recommit=2s \
    --miner.newpayload-timeout=2s \
    --gpo.blocks=20 \
    --gpo.ignoreprice=2 \
    --gpo.maxprice=500000000000 \
    --gpo.percentile=60 \
    --txpool.accountqueue=64 \
    --txpool.accountslots=16 \
    --txpool.globalqueue=1024 \
    --txpool.globalslots=5120 \
    --txpool.lifetime=0h5m0s \
    --txpool.nolocals \
    --txlookuplimit=0 \
nikhilve99 commented 3 months ago

Hi,

I am also facing the same problem, have u got any solution ?

s1na commented 3 months ago

Which version are you using? PoA support was recently removed from go-ethereum. Although that does not explain why the node itself is fine and only you get error when sending RPC requests. Can you check remix logs and see what was the request that errored?

karalabe commented 3 months ago
Internal JSON-RPC error.
You may want to cautiously increase the gas limit if the transaction went out of gas.

You really need to send some logs form Geth itself, otherwise there's no much to go on. These seem to originate from Remix with no Geth related infos revealed.

lightclient commented 2 weeks ago

Please reopen if you are able to produce some logs of the issue. Thanks!