You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geth version: evm version 1.14.5-stable-0dd173a7 and evm version 1.14.8-unstable-978041fe
CL client & version: Nope
OS & Version: Ubuntu 20.04
Commit hash : Nope
Expected behaviour
Hello developers,
I'm currently testing EVM implementations and have encountered a peculiar issue. When executing the BASEFEE opcode (0x48), evm will return 0x3b9aca00(1000000000) instead of the value provided in genesis.json .
Steps to reproduce the behaviour
I used the latest version of geth image pulled from dockerhub(digest bb0eb0bd6) to reproduce this bug.
fixesethereum#30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
leeren
pushed a commit
to storyprotocol/story-geth
that referenced
this issue
Aug 16, 2024
fixesethereum#30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
System information
Geth version:
evm version 1.14.5-stable-0dd173a7
andevm version 1.14.8-unstable-978041fe
CL client & version: Nope
OS & Version: Ubuntu 20.04
Commit hash : Nope
Expected behaviour
Hello developers,
I'm currently testing EVM implementations and have encountered a peculiar issue. When executing the
BASEFEE
opcode (0x48),evm
will return0x3b9aca00(1000000000)
instead of the value provided ingenesis.json
.Steps to reproduce the behaviour
I used the latest version of geth image pulled from dockerhub(digest bb0eb0bd6) to reproduce this bug.
This is the
genesis.json
file for--prestate
, which sets the baseFee to0xffff
.Use
evm
to run the bytecode4860005260406000f3
.The mnemonics of the bytecode are as follows.
The result from evm's output, the stack output of
BASEFEE
is0x3b9aca00
.Backtrace
I checked in
evm version 1.14.8-unstable-978041fe
andevm version 1.14.5-stable-0dd173a7
, the problem occured in both versions.It seems that the
baseFeePerGas
ingenesis.json
is just ignored.go-ethereum/cmd/evm/runner.go
Lines 214 to 228 in b37ac5c
Thanks for your time!
The text was updated successfully, but these errors were encountered: