Skip to content

Parse Geth genesis file#9368

Merged
daniellehrner merged 8 commits intobesu-eth:mainfrom
daniellehrner:feat/issue-7273/parse-geth-genesis
Dec 15, 2025
Merged

Parse Geth genesis file#9368
daniellehrner merged 8 commits intobesu-eth:mainfrom
daniellehrner:feat/issue-7273/parse-geth-genesis

Conversation

@daniellehrner
Copy link
Copy Markdown
Contributor

PR description

Fixed Issue(s)

fixes #7273

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • spotless: ./gradlew spotlessApply
  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests
  • hive tests: Engine or other RPCs modified?

…or Geth like genesis files

Signed-off-by: daniellehrner <daniel.lehrner@consensys.net>
Signed-off-by: daniellehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner marked this pull request as ready for review October 27, 2025 15:04
Copy link
Copy Markdown
Contributor

@jflo jflo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but we should add a test that actually works against a Geth provided genesis.json file. Bonus points for downloading it from their repo, so we get a failed build if they make a breaking change.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@daniellehrner daniellehrner enabled auto-merge (squash) December 15, 2025 15:27
@daniellehrner daniellehrner merged commit 4427012 into besu-eth:main Dec 15, 2025
46 of 81 checks passed
@github-project-automation github-project-automation bot moved this from Open PRs to Done in RC 25.12.0 Dec 15, 2025
@daniellehrner daniellehrner deleted the feat/issue-7273/parse-geth-genesis branch December 16, 2025 08:41
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.

Allowing Besu to parse a Geth-style genesis like other clients

4 participants