Closed
Description
System information
Geth version: 1.14.8
OS & Version: OSX
Expected behaviour
Calling the Rollback()
function on the simulated backend should set gas tip back to parameter passed by config as it was the case before #28202 was merged.
Actual behaviour
Currently the gas tip is arbitrary set to 1 Gwei after calling the Rollback()
function, which is not even the default config parameter (1 wei).
There is a TODO in the code left by @MariusVanDerWijden here:
go-ethereum/eth/catalyst/simulated_beacon.go
Lines 276 to 277 in a9523b6
Steps to reproduce the behaviour
- Create a new simulated client with the default values.
- Call Rollback()
- Make a TX using the suggested gas tip.
You will get the error transaction underpriced: gas tip cap 1000000, minimum needed 1000000000
.