Skip to content

Init KZG precompile contract before importing blocks#8219

Merged
macfarla merged 1 commit intobesu-eth:mainfrom
daniellehrner:bug/issue-8218/hive_linking_error_kzg
Feb 2, 2025
Merged

Init KZG precompile contract before importing blocks#8219
macfarla merged 1 commit intobesu-eth:mainfrom
daniellehrner:bug/issue-8218/hive_linking_error_kzg

Conversation

@daniellehrner
Copy link
Copy Markdown
Contributor

PR description

This PR fixes the UnsatisfiedLinkError during Hive tests for the KZG point precompile. The missing init step for the KZG precompile is executed before importing a block via the block subcommand.

Fixed Issue(s)

fixes #8218

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

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Copy link
Copy Markdown
Contributor

@matkt matkt left a comment

Choose a reason for hiding this comment

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

Lgtm

@macfarla macfarla merged commit 56e5b3c into besu-eth:main Feb 2, 2025
pullurib pushed a commit to pullurib/besu that referenced this pull request Feb 6, 2025
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
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.

Pectra: Hive: UnsatisfiedLinkError

3 participants