Skip to content
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

Getting the most up to date EVM version without EIP1559 #3374

Closed
soragXYZ opened this issue Feb 4, 2022 · 5 comments · Fixed by #4003
Closed

Getting the most up to date EVM version without EIP1559 #3374

soragXYZ opened this issue Feb 4, 2022 · 5 comments · Fixed by #4003
Assignees
Labels
question TeamGroot GH issues worked on by Groot Team

Comments

@soragXYZ
Copy link

soragXYZ commented Feb 4, 2022

Hi!

I have a private network with a gasPrice null, with the EVM version being set to Berlin

I want to update it, in order to have the most up-to-date version of the EVM, but here comes my issue:

The London update contains the EIP1559 which introduce a small burn for each transaction, but with a private network with a gasPrice null it is an issue because it becomes impossible to perform a single transaction if the issuer of the transaction doesn't have funds

So my question is: how can I update my genesis.json to the latest EVM version (arrowGlacier at the time of writing) but without the EIP1559 ?

Thanks

@daniellehrner
Copy link
Contributor

I would recommend you to use IBFT2 and configure the network to run with 0 gas. EIP1599 will not take effect if you do that.

IBFT2: https://besu.hyperledger.org/en/stable/HowTo/Configure/Consensus-Protocols/IBFT/
Free gas networks: https://besu.hyperledger.org/en/stable/HowTo/Configure/FreeGas/

@soragXYZ
Copy link
Author

soragXYZ commented Feb 7, 2022

Hi @daniellehrner thanks for the reply

That's what I did, I'm using IBFT2 with a gasPrice null but it doesn't work, I can't sign a transaction if I don't have funds because for each transaction there is this small fee introduced by the EIP1559

Is it possible to share a working genesis.json configuration ?

@ccamaleon5
Copy link

Hello, we have the same problem. A network with IBFT 2.0 consensus and 0 gas price cannot be run on the London version of Ethereum, this is due to EIP 1559. Thus, for a network with 0 gas price, the baseFee parameter of the block header should be configurable. What do we need to do to run a network with a gas price 0?

@jframe jframe added the TeamGroot GH issues worked on by Groot Team label Apr 22, 2022
@siladu siladu self-assigned this Jun 14, 2022
@siladu siladu reopened this Jun 30, 2022
@siladu
Copy link
Contributor

siladu commented Jun 30, 2022

Hi @soragXYZ and @ccamaleon5 I believe this PR should fix this issue: #4003

It's available on the main branch and hopefully it'll make it into the next release.
In addition to the code in the PR, you must also include "baseFeePerGas": "0x0" at the top level of the genesis file.
We will update the documentation to reflect this.

Please reopen or create a new issue if the problem persists even with this code.

@siladu siladu closed this as completed Jun 30, 2022
@siladu
Copy link
Contributor

siladu commented Jul 6, 2022

The fix has been released: https://github.com/hyperledger/besu/releases/tag/22.7.0-RC1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question TeamGroot GH issues worked on by Groot Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants