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

custom gas limit with -dev flag #13596

Open
1 task done
w-woloszyn opened this issue Dec 30, 2024 · 0 comments
Open
1 task done

custom gas limit with -dev flag #13596

w-woloszyn opened this issue Dec 30, 2024 · 0 comments
Labels
C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled

Comments

@w-woloszyn
Copy link

Describe the bug

Running reth node with the dev flag and custom genesis.json seems to override the gas limit specified in genesis.json. I classify this as a bug, because other parameters set in genesis.json such as chain id or prefunded accounts are respected.

If this is not a bug, then I'd appreciate advice on how to set custom gas limit with dev flag.

Steps to reproduce

  1. Start reth node with dev flag and custom chain specified in genesis.json with a gas limit different than 30000000.
  2. Verify that the gas limit has not been set to the custom value, e.g. using eth_getBlockByNumber JSON-RPC method.

Node logs


Platform(s)

Linux (x86)

Container Type

Docker

What version/commit are you on?

Latest docker image

What database version are you on?

Latest docker image

Which chain / network are you on?

--chain=/root/network-configs/genesis.json
--dev

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct
@w-woloszyn w-woloszyn added C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled
Projects
Status: Todo
Development

No branches or pull requests

1 participant