go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

Out Of GasLimit PoA

Open avenbreaks opened this issue 1 year ago • 2 comments

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 avatar May 22 '24 01:05 avenbreaks

@rjl493456442

avenbreaks avatar May 22 '24 01:05 avenbreaks

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 \

avenbreaks avatar May 22 '24 01:05 avenbreaks

Hi,

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

nikhilve99 avatar May 24 '24 06:05 nikhilve99

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?

s1na avatar May 28 '24 11:05 s1na

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.

karalabe avatar Jun 06 '24 08:06 karalabe

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

lightclient avatar Aug 19 '24 22:08 lightclient