Skip to content

Commit 167c971

Browse files
committed
fix: @karim's fix for CANCUN blockchain reference tests
This addresses an issue that seems to only occur for CANCUN blockchain reference tests starting with besuVersion = 25.11.0-RC1-linea2 where tests 627, 626, 625, 623, 612, 608, 605, 601, 578, 576, 575, 574 ... among others would produce besu errors
1 parent a231089 commit 167c971

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

reference-tests/src/test/java/net/consensys/linea/BlockchainReferenceTestTools.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,8 @@ public static void executeTest(final BlockchainReferenceTestCaseSpec spec) {
929929
context
930930
.getWorldStateArchive()
931931
.getWorldState(
932-
WorldStateQueryParams.withStateRootAndBlockHashAndUpdateNodeHead(
933-
genesisBlockHeader.getStateRoot(), genesisBlockHeader.getHash()))
932+
WorldStateQueryParams.withBlockHeaderAndNoUpdateNodeHead(genesisBlockHeader))
934933
.orElseThrow();
935-
936934
log.info(
937935
"checking roothash {} is {}", worldState.rootHash(), genesisBlockHeader.getStateRoot());
938936
assertThat(worldState.rootHash()).isEqualTo(genesisBlockHeader.getStateRoot());

0 commit comments

Comments
 (0)