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 <danno@numisight.com>
pull/7574/head
Danno Ferrin 3 months ago committed by GitHub
parent d5c10e2b4e
commit 5d3b2708bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ethereum/referencetests/build.gradle
  2. 2
      ethereum/referencetests/src/reference-test/external-resources
  3. 21
      ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/eof/EOFReferenceTestTools.java

@ -232,7 +232,7 @@ tasks.register('validateReferenceTestSubmodule') {
description = "Checks that the reference tests submodule is not accidentally changed" description = "Checks that the reference tests submodule is not accidentally changed"
doLast { doLast {
def result = new ByteArrayOutputStream() 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() def submodulePath = java.nio.file.Path.of("${rootProject.projectDir}", "ethereum/referencetests/src/reference-test/external-resources").toAbsolutePath()
try { try {
exec { exec {

@ -1 +1 @@
Subproject commit faf33b471465d3c6cdc3d04fbd690895f78d33f2 Subproject commit 9201075490807f58811078e9bb5ec895b4ac01a5

@ -79,27 +79,6 @@ public class EOFReferenceTestTools {
if (EIPS_TO_RUN.isEmpty()) { if (EIPS_TO_RUN.isEmpty()) {
params.ignoreAll(); 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() { private EOFReferenceTestTools() {

Loading…
Cancel
Save