Skip to content

EIP1559 issue following changes after 17th April 24 #29898

@wawrzek

Description

@wawrzek

I noticed a problem with deploying to a docker-compose based POS network (https://github.com/OffchainLabs/eth-pos-devnet) when geth image is newer than the following tag (which was created 2024-04-17T06:37:18.62946929Z):

ethereum/client-go@sha256:0de486c8adf2f10ab0934b46fbe6c7a2c933eafad3fe4d02460e0e4c04154031

Reading release notes for 1.14.0 I thought that maybe it's a matter of ensuring the network is post-merge one, but it has the variable terminalTotalDifficultyPassed: true set in the genesis.json. Also, the support for pre-merge networks was dropped on 7th March, and the POS DevNet worked fine after that date. (I ran it in few places and found a working POS with image mentioned above).

System information

Geth version: 1.14.0
CL client & version: Prysm 5.0.3
OS & Version: Docker
Commit hash : (if develop)

Expected behaviour

Contracts are deployed

Actual behaviour

Failed to estimate EIP1559 fees

forge create Counter  --private-key 0x2e0834786285daccd064ca17f1654f67b4aef298acbb82cef9ec422fb4975622 --rpc-url=http://localhost:8545
[⠊] Compiling...
No files changed, compilation skipped
Error:
Failed to estimate EIP1559 fees. This chain might not support EIP1559, try adding --legacy to your command.

(BTW. --legacy works fine)

Steps to reproduce the behaviour

Set a POS DevNet network (this branch is a good test base: https://github.com/ivy-net/eth-pos-devnet/tree/wn/lock-down-images)
Deploy a contract, e.g. follow Forge simple example: https://blog.lambdaclass.com/ethereum-development-made-easy-with-foundry/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions