Skip to content

Commit

Permalink
add stPreCompiledContracts and stPreCompiledContracts2 testsuites (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeljy authored Oct 2, 2023
1 parent fea9eea commit e22dd65
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 2 deletions.
107 changes: 107 additions & 0 deletions blockchain-tests-skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,113 @@ filename:
- NonZeroValue_DELEGATECALL_ToNonNonZeroBalance.json # ef-tests #360
- NonZeroValue_DELEGATECALL_ToOneStorageKey.json # ef-tests #360
- NonZeroValue_SUICIDE.json # ef-tests #361
stPreCompiledContracts:
- blake2B.json # ef-tests #389
- identity_to_bigger.json # ef-tests #389
- identity_to_smaller.json # ef-tests #389
- idPrecomps.json # ef-tests #389
- modexp.json # ef-tests #389
- modexpTests.json # ef-tests #389
- precompsEIP2929.json # ef-tests #389
- sec80.json # ef-tests #389
stPreCompiledContracts2:
- CallIdentity_1_nonzeroValue.json # ef-tests #390
- CallSha256_1_nonzeroValue.json # ef-tests #390
- CALLBlake2f.json # ef-tests #391
- CALLCODEBlake2f.json # ef-tests #391
- CALLCODEEcrecover0.json # ef-tests #391
- CALLCODEEcrecover0_0input.json # ef-tests #391
- CALLCODEEcrecover0_completeReturnValue.json # ef-tests #391
- CALLCODEEcrecover0_gas3000.json # ef-tests #391
- CALLCODEEcrecover0_overlappingInputOutput.json # ef-tests #391
- CALLCODEEcrecover1.json # ef-tests #391
- CALLCODEEcrecover2.json # ef-tests #391
- CALLCODEEcrecover3.json # ef-tests #391
- CALLCODEEcrecover80.json # ef-tests #391
- CALLCODEEcrecoverH_prefixed0.json # ef-tests #391
- CALLCODEEcrecoverR_prefixed0.json # ef-tests #391
- CALLCODEEcrecoverS_prefixed0.json # ef-tests #391
- CALLCODEEcrecoverV_prefixed0.json # ef-tests #391
- CALLCODEEcrecoverV_prefixedf0.json # ef-tests #391
- CALLCODEIdentitiy_0.json # ef-tests #391
- CALLCODEIdentitiy_1.json # ef-tests #391
- CALLCODEIdentity_1_nonzeroValue.json # ef-tests #391
- CALLCODEIdentity_2.json # ef-tests #391
- CALLCODEIdentity_3.json # ef-tests #391
- CALLCODEIdentity_4.json # ef-tests #391
- CALLCODEIdentity_4_gas17.json # ef-tests #391
- CALLCODEIdentity_4_gas18.json # ef-tests #391
- CALLCODEIdentity_5.json # ef-tests #391
- CALLCODERipemd160_0.json # ef-tests #391
- CALLCODERipemd160_1.json # ef-tests #391
- CALLCODERipemd160_2.json # ef-tests #391
- CALLCODERipemd160_3.json # ef-tests #391
- CALLCODERipemd160_3_postfixed0.json # ef-tests #391
- CALLCODERipemd160_3_prefixed0.json # ef-tests #391
- CALLCODERipemd160_4.json # ef-tests #391
- CALLCODERipemd160_4_gas719.json # ef-tests #391
- CALLCODERipemd160_5.json # ef-tests #391
- CALLCODESha256_0.json # ef-tests #391
- CALLCODESha256_1.json # ef-tests #391
- CALLCODESha256_1_nonzeroValue.json # ef-tests #391
- CALLCODESha256_2.json # ef-tests #391
- CALLCODESha256_3.json # ef-tests #391
- CALLCODESha256_3_postfix0.json # ef-tests #391
- CALLCODESha256_3_prefix0.json # ef-tests #391
- CALLCODESha256_4.json # ef-tests #391
- CALLCODESha256_4_gas99.json # ef-tests #391
- CALLCODESha256_5.json # ef-tests #391
- CallEcrecover0.json # ef-tests #391
- CallEcrecover0_0input.json # ef-tests #391
- CallEcrecover0_completeReturnValue.json # ef-tests #391
- CallEcrecover0_gas3000.json # ef-tests #391
- CallEcrecover0_overlappingInputOutput.json # ef-tests #391
- CallEcrecover1.json # ef-tests #391
- CallEcrecover2.json # ef-tests #391
- CallEcrecover3.json # ef-tests #391
- CallEcrecover80.json # ef-tests #391
- CallEcrecoverCheckLength.json # ef-tests #391
- CallEcrecoverCheckLengthWrongV.json # ef-tests #391
- CallEcrecoverH_prefixed0.json # ef-tests #391
- CallEcrecoverInvalidSignature.json # ef-tests #391
- CallEcrecoverR_prefixed0.json # ef-tests #391
- CallEcrecoverS_prefixed0.json # ef-tests #391
- CallEcrecoverUnrecoverableKey.json # ef-tests #391
- CallEcrecoverV_prefixed0.json # ef-tests #391
- CallEcrecover_Overflow.json # ef-tests #391
- CallIdentitiy_0.json # ef-tests #391
- CallIdentitiy_1.json # ef-tests #391
- CallIdentity_2.json # ef-tests #391
- CallIdentity_3.json # ef-tests #391
- CallIdentity_4.json # ef-tests #391
- CallIdentity_4_gas17.json # ef-tests #391
- CallIdentity_4_gas18.json # ef-tests #391
- CallIdentity_5.json # ef-tests #391
- CallIdentity_6_inputShorterThanOutput.json # ef-tests #391
- CallRipemd160_0.json # ef-tests #391
- CallRipemd160_1.json # ef-tests #391
- CallRipemd160_2.json # ef-tests #391
- CallRipemd160_3.json # ef-tests #391
- CallRipemd160_3_postfixed0.json # ef-tests #391
- CallRipemd160_3_prefixed0.json # ef-tests #391
- CallRipemd160_4.json # ef-tests #391
- CallRipemd160_4_gas719.json # ef-tests #391
- CallRipemd160_5.json # ef-tests #391
- CallSha256_0.json # ef-tests #391
- CallSha256_1.json # ef-tests #391
- CallSha256_2.json # ef-tests #391
- CallSha256_3.json # ef-tests #391
- CallSha256_3_postfix0.json # ef-tests #391
- CallSha256_3_prefix0.json # ef-tests #391
- CallSha256_4.json # ef-tests #391
- CallSha256_4_gas99.json # ef-tests #391
- CallSha256_5.json # ef-tests #391
- ecrecoverShortBuff.json # ef-tests #391
- ecrecoverWeirdV.json # ef-tests #391
- modexp_0_0_0_20500.json # ef-tests #391
- modexp_0_0_0_22000.json # ef-tests #391
- modexp_0_0_0_25000.json # ef-tests #391
- modexp_0_0_0_35000.json # ef-tests #391
stQuadraticComplexityTest:
- Call1MB1024Calldepth.json # ef-tests #375
- Call20KbytesContract50_1.json # ef-tests #375
Expand Down
4 changes: 2 additions & 2 deletions crates/ef-testing/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ mod blockchain_tests {
blockchain_tests!(st_memory_stress_test, stMemoryStressTest);
blockchain_tests!(st_memory_test, stMemoryTest);
blockchain_tests!(st_non_zero_calls_test, stNonZeroCallsTest);
// blockchain_tests!(st_pre_compiled_contracts, stPreCompiledContracts); // 8 failing tests
// blockchain_tests!(st_pre_compiled_contracts2, stPreCompiledContracts2); // 97 failing tests
blockchain_tests!(st_pre_compiled_contracts, stPreCompiledContracts);
blockchain_tests!(st_pre_compiled_contracts2, stPreCompiledContracts2);
blockchain_tests!(st_quadratic_complexity_test, stQuadraticComplexityTest);
// blockchain_tests!(st_random, stRandom); // 79 failing tests
// blockchain_tests!(st_random2, stRandom2); // 40 failing tests
Expand Down

0 comments on commit e22dd65

Please sign in to comment.