activates byzantium gst test, GST +153

This commit is contained in:
andri lim 2019-04-22 22:59:59 +07:00
parent b3a3814f6a
commit fd8f774386
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
3 changed files with 994 additions and 415 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,587 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"randomStatetest14.json", # SHA3 offset
"randomStatetest85.json", # CALL* memoffset
"returndatacopy_0_0_following_successful_create.json", # CRASH
"CreateOOGafterInitCodeReturndata2.json", # CRASH
"returndatasize_after_failing_delegatecall.json",
"callcodeOutput2.json",
"static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json",
"ecmul_1-3_2_28000_96.json",
"RevertInStaticCall.json",
"static_callcallcodecall_010_OOGMBefore.json",
"modexp_3_09984_39936_25000.json",
"static_callcallcall_000_SuicideEnd.json",
"static_callcallcallcode_001_OOGMBefore2.json",
"static_callcodecallcodecall_1102.json",
"static_callcallcodecallcode_011_OOGMAfter_2.json",
"ecadd_0-0_1-3_25000_128.json",
"modexpRandomInput.json",
"ecmul_0-3_2_28000_128.json",
"ecmul_0-3_5616_28000_128.json",
"ecadd_1-2_0-0_21000_192.json",
"static_RevertOpcodeCalls.json",
"static_callcall_00_OOGE.json",
"modexp_9_37111_37111_1000000.json",
"static_callcodecallcodecall_ABCB_RECURSIVE2.json",
"ecmul_1-3_1_21000_96.json",
"ecmul_1-3_340282366920938463463374607431768211456_28000_80.json",
"static_callcodecallcall_100_SuicideMiddle2.json",
"static_CallRecursiveBombPreCall2.json",
"static_callcallcodecallcode_011_SuicideMiddle.json",
"ecmul_1-2_9935_21000_128.json",
"static_callcallcodecallcode_011_OOGMAfter.json",
"static_call_value_inherit_from_call.json",
"static_ReturnTest2.json",
"ecmul_0-0_0_21000_0.json",
"ecmul_1-3_0_28000_96.json",
"static_log1_emptyMem.json",
"static_Call1024OOG.json",
"ecadd_0-0_0-0_21000_64.json",
"static_callcodecallcall_100_SuicideEnd.json",
"randomStatetest184.json",
"static_CalltoReturn2.json",
"static_callcodecallcall_100_2.json",
"ecmul_1-3_5616_28000_128.json",
"callOutput3Fail.json",
"static_CallToReturn1.json",
"ecmul_0-0_9_28000_128.json",
"ecmul_0-3_9_28000_96.json",
"ecmul_7827-6598_2_28000_128.json",
"ecmul_0-0_0_28000_64.json",
"static_callcallcallcode_ABCB_RECURSIVE.json",
"static_CallGoesOOGOnSecondLevel2.json",
"static_Call50000bytesContract50_3.json",
"static_callcodecallcallcode_ABCB_RECURSIVE2.json",
"static_callcallcallcode_001_OOGMAfter_3.json",
"ecmul_7827-6598_9_21000_96.json",
"ecmul_0-3_1_28000_96.json",
"ecmul_0-3_2_21000_96.json",
"ecmul_0-3_5617_21000_128.json",
"ecmul_0-0_5617_28000_128.json",
"static_CheckOpcodes2.json",
"returndatasize_after_failing_callcode.json",
"modexp_3_5_100_25000.json",
"static_callcall_00_OOGE_2.json",
"ecmul_1-2_2_28000_128.json",
"static_callcodecallcodecall_110_SuicideEnd2.json",
"static_callcallcodecallcode_011_OOGMAfter_1.json",
"static_CallAndCallcodeConsumeMoreGasThenTransactionHas.json",
"static_CallRecursiveBomb2.json",
"ecmul_7827-6598_1456_28000_96.json",
"ecadd_1-3_0-0_25000_80.json",
"ecadd_1145-3932_2969-1336_25000_128.json",
"ecmul_1-2_9935_21000_96.json",
"pointAddTrunc.json",
"modexp_3_09984_39936_155000.json",
"sec80.json",
"modexp_37120_37111_0_1000000.json",
"static_CallLoseGasOOG.json",
"static_callWithHighValueAndOOGatTxLevel.json",
"RevertOpcodeInCallsOnNonEmptyReturnData.json",
"static_callcodecallcodecall_110_OOGE.json",
"ecmul_7827-6598_1456_21000_96.json",
"static_log0_nonEmptyMem.json",
"ecmul_0-3_9_28000_128.json",
"static_callcallcodecall_010_OOGMAfter2.json",
"static_callcallcodecallcode_011_OOGE_2.json",
"ecadd_6-9_19274124-124124_21000_128.json",
"static_CheckCallCostOOG.json",
"ecadd_0-0_0-0_21000_192.json",
"ecpairing_one_point_insufficient_gas.json",
"modexp.json",
"static_callcodecallcallcode_101_SuicideEnd2.json",
"ecmul_0-0_5617_21000_96.json",
"ecmul_0-3_2_21000_128.json",
"static_CallContractToCreateContractAndCallItOOG.json",
"ecmul_7827-6598_1_28000_96.json",
"modexp_55190_55190_42965_20500.json",
"ecmul_1-3_0_21000_64.json",
"ecmul_7827-6598_1456_21000_80.json",
"ecadd_1145-3932_1145-4651_21000_192.json",
"ecpairing_two_point_match_4.json",
"modexp_39936_1_55201_20500.json",
"static_callcallcodecallcode_011_SuicideMiddle2.json",
"ecmul_0-3_9935_21000_128.json",
"ecpairing_one_point_with_g2_zero_and_g1_invalid.json",
"static_log0_logMemStartTooHigh.json",
"static_callcallcodecall_010_OOGE_2.json",
"modexp_55190_55190_42965_22000.json",
"ecmul_7827-6598_0_28000_96.json",
"RevertInCreateInInit.json",
"static_callcodecall_10_SuicideEnd.json",
"pointMulAdd2.json",
"ecmul_7827-6598_2_21000_96.json",
"ecadd_0-0_0-0_25000_64.json",
"static_log_Caller.json",
"static_callcallcall_000_OOGMAfter.json",
"ecmul_0-3_0_28000_128.json",
"ecmul_0-3_1_21000_128.json",
"ecpairing_two_point_fail_1.json",
"ecmul_7827-6598_0_28000_80.json",
"ecmul_7827-6598_2_21000_128.json",
"returndatacopy_following_call.json",
"ecadd_0-0_1-2_21000_192.json",
"static_callcallcodecallcode_011_OOGE.json",
"ecadd_1145-3932_2969-1336_21000_128.json",
"returndatacopy_after_revert_in_staticcall.json",
"static_callChangeRevert.json",
"static_LoopCallsDepthThenRevert3.json",
"ecmul_7827-6598_9935_21000_96.json",
"ecmul_7827-6598_9_28000_128.json",
"ecmul_0-3_9935_21000_96.json",
"static_RevertDepth2.json",
"ecmul_0-3_340282366920938463463374607431768211456_28000_96.json",
"static_log0_nonEmptyMem_logMemSize1.json",
"ecpairing_perturb_zeropoint_by_curve_order.json",
"ecmul_0-0_0_21000_40.json",
"ecmul_1-2_0_21000_80.json",
"modexp_55190_55190_42965_25000.json",
"ecmul_1-2_1_28000_96.json",
"static_CallRecursiveBombPreCall.json",
"static_log0_nonEmptyMem_logMemSize1_logMemStart31.json",
"ecmul_1-3_9_21000_128.json",
"ecmul_0-0_9935_21000_128.json",
"modexp_3_09984_39936_35000.json",
"ecmul_1-3_9935_28000_96.json",
"callOutput2.json",
"modexp_49_2401_2401_20500.json",
"ecmul_0-0_0_21000_128.json",
"ecmul_1-2_1_28000_128.json",
"ecmul_1-2_340282366920938463463374607431768211456_28000_128.json",
"ecmul_0-0_2_28000_96.json",
"modexp_49_2401_2401_25000.json",
"static_callcodecall_10_OOGE_2.json",
"static_callcallcodecallcode_011_2.json",
"static_CallGoesOOGOnSecondLevel.json",
"ecmul_1-3_1_28000_128.json",
"ecmul_7827-6598_5616_28000_128.json",
"ecadd_0-0_1-2_25000_128.json",
"modexp_3_09984_39936_22000.json",
"static_callcallcallcode_001_OOGMAfter.json",
"static_callcallcodecallcode_011_SuicideEnd2.json",
"ecmul_1-2_9_28000_96.json",
"modexp_55190_55190_42965_155000.json",
"RevertOpcodeDirectCall.json",
"static_makeMoney.json",
"static_callcallcodecall_ABCB_RECURSIVE.json",
"static_callcodecallcallcode_101_OOGMAfter_1.json",
"ecmul_1-2_0_28000_64.json",
"static_callcallcallcode_001_SuicideMiddle.json",
"modexp_39936_1_55201_1000000.json",
"ecmul_1-2_2_28000_96.json",
"ecmul_1-2_340282366920938463463374607431768211456_28000_80.json",
"PythonRevertTestTue201814-1430.json",
"static_Call1024PreCalls3.json",
"ecmul_1-2_5616_21000_128.json",
"ecmul_1-2_616_28000_96.json",
"modexp_3_5_100_22000.json",
"static_callcodecallcodecall_ABCB_RECURSIVE.json",
"returndatacopy_following_revert_in_create.json",
"static_CheckOpcodes3.json",
"static_callcodecallcodecall_110_2.json",
"ecmul_7827-6598_5617_28000_128.json",
"ecmul_1-2_0_28000_128.json",
"ecmul_1-3_5617_21000_128.json",
"RevertInCallCode.json",
"static_callToDelCallOpCodeCheck.json",
"static_CheckOpcodes.json",
"static_callcodecallcall_ABCB_RECURSIVE.json",
"ecmul_1-2_5617_28000_96.json",
"ecmul_7827-6598_1_21000_128.json",
"ecmul_1-2_5616_21000_96.json",
"ecpairing_one_point_with_g2_zero.json",
"ecpairing_perturb_g2_by_field_modulus.json",
"static_CallContractToCreateContractOOGBonusGas.json",
"ecmul_1-3_9_28000_128.json",
"static_CallRecursiveBomb0_OOG_atMaxCallDepth.json",
"ecmul_7827-6598_1456_28000_80.json",
"modexp_37120_37111_1_1000000.json",
"ecmul_0-0_9935_21000_96.json",
"pointMulAdd.json",
"static_Call1024PreCalls.json",
"ecmul_7827-6598_5617_21000_96.json",
"static_callCreate3.json",
"ecmul_7827-6598_5617_28000_96.json",
"ecpairing_three_point_match_1.json",
"static_callcallcodecall_010_SuicideEnd2.json",
"callOutput3partial.json",
"ecmul_1-3_2_21000_96.json",
"ecmul_0-3_9_21000_128.json",
"static_InternalCallHittingGasLimit2.json",
"RevertOpcodeReturn.json",
"ecmul_0-0_5617_21000_128.json",
"modexp_49_2401_2401_22000.json",
"modexp_3_5_100_35000.json",
"static_call_value_inherit.json",
"ecmul_1-2_5617_21000_96.json",
"ecadd_0-0_0-0_25000_0.json",
"ecadd_1-2_0-0_21000_64.json",
"modexp_3_5_100_1000000.json",
"static_CheckOpcodes5.json",
"static_callcallcodecallcode_ABCB_RECURSIVE2.json",
"ecmul_0-3_5617_21000_96.json",
"ecmul_7827-6598_1456_28000_128.json",
"ecmul_0-0_1_21000_128.json",
"static_callcallcodecall_010_OOGE.json",
"ecmul_7827-6598_0_28000_128.json",
"Opcodes_TransactionInit.json",
"ecmul_7827-6598_0_21000_80.json",
"ecadd_0-0_1-2_25000_192.json",
"ecmul_0-3_340282366920938463463374607431768211456_28000_128.json",
"ecadd_0-0_0-0_25000_80.json",
"ecmul_0-3_9935_28000_96.json",
"ecmul_0-0_5616_28000_96.json",
"static_callcallcallcode_001_SuicideMiddle2.json",
"ecpairing_two_point_oog.json",
"ecmul_0-3_0_28000_64.json",
"ecadd_0-3_1-2_25000_128.json",
"ecmul_0-0_9935_28000_128.json",
"static_callcodecall_10_SuicideEnd2.json",
"static_callcallcodecall_010_SuicideMiddle2.json",
"static_callcodecallcall_100_OOGMBefore.json",
"static_CREATE_ContractSuicideDuringInit_WithValue.json",
"modexp_3_09984_39936_1000000.json",
"static_callcallcall_000_OOGMBefore.json",
"ecmul_0-0_1_21000_96.json",
"static_callcallcall_000_SuicideMiddle.json",
"modexp_49_2401_2401_1000000.json",
"ecadd_0-0_1-3_21000_128.json",
"ecmul_0-0_9_21000_96.json",
"static_callcodecall_10_OOGE.json",
"static_callcallcall_000_OOGMAfter2.json",
"ecmul_1-2_2_21000_128.json",
"static_RETURN_Bounds.json",
"static_callToCallOpCodeCheck.json",
"static_callcallcall_000.json",
"RevertOnEmptyStack.json",
"ZeroValue_TransactionCALLwithData_ToOneStorageKey_OOGRevert.json",
"ecmul_1-3_340282366920938463463374607431768211456_21000_80.json",
"ecmul_0-0_0_28000_96.json",
"static_callcallcodecall_010_SuicideEnd.json",
"static_callcall_00_SuicideEnd.json",
"ecmul_1-2_340282366920938463463374607431768211456_21000_96.json",
"ecmul_0-0_9_21000_128.json",
"ecmul_0-0_5617_28000_96.json",
"ecmul_0-3_0_21000_128.json",
"static_callWithHighValue.json",
"ecmul_7827-6598_9935_28000_96.json",
"modexp_3_28948_11579_20500.json",
"ecmul_0-0_0_21000_96.json",
"modexp_49_2401_2401_155000.json",
"ecmul_1-2_340282366920938463463374607431768211456_21000_128.json",
"ecmul_1-3_0_21000_96.json",
"ecmul_0-0_5616_21000_128.json",
"static_CallRecursiveBomb1.json",
"ecadd_1-2_0-0_25000_128.json",
"ecmul_7827-6598_0_28000_64.json",
"ecmul_7827-6598_1_28000_128.json",
"ecmul_0-3_1_21000_96.json",
"ecmul_0-0_340282366920938463463374607431768211456_28000_96.json",
"ecmul_0-3_5616_21000_96.json",
"ecmul_0-3_340282366920938463463374607431768211456_21000_96.json",
"ZeroValue_TransactionCALLwithData_ToEmpty_OOGRevert.json",
"static_callcallcallcode_ABCB_RECURSIVE2.json",
"ecpairing_perturb_g2_by_one.json",
"txCost-sec73.json",
"ecmul_1-3_0_21000_80.json",
"ecadd_1-2_1-2_21000_192.json",
"ecmul_0-0_2_28000_128.json",
"ecmul_0-0_340282366920938463463374607431768211456_21000_96.json",
"static_callcallcodecall_010_OOGMAfter_2.json",
"modexp_55190_55190_42965_1000000.json",
"static_callCreate2.json",
"static_callcodecallcall_100_OOGE.json",
"static_CallEcrecover0_0input.json",
"ecmul_1-2_340282366920938463463374607431768211456_21000_80.json",
"ecmul_1-3_9935_28000_128.json",
"static_callcall_00.json",
"ecmul_7827-6598_0_21000_64.json",
"returndatacopy_after_successful_delegatecall.json",
"ecpairing_empty_data.json",
"static_callcodecallcall_100_SuicideEnd2.json",
"static_callToCallCodeOpCodeCheck.json",
"static_Call50000bytesContract50_1.json",
"ecmul_0-0_1_28000_128.json",
"modexp_55190_55190_42965_35000.json",
"static_callcodecall_10.json",
"ecmul_1-2_5616_28000_128.json",
"RevertInDelegateCall.json",
"static_log0_emptyMem.json",
"static_callcodecallcall_100_OOGE2.json",
"static_CallRecursiveBomb3.json",
"ecmul_0-3_1_28000_128.json",
"returndatacopy_afterFailing_create.json",
"CreateOOGafterInitCodeRevert2.json",
"ecmul_1-2_0_28000_80.json",
"static_Call1024BalanceTooLow2.json",
"modexp_3_5_100_20500.json",
"static_callcallcallcode_001_OOGMAfter2.json",
"static_callcallcallcode_001_SuicideEnd2.json",
"static_callcallcodecall_010_2.json",
"static_log1_logMemStartTooHigh.json",
"static_log1_logMemsizeTooHigh.json",
"ZeroValue_TransactionCALL_ToEmpty_OOGRevert.json",
"ecmul_1-2_5617_28000_128.json",
"ecadd_0-3_1-2_21000_128.json",
"returndatacopy_after_successful_callcode.json",
"static_callcallcode_01_OOGE_2.json",
"callcodeOutput3partialFail.json",
"ecmul_1-3_1_21000_128.json",
"static_callcodecallcallcode_101_SuicideMiddle2.json",
"ecmul_1-3_1_28000_96.json",
"ecmul_1-3_9935_21000_128.json",
"ecmul_7827-6598_5616_21000_96.json",
"ecadd_1-2_0-0_21000_128.json",
"ecmul_0-0_5616_28000_128.json",
"ecadd_1145-3932_1145-4651_25000_192.json",
"ecmul_0-3_5616_28000_96.json",
"static_callcodecallcallcode_ABCB_RECURSIVE.json",
"ecmul_1-2_2_21000_96.json",
"ecmul_7827-6598_9_28000_96.json",
"static_callcallcodecallcode_011_OOGMBefore.json",
"ecmul_0-0_5616_21000_96.json",
"ecmul_1-3_5617_21000_96.json",
"returndatasize_initial_zero_read.json",
"static_ABAcalls0.json",
"ecpairing_perturb_zeropoint_by_one.json",
"ecmul_0-0_340282366920938463463374607431768211456_21000_128.json",
"static_Call50000bytesContract50_2.json",
"ecmul_1-3_5616_21000_96.json",
"ecmul_1-2_0_21000_96.json",
"modexp_39936_1_55201_35000.json",
"ecpairing_perturb_g2_by_curve_order.json",
"RevertOpcodeCreate.json",
"static_ABAcalls2.json",
"static_callBasic.json",
"static_callcallcodecallcode_011_OOGMBefore2.json",
"ecadd_1-2_1-2_25000_192.json",
"static_callcallcall_ABCB_RECURSIVE.json",
"ecmul_0-0_9_28000_96.json",
"static_callcodecall_10_2.json",
"static_refund_CallToSuicideNoStorage.json",
"ecmul_7827-6598_2_28000_96.json",
"ecpairing_two_point_match_3.json",
"ecpairing_bad_length_193.json",
"ecmul_7827-6598_9935_28000_128.json",
"ecpairing_two_point_match_2.json",
"ecmul_1-3_0_28000_64.json",
"randomStatetest642.json",
"static_ABAcallsSuicide0.json",
"static_callcallcodecall_010_OOGMAfter_3.json",
"callOutput3partialFail.json",
"ecpairing_three_point_fail_1.json",
"static_callcallcodecall_010_SuicideMiddle.json",
"static_callcallcallcode_001_2.json",
"static_callcodecallcodecall_110_OOGE2.json",
"ecmul_1-3_5617_28000_128.json",
"static_refund_CallA.json",
"static_Call1MB1024Calldepth.json",
"ecadd_1-2_1-2_21000_128.json",
"ecmul_7827-6598_9935_21000_128.json",
"ecmul_0-0_9935_28000_96.json",
"callcodeOutput3partial.json",
"ecmul_0-3_340282366920938463463374607431768211456_28000_80.json",
"ecmul_1-3_0_28000_80.json",
"ecadd_6-9_19274124-124124_25000_128.json",
"ecadd_0-0_0-0_21000_80.json",
"ecmul_0-0_0_21000_64.json",
"static_callcallcode_01_SuicideEnd2.json",
"ecmul_0-0_0_28000_80.json",
"ecmul_0-0_2_21000_96.json",
"ecmul_0-3_0_21000_96.json",
"RevertOpcodeMultipleSubCalls.json",
"modexp_39936_1_55201_155000.json",
"static_callToStaticOpCodeCheck.json",
"ecmul_0-0_340282366920938463463374607431768211456_21000_80.json",
"static_CallAskMoreGasOnDepth2ThenTransactionHas.json",
"static_callcodecallcallcode_101_OOGMAfter_3.json",
"ecmul_1-2_9935_28000_96.json",
"static_callcallcallcode_001.json",
"ecmul_0-0_0_28000_0.json",
"ecadd_1-3_0-0_21000_80.json",
"ecadd_0-0_0-0_21000_0.json",
"modexp_49_2401_2401_35000.json",
"sha3_deja.json",
"staticcall_createfails.json",
"static_callcall_00_OOGE_1.json",
"callcodeOutput1.json",
"static_callcallcodecallcode_011_OOGMAfter2.json",
"static_callcodecallcodecall_110.json",
"ecmul_0-0_340282366920938463463374607431768211456_28000_128.json",
"ecmul_1-2_0_28000_96.json",
"static_callcallcodecall_ABCB_RECURSIVE2.json",
"static_CheckOpcodes4.json",
"static_callcodecallcallcode_101_2.json",
"static_callWithHighValueOOGinCall.json",
"static_PostToReturn1.json",
"static_refund_CallToSuicideTwice.json",
"ecadd_0-0_0-0_21000_128.json",
"static_ABAcallsSuicide1.json",
"ecmul_1-3_340282366920938463463374607431768211456_28000_96.json",
"ecmul_1-2_9935_28000_128.json",
"ecpairing_one_point_with_g1_zero.json",
"static_log0_logMemsizeTooHigh.json",
"ecmul_0-0_0_21000_80.json",
"static_ReturnTest.json",
"RevertOpcodeCalls.json",
"static_RawCallGasAsk.json",
"static_callcallcodecall_010.json",
"static_callcodecallcallcode_101_OOGMBefore2.json",
"static_callcodecallcall_100_SuicideMiddle.json",
"static_log1_MaxTopic.json",
"ecadd_1-2_0-0_25000_192.json",
"returndatacopy_following_revert.json",
"static_callcallcode_01_SuicideEnd.json",
"ecmul_1-3_5617_28000_96.json",
"modexp_39936_1_55201_25000.json",
"ecmul_1-2_0_21000_64.json",
"modexp_37120_37111_97_1000000.json",
"ecmul_1-3_340282366920938463463374607431768211456_21000_128.json",
"static_callcallcallcode_001_SuicideEnd.json",
"static_callcodecallcallcode_101_OOGMBefore.json",
"ecpairing_two_point_match_5.json",
"callcodeOutput3.json",
"ecmul_7827-6598_0_21000_96.json",
"-TOTA",
"ecmul_7827-6598_5616_21000_128.json",
"returndatasize_after_failing_staticcall.json",
"static_CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json",
"ecadd_1-2_1-2_25000_128.json",
"static_callcallcodecallcode_011.json",
"static_callcallcallcode_001_OOGE.json",
"ecpairing_perturb_g2_by_field_modulus_again.json",
"ecmul_0-3_5617_28000_128.json",
"static_callcodecallcallcode_101_OOGE_2.json",
"static_CREATE_ContractSuicideDuringInit.json",
"returndatasize_after_successful_staticcall.json",
"static_callcodecallcallcode_101_SuicideEnd.json",
"callOutput3.json",
"ecmul_0-3_340282366920938463463374607431768211456_21000_128.json",
"ecmul_0-3_0_21000_64.json",
"ecmul_1-2_9_28000_128.json",
"ecadd_0-0_0-0_25000_192.json",
"static_CallRecursiveBombLog2.json",
"ecmul_0-0_2_21000_128.json",
"modexp_3_5_100_155000.json",
"returndatacopy_after_successful_staticcall.json",
"ecmul_1-3_0_28000_128.json",
"static_CallToNameRegistrator0.json",
"static_callcallcallcode_001_OOGE_2.json",
"ecmul_0-3_0_21000_80.json",
"ecmul_1-3_9935_21000_96.json",
"ecmul_0-3_0_28000_96.json",
"static_ABAcalls1.json",
"static_callcallcallcode_001_OOGMAfter_2.json",
"static_callcallcallcode_001_OOGMBefore.json",
"ecmul_1-3_2_21000_128.json",
"ecmul_7827-6598_1_21000_96.json",
"ecpairing_empty_data_insufficient_gas.json",
"static_CallContractToCreateContractWhichWouldCreateContractIfCalled.json",
"static_callcallcodecallcode_011_SuicideEnd.json",
"CreateOOGafterInitCodeRevert.json",
"ecmul_0-0_1_28000_96.json",
"RevertOpcode.json",
"ecmul_0-3_5616_21000_128.json",
"ecmul_1-2_9_21000_96.json",
"ecmul_7827-6598_1456_21000_128.json",
"callOutput1.json",
"ecmul_0-3_0_28000_80.json",
"static_callcodecallcallcode_101_SuicideMiddle.json",
"ecmul_7827-6598_9_21000_128.json",
"static_calldelcode_01_OOGE.json",
"CreateOOGafterInitCodeReturndataSize.json",
"static_callcodecallcallcode_101_OOGE.json",
"ecmul_0-0_0_28000_128.json",
"RevertOpcodeInInit.json",
"static_callcodecallcall_100.json",
"ecmul_1-2_1_21000_96.json",
"static_CallRecursiveBombLog.json",
"static_ExecuteCallThatAskForeGasThenTrabsactionHas.json",
"static_callcodecallcodecallcode_111_SuicideEnd.json",
"static_callcodecallcall_ABCB_RECURSIVE2.json",
"static_calldelcode_01.json",
"ecmul_1-3_0_21000_128.json",
"ecpairing_bad_length_191.json",
"static_callcallcodecall_010_OOGMBefore2.json",
"ecmul_7827-6598_5617_21000_128.json",
"static_CALL_OneVCallSuicide.json",
"static_callcallcodecallcode_ABCB_RECURSIVE.json",
"ecpairing_one_point_not_in_subgroup.json",
"ecpairing_two_points_with_one_g2_zero.json",
"ecadd_1-2_0-0_25000_64.json",
"ecmul_0-0_0_28000_40.json",
"static_CallRecursiveBomb0.json",
"ecmul_1-3_9_21000_96.json",
"ecadd_0-0_0-0_25000_128.json",
"ecmul_1-3_340282366920938463463374607431768211456_28000_128.json",
"static_callcodecallcallcode_101.json",
"static_CALL_ZeroVCallSuicide.json",
"static_log1_logMemsizeZero.json",
"pointAdd.json",
"pairingTest.json",
"static_ABAcalls3.json",
"ecpairing_one_point_fail.json",
"modexp_39936_1_55201_22000.json",
"ecadd_0-0_1-2_21000_128.json",
"ecmul_1-2_1_21000_128.json",
"ecmul_1-2_340282366920938463463374607431768211456_28000_96.json",
"ecmul_0-3_2_28000_96.json",
"ecmul_1-2_0_21000_128.json",
"ecmul_7827-6598_0_21000_128.json",
"ecmul_0-0_340282366920938463463374607431768211456_28000_80.json",
"ecpairing_two_point_fail_2.json",
"ecmul_1-2_9_21000_128.json",
"ecmul_1-3_9_28000_96.json",
"ecpairing_perturb_zeropoint_by_field_modulus.json",
"static_callcallcall_000_OOGE.json",
"static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json",
"ecmul_0-3_9935_28000_128.json",
"callcodeOutput3Fail.json",
"static_LoopCallsDepthThenRevert2.json",
"ecmul_0-3_9_21000_96.json",
"modexp_37120_37111_37111_1000000.json",
"ecmul_1-2_5617_21000_128.json",
"RevertOpcodeInCreateReturns.json",
"modexp_modsize0_returndatasize.json",
"static_log0_logMemsizeZero.json",
"static_Call1024BalanceTooLow.json",
"ecmul_1-3_5616_21000_128.json",
"ecmul_0-3_5617_28000_96.json",
"ZeroValue_TransactionCALL_ToOneStorageKey_OOGRevert.json",
"ecmul_1-3_340282366920938463463374607431768211456_21000_96.json",
"static_callcallcode_01_2.json",
"RevertOpcodeWithBigOutputInInit.json",
"ecmul_1-3_5616_28000_96.json",
"ecmul_1-3_2_28000_128.json",
"static_callcodecallcodecall_110_SuicideEnd.json",
"ecpairing_two_point_match_1.json",
"delegatecallNonConst.json",
"static_callCreate.json",
"static_callWithHighValueAndGasOOG.json",
"static_callcodecallcall_100_OOGMBefore2.json",
"static_callcallcodecall_010_OOGMAfter.json",
"ecmul_7827-6598_5616_28000_96.json",
"ecmul_0-3_340282366920938463463374607431768211456_21000_80.json",
# byzantium slow
"LoopCallsDepthThenRevert3.json",
"LoopCallsDepthThenRevert2.json",
"LoopCallsDepthThenRevert.json",
"static_Call50000.json",
"static_Call50000_ecrec.json",
"static_Call50000_identity.json",
"static_Call50000_identity2.json",
"static_Call50000_rip160.json",
"static_Call50000_sha256.json",
"LoopCallsThenRevert.json",
"LoopDelegateCallsDepthThenRevert.json",
"recursiveCreateReturnValue.json",
"static_Call1024PreCalls2.json",
"Callcode1024BalanceTooLow.json",
# Homestead recursives
#["ContractCreationSpam.json",
"ContractCreationSpam.json",
"Call1024OOG.json",
"Call1024PreCalls.json",
"CallRecursiveBombPreCall.json",
@ -42,6 +621,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"callcodecallcallcode_ABCB_RECURSIVE.json",
"callcodecallcodecall_ABCB_RECURSIVE.json",
"callcodecallcodecallcode_ABCB_RECURSIVE.json",
"callcallcallcode_ABCB_RECURSIVE.json",]#
"callcallcallcode_ABCB_RECURSIVE.json"
]
result = name in allowedFailingGeneralStateTests

View File

@ -24,7 +24,7 @@ const
FkByzantium: "Byzantium",
}.toTable
supportedForks* = {FkFrontier, FkHomestead, FkTangerine, FkSpurious}
supportedForks* = {FkFrontier, FkHomestead, FkTangerine, FkSpurious, FkByzantium}
type
Status* {.pure.} = enum OK, Fail, Skip