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

Update Linea Besu to 25.2-delivery46 #1767

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

fab-10
Copy link
Collaborator

@fab-10 fab-10 commented Feb 3, 2025

fixes #1766

@fab-10
Copy link
Collaborator Author

fab-10 commented Feb 3, 2025

@matkt

./gradlew testClasses is failing after the Linea Besu update, since the changes in the WorldStateArchive, how should the code be written now?

linea-tracer/reference-tests/src/test/java/net/consensys/linea/BlockchainReferenceTestTools.java:369: error: cannot find symbol
            .getMutable(genesisBlockHeader.getStateRoot(), genesisBlockHeader.getHash())
            ^
  symbol:   method getMutable(Hash,Hash)
  location: interface WorldStateArchive

@matkt
Copy link

matkt commented Feb 4, 2025

it should be something like that . but it's already like that in the main branch of besu

    final MutableWorldState worldState =
        spec.getWorldStateArchive()
            .getWorldState(WorldStateQueryParams.withStateRootAndBlockHashAndUpdateNodeHead(genesisBlockHeader.getStateRoot(), genesisBlockHeader.getHash()))
            .orElseThrow();

@fab-10 fab-10 force-pushed the 1766-update-linea-besu-delivery46 branch from 339a9fa to b64721c Compare February 4, 2025 10:11
@fab-10
Copy link
Collaborator Author

fab-10 commented Feb 4, 2025

Thanks @matkt it compiles now

@fab-10 fab-10 enabled auto-merge (squash) February 4, 2025 10:12
Copy link

sonarqubecloud bot commented Feb 4, 2025

Copy link
Collaborator

@OlivierBBB OlivierBBB left a comment

Choose a reason for hiding this comment

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

LGTM

@fab-10 fab-10 merged commit 15d7b08 into arith-dev Feb 4, 2025
10 checks passed
@fab-10 fab-10 deleted the 1766-update-linea-besu-delivery46 branch February 4, 2025 19: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.

Update Linea Besu to 25.2-delivery46
3 participants