|
66 | 66 | @Slf4j |
67 | 67 | public class BlockchainReferenceTestTools { |
68 | 68 | // Keep the forkName and the zkevm_fork in github worklow in PascalCase |
69 | | - private static final Fork fork = getForkOrDefault(LONDON); |
| 69 | + private static final Fork fork = getForkOrDefault(PRAGUE); |
70 | 70 | private static final ReferenceTestProtocolSchedules REFERENCE_TEST_PROTOCOL_SCHEDULES = |
71 | 71 | ReferenceTestProtocolSchedules.create(); |
72 | 72 | private static final List<String> NETWORKS_TO_RUN = List.of(toPascalCase(fork)); |
@@ -703,6 +703,41 @@ public class BlockchainReferenceTestTools { |
703 | 703 | PARAMS.ignore("randomStatetest650_d0g0v0_*"); |
704 | 704 | } |
705 | 705 |
|
| 706 | + // Prior to Osaka MODEXP had unsupported arguments in the arithmetization |
| 707 | + if (forkPredatesOsaka(fork)) { |
| 708 | + // massive mbs |
| 709 | + PARAMS.ignore( |
| 710 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d2-g[0-3]\\]"); |
| 711 | + |
| 712 | + // massive bbs |
| 713 | + PARAMS.ignore( |
| 714 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d28-g[0-3]\\]"); |
| 715 | + PARAMS.ignore( |
| 716 | + "test_precompiles.py::test_precompiles\\[fork_.*-address_0x0000000000000000000000000000000000000005-precompile_exists_True-blockchain_test_from_state_test\\]"); |
| 717 | + |
| 718 | + // massive ebs |
| 719 | + PARAMS.ignore( |
| 720 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d29-g[0-3]\\]"); |
| 721 | + PARAMS.ignore( |
| 722 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d30-g[0-3]\\]"); |
| 723 | + PARAMS.ignore( |
| 724 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d36-g[0-3]\\]"); |
| 725 | + PARAMS.ignore( |
| 726 | + "modexpFiller.json::modexp\\[fork_.*-blockchain_test_from_state_test-d37-g[0-3]\\]"); |
| 727 | + |
| 728 | + // byte sizes 512 < xbs ≤ 1024t |
| 729 | + PARAMS.ignore( |
| 730 | + "test_modexp_thresholds.py::test_modexp_variable_gas_cost_exceed_tx_gas_cap\\[fork_.*-blockchain_test_from_state_test-Z16-gas-cap-test\\]"); |
| 731 | + PARAMS.ignore( |
| 732 | + "test_modexp_thresholds.py::test_vectors_from_eip\\[fork_.*-blockchain_test_from_state_test-guido-3-even\\]"); |
| 733 | + PARAMS.ignore( |
| 734 | + "test_modexp_thresholds.py::test_vectors_from_eip\\[fork_.*-blockchain_test_from_state_test-nagydani-5-pow0x10001\\]"); |
| 735 | + PARAMS.ignore( |
| 736 | + "test_modexp_thresholds.py::test_vectors_from_eip\\[fork_.*-blockchain_test_from_state_test-nagydani-5-qube\\]"); |
| 737 | + PARAMS.ignore( |
| 738 | + "test_modexp_thresholds.py::test_vectors_from_eip\\[fork_.*-blockchain_test_from_state_test-nagydani-5-square\\]"); |
| 739 | + } |
| 740 | + |
706 | 741 | // unsupported behaviour: uncle blocks, re-orgs, forks, side chain (?) |
707 | 742 | if (!isPostPrague(fork)) { |
708 | 743 | PARAMS.ignore("ChainAtoChainBCallContractFormA_London\\[London\\]"); |
|
0 commit comments