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

Enable post-merge dev mode #13

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Enable post-merge dev mode #13

merged 1 commit into from
Mar 1, 2024

Conversation

sveitser
Copy link
Contributor

@sveitser sveitser commented Mar 1, 2024

  • Enables querying "finalized" blocks.
  • Update geth.

The post merge dev mode doesn't seem very well documented.

It was added in this PR:

ethereum/go-ethereum#28463

To get a working genesis block, this workaround is needed

  • geth --datadir /path/to/data --dev
  • shut down geth
  • geth --datadir /path/to/data dumpgenesis

Close #12

- Enables querying "finalized" blocks.
- Update geth.

The post merge dev mode doesn't seem very well documented.

It was added in this PR:

ethereum/go-ethereum#28463

To get a working genesis block, this workaround is needed

- geth --datadir /path/to/data --dev
- shut down geth
- geth --datadir /path/to/data dumpgenesis

Close #12
@sveitser
Copy link
Contributor Author

sveitser commented Mar 1, 2024

@Ancient123 a downside of this seems to be that the block period can no longer be set via the genesis block but needs to be set via --dev.period (in seconds) instead.

@Ancient123 Ancient123 merged commit 3709413 into main Mar 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure geth to support "finalized" blocks.
2 participants