From 5d3b2708bc8cd7f86d81c6f2a6610d3fc91a9b65 Mon Sep 17 00:00:00 2001 From: Danno Ferrin Date: Tue, 3 Sep 2024 11:33:16 -0600 Subject: [PATCH] Update reference tests to 14.1 (#7568) Updates the reference tests to 14.1, which mostly consists of removing duplicate tests covered by execution-spec-tests or invalid tests from EOF portions of the Prague tests. Signed-off-by: Danno Ferrin --- ethereum/referencetests/build.gradle | 2 +- .../src/reference-test/external-resources | 2 +- .../ethereum/eof/EOFReferenceTestTools.java | 21 ------------------- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/ethereum/referencetests/build.gradle b/ethereum/referencetests/build.gradle index 426c1084db..22f22c70a5 100644 --- a/ethereum/referencetests/build.gradle +++ b/ethereum/referencetests/build.gradle @@ -232,7 +232,7 @@ tasks.register('validateReferenceTestSubmodule') { description = "Checks that the reference tests submodule is not accidentally changed" doLast { def result = new ByteArrayOutputStream() - def expectedHash = 'faf33b471465d3c6cdc3d04fbd690895f78d33f2' + def expectedHash = '9201075490807f58811078e9bb5ec895b4ac01a5' def submodulePath = java.nio.file.Path.of("${rootProject.projectDir}", "ethereum/referencetests/src/reference-test/external-resources").toAbsolutePath() try { exec { diff --git a/ethereum/referencetests/src/reference-test/external-resources b/ethereum/referencetests/src/reference-test/external-resources index faf33b4714..9201075490 160000 --- a/ethereum/referencetests/src/reference-test/external-resources +++ b/ethereum/referencetests/src/reference-test/external-resources @@ -1 +1 @@ -Subproject commit faf33b471465d3c6cdc3d04fbd690895f78d33f2 +Subproject commit 9201075490807f58811078e9bb5ec895b4ac01a5 diff --git a/ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/eof/EOFReferenceTestTools.java b/ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/eof/EOFReferenceTestTools.java index b5def9556d..6a736831ff 100644 --- a/ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/eof/EOFReferenceTestTools.java +++ b/ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/eof/EOFReferenceTestTools.java @@ -79,27 +79,6 @@ public class EOFReferenceTestTools { if (EIPS_TO_RUN.isEmpty()) { params.ignoreAll(); } - - // TXCREATE still in tests, but has been removed - params.ignore("EOF1_undefined_opcodes_186"); - - // embedded containers rules changed - params.ignore("efValidation/EOF1_embedded_container-Prague\\[EOF1_embedded_container_\\d+\\]"); - - // truncated data is only allowed in embedded containers - params.ignore("ori/validInvalid-Prague\\[validInvalid_48\\]"); - params.ignore("efExample/validInvalid-Prague\\[validInvalid_1\\]"); - params.ignore("efValidation/EOF1_truncated_section-Prague\\[EOF1_truncated_section_3\\]"); - params.ignore("efValidation/EOF1_truncated_section-Prague\\[EOF1_truncated_section_4\\]"); - params.ignore("EIP3540/validInvalid-Prague\\[validInvalid_2\\]"); - params.ignore("EIP3540/validInvalid-Prague\\[validInvalid_3\\]"); - - // Orphan containers are no longer allowed - params.ignore("efValidation/EOF1_returncontract_valid-Prague\\[EOF1_returncontract_valid_1\\]"); - params.ignore("efValidation/EOF1_returncontract_valid-Prague\\[EOF1_returncontract_valid_2\\]"); - params.ignore("efValidation/EOF1_eofcreate_valid-Prague\\[EOF1_eofcreate_valid_1\\]"); - params.ignore("efValidation/EOF1_eofcreate_valid-Prague\\[EOF1_eofcreate_valid_2\\]"); - params.ignore("efValidation/EOF1_section_order-Prague\\[EOF1_section_order_6\\]"); } private EOFReferenceTestTools() {