Skip to content

Commit

Permalink
comment out out-of-spec tests
Browse files Browse the repository at this point in the history
Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon committed Jun 19, 2024
1 parent 70c383e commit 84ef5a9
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ public class EOFReferenceTestTools {

// 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_1\\]");

// 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\\]");
}

private EOFReferenceTestTools() {
Expand All @@ -81,6 +92,7 @@ public static Collection<Object[]> generateTestParametersForConfig(final String[
return params.generate(filePath);
}

@SuppressWarnings("java:S5960") // This is not production code, this is testing code.
public static void executeTest(
final String fork, final Bytes code, final EOFTestCaseSpec.TestResult expected) {
EVM evm = ReferenceTestProtocolSchedules.create().geSpecByName(fork).getEvm();
Expand Down

0 comments on commit 84ef5a9

Please sign in to comment.