-
Notifications
You must be signed in to change notification settings - Fork 20.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EIP1559 issue following changes after 17th April 24 #29898
Comments
Do you have any logs from Geth itself? Startup logs, error logs, everything? |
Please run Geth with |
Please find the geth log from with the verbosity 5. To make it easier to find the right area of the logs, I also attached the logs from the container running the forge script. This time I ran the 1.14.3 geth. It's very easy to repeat the run with my docker-compose (https://github.com/ivy-net/iv1/), so please advise if you need to get any further information (any other version or command line option). |
Hmm. This log is not super helpful. It would be better to get the log of geth 1.14.4 which is not working. I have a suspicion it might be related to |
To make clear, the problem appears in every version from 1.14.0. So I attached the logs from geth 1.14.0 and 1.14.5, so I'm attaching logs from 1.14.0, 1.14.4 and 1.14.5 I have a docker image from the pre 1.14.0 development period ("ethereum/client-go@sha256:0de486c8adf2f10ab0934b46fbe6c7a2c933eafad3fe4d02460e0e4c04154031") which is fine. Logs from there are below. I think it might be related to the #29140 , if you have the sha for the docker image before and after the PR I can try to run them and confirm. |
So maybe it's a bug in |
Not sure if that any use:| Logs from the forge deploying to geth 1.14.0 (with verbosity=5) forge-vvvvv-geth-1.14.0.log
|
@fjl - I pinpointed the issue to the #29140. First, I build a docker image for the I don't know enough about ethereum to even guess if the change in the PR is right, and forge needs to change something to work with their settings, or maybe it is a bug. I also wonder how the combo (forge+geth) works in other network? It has to be fine. So maybe the problem is with one of genesis block values? How could I compare the one from devnet to the mainnet or holesky? |
In the PR you linked, some additional fields were added to the return value of |
I found related: foundry-rs/foundry#8047 |
I looked more carefully at versioning of foundry and their 'latest' image does not have the fix, and indeed it's not the 'latest'. To get the latest, you need to get the 'nightly' build. I grabbed a recent 'nightly' and deployments works fine. One more question on the geth side. I see no info about this, potentially braking, change, in the release notes for 1.14.0. Have I missed them? (I haven't touched Ethereum for a long time, so maybe that's the case). |
We typically do not announce additions of fields in response objects because we believe adding more fields is a backwards-compatible modification. As the protocol changes, new fields will be added. In this particular case, it was added to the spec (ethereum/execution-apis#486) and then implemented by all clients. I think Anyway, thanks for following along patiently, and I will close this issue now. |
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):
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
(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/
The text was updated successfully, but these errors were encountered: