trade 3 failed GST with 17 OK GST

This commit is contained in:
andri lim 2019-02-19 20:15:21 +07:00 committed by zah
parent 0b9326f955
commit 8884627d07
2 changed files with 32 additions and 46 deletions

View File

@ -349,9 +349,9 @@ OK: 28/58 Fail: 0/58 Skip: 30/58
+ callcodecallcodecallcode_111_OOGMAfter_2.json OK + callcodecallcodecallcode_111_OOGMAfter_2.json OK
+ callcodecallcodecallcode_111_OOGMAfter_3.json OK + callcodecallcodecallcode_111_OOGMAfter_3.json OK
+ contractCreationMakeCallThatAskMoreGasThenTransactionProvided.jsonOK + contractCreationMakeCallThatAskMoreGasThenTransactionProvided.jsonOK
createInitFail_OOGduringInit.json Skip + createInitFail_OOGduringInit.json OK
``` ```
OK: 26/30 Fail: 0/30 Skip: 4/30 OK: 27/30 Fail: 0/30 Skip: 3/30
## stCodeCopyTest ## stCodeCopyTest
```diff ```diff
+ ExtCodeCopyTests.json OK + ExtCodeCopyTests.json OK
@ -374,16 +374,16 @@ OK: 3/3 Fail: 0/3 Skip: 0/3
CREATE_ContractSuicideDuringInit_WithValue.json Skip CREATE_ContractSuicideDuringInit_WithValue.json Skip
CREATE_ContractSuicideDuringInit_WithValueToItself.json Skip CREATE_ContractSuicideDuringInit_WithValueToItself.json Skip
CREATE_EContractCreateEContractInInit_Tr.json Skip CREATE_EContractCreateEContractInInit_Tr.json Skip
CREATE_EContractCreateNEContractInInitOOG_Tr.json Skip + CREATE_EContractCreateNEContractInInitOOG_Tr.json OK
CREATE_EContractCreateNEContractInInit_Tr.json Skip + CREATE_EContractCreateNEContractInInit_Tr.json OK
CREATE_EContract_ThenCALLToNonExistentAcc.json Skip CREATE_EContract_ThenCALLToNonExistentAcc.json Skip
CREATE_EmptyContract.json Skip CREATE_EmptyContract.json Skip
CREATE_EmptyContractAndCallIt_0wei.json Skip CREATE_EmptyContractAndCallIt_0wei.json Skip
CREATE_EmptyContractAndCallIt_1wei.json Skip CREATE_EmptyContractAndCallIt_1wei.json Skip
CREATE_EmptyContractWithBalance.json Skip CREATE_EmptyContractWithBalance.json Skip
CREATE_EmptyContractWithStorage.json Skip + CREATE_EmptyContractWithStorage.json OK
CREATE_EmptyContractWithStorageAndCallIt_0wei.json Skip + CREATE_EmptyContractWithStorageAndCallIt_0wei.json OK
CREATE_EmptyContractWithStorageAndCallIt_1wei.json Skip + CREATE_EmptyContractWithStorageAndCallIt_1wei.json OK
CREATE_empty000CreateinInitCode_Transaction.json Skip CREATE_empty000CreateinInitCode_Transaction.json Skip
CreateCollisionToEmpty.json Skip CreateCollisionToEmpty.json Skip
CreateOOGafterInitCode.json Skip CreateOOGafterInitCode.json Skip
@ -397,7 +397,7 @@ OK: 3/3 Fail: 0/3 Skip: 0/3
TransactionCollisionToEmptyButCode.json Skip TransactionCollisionToEmptyButCode.json Skip
TransactionCollisionToEmptyButNonce.json Skip TransactionCollisionToEmptyButNonce.json Skip
``` ```
OK: 2/30 Fail: 0/30 Skip: 28/30 OK: 7/30 Fail: 0/30 Skip: 23/30
## stDelegatecallTestHomestead ## stDelegatecallTestHomestead
```diff ```diff
Call1024BalanceTooLow.json Skip Call1024BalanceTooLow.json Skip
@ -472,7 +472,7 @@ OK: 0/13 Fail: 0/13 Skip: 13/13
+ RawCallGasValueTransferMemoryAsk.json OK + RawCallGasValueTransferMemoryAsk.json OK
+ RawCallMemoryGas.json OK + RawCallMemoryGas.json OK
+ RawCallMemoryGasAsk.json OK + RawCallMemoryGasAsk.json OK
+ RawCreateFailGasValueTransfer.json OK RawCreateFailGasValueTransfer.json Skip
RawCreateFailGasValueTransfer2.json Skip RawCreateFailGasValueTransfer2.json Skip
RawCreateGas.json Skip RawCreateGas.json Skip
RawCreateGasMemory.json Skip RawCreateGasMemory.json Skip
@ -486,7 +486,7 @@ OK: 0/13 Fail: 0/13 Skip: 13/13
+ RawExtCodeCopyMemoryGas.json OK + RawExtCodeCopyMemoryGas.json OK
+ RawExtCodeSizeGas.json OK + RawExtCodeSizeGas.json OK
``` ```
OK: 21/30 Fail: 0/30 Skip: 9/30 OK: 20/30 Fail: 0/30 Skip: 10/30
## stEIP158Specific ## stEIP158Specific
```diff ```diff
CALL_OneVCallSuicide.json Skip CALL_OneVCallSuicide.json Skip
@ -589,12 +589,12 @@ OK: 46/46 Fail: 0/46 Skip: 0/46
+ CallAskMoreGasOnDepth2ThenTransactionHasWithMemExpandingCalls.jsonOK + CallAskMoreGasOnDepth2ThenTransactionHasWithMemExpandingCalls.jsonOK
+ CallGoesOOGOnSecondLevel2WithMemExpandingCalls.json OK + CallGoesOOGOnSecondLevel2WithMemExpandingCalls.json OK
+ CallGoesOOGOnSecondLevelWithMemExpandingCalls.json OK + CallGoesOOGOnSecondLevelWithMemExpandingCalls.json OK
CreateAndGasInsideCreateWithMemExpandingCalls.json Skip + CreateAndGasInsideCreateWithMemExpandingCalls.json OK
+ DelegateCallOnEIPWithMemExpandingCalls.json OK + DelegateCallOnEIPWithMemExpandingCalls.json OK
+ ExecuteCallThatAskMoreGasThenTransactionHasWithMemExpandingCalls.jsonOK + ExecuteCallThatAskMoreGasThenTransactionHasWithMemExpandingCalls.jsonOK
NewGasPriceForCodesWithMemExpandingCalls.json Skip NewGasPriceForCodesWithMemExpandingCalls.json Skip
``` ```
OK: 6/8 Fail: 0/8 Skip: 2/8 OK: 7/8 Fail: 0/8 Skip: 1/8
## stMemoryStressTest ## stMemoryStressTest
```diff ```diff
CALLCODE_Bounds.json Skip CALLCODE_Bounds.json Skip
@ -1605,7 +1605,7 @@ OK: 33/37 Fail: 0/37 Skip: 4/37
+ RevertOnEmptyStack.json OK + RevertOnEmptyStack.json OK
+ RevertOpcode.json OK + RevertOpcode.json OK
RevertOpcodeCalls.json Skip RevertOpcodeCalls.json Skip
RevertOpcodeCreate.json Skip + RevertOpcodeCreate.json OK
RevertOpcodeDirectCall.json Skip RevertOpcodeDirectCall.json Skip
RevertOpcodeInCallsOnNonEmptyReturnData.json Skip RevertOpcodeInCallsOnNonEmptyReturnData.json Skip
+ RevertOpcodeInCreateReturns.json OK + RevertOpcodeInCreateReturns.json OK
@ -1625,14 +1625,14 @@ OK: 33/37 Fail: 0/37 Skip: 4/37
+ RevertPrefoundEmptyOOG.json OK + RevertPrefoundEmptyOOG.json OK
+ RevertPrefoundOOG.json OK + RevertPrefoundOOG.json OK
RevertRemoteSubCallStorageOOG.json Skip RevertRemoteSubCallStorageOOG.json Skip
RevertRemoteSubCallStorageOOG2.json Skip + RevertRemoteSubCallStorageOOG2.json OK
+ RevertSubCallStorageOOG.json OK + RevertSubCallStorageOOG.json OK
+ RevertSubCallStorageOOG2.json OK + RevertSubCallStorageOOG2.json OK
+ TouchToEmptyAccountRevert.json OK + TouchToEmptyAccountRevert.json OK
+ TouchToEmptyAccountRevert2.json OK + TouchToEmptyAccountRevert2.json OK
TouchToEmptyAccountRevert3.json Skip TouchToEmptyAccountRevert3.json Skip
``` ```
OK: 24/43 Fail: 0/43 Skip: 19/43 OK: 26/43 Fail: 0/43 Skip: 17/43
## stShift ## stShift
```diff ```diff
sar00.json Skip sar00.json Skip
@ -1681,14 +1681,14 @@ OK: 38/40 Fail: 0/40 Skip: 2/40
```diff ```diff
+ AmbiguousMethod.json OK + AmbiguousMethod.json OK
+ CallInfiniteLoop.json OK + CallInfiniteLoop.json OK
CallLowLevelCreatesSolidity.json Skip + CallLowLevelCreatesSolidity.json OK
+ CallRecursiveMethods.json OK + CallRecursiveMethods.json OK
ContractInheritance.json Skip + ContractInheritance.json OK
CreateContractFromMethod.json Skip + CreateContractFromMethod.json OK
RecursiveCreateContracts.json Skip RecursiveCreateContracts.json Skip
RecursiveCreateContractsCreate4Contracts.json Skip RecursiveCreateContractsCreate4Contracts.json Skip
+ TestBlockAndTransactionProperties.json OK + TestBlockAndTransactionProperties.json OK
TestContractInteraction.json Skip + TestContractInteraction.json OK
TestContractSuicide.json Skip TestContractSuicide.json Skip
TestCryptographicFunctions.json Skip TestCryptographicFunctions.json Skip
+ TestKeywords.json OK + TestKeywords.json OK
@ -1696,7 +1696,7 @@ OK: 38/40 Fail: 0/40 Skip: 2/40
+ TestStoreGasPrices.json OK + TestStoreGasPrices.json OK
+ TestStructuresAndVariabless.json OK + TestStructuresAndVariabless.json OK
``` ```
OK: 8/16 Fail: 0/16 Skip: 8/16 OK: 12/16 Fail: 0/16 Skip: 4/16
## stSpecialTest ## stSpecialTest
```diff ```diff
+ FailedCreateRevertsDeletion.json OK + FailedCreateRevertsDeletion.json OK
@ -2026,7 +2026,7 @@ OK: 0/284 Fail: 0/284 Skip: 284/284
CallRecursiveBomb0_OOG_atMaxCallDepth.json Skip CallRecursiveBomb0_OOG_atMaxCallDepth.json Skip
CallRecursiveBomb1.json Skip CallRecursiveBomb1.json Skip
CallRecursiveBomb2.json Skip CallRecursiveBomb2.json Skip
CallRecursiveBomb3.json Skip + CallRecursiveBomb3.json OK
CallRecursiveBombLog.json Skip CallRecursiveBombLog.json Skip
CallRecursiveBombLog2.json Skip CallRecursiveBombLog2.json Skip
+ CallToNameRegistrator0.json OK + CallToNameRegistrator0.json OK
@ -2057,10 +2057,10 @@ OK: 0/284 Fail: 0/284 Skip: 284/284
callcodeToReturn1.json Skip callcodeToReturn1.json Skip
+ callerAccountBalance.json OK + callerAccountBalance.json OK
createNameRegistrator.json Skip createNameRegistrator.json Skip
+ createNameRegistratorOOG_MemExpansionOOV.json OK createNameRegistratorOOG_MemExpansionOOV.json Skip
createNameRegistratorOutOfMemoryBonds0.json Skip createNameRegistratorOutOfMemoryBonds0.json Skip
+ createNameRegistratorOutOfMemoryBonds1.json OK createNameRegistratorOutOfMemoryBonds1.json Skip
createNameRegistratorValueTooHigh.json Skip + createNameRegistratorValueTooHigh.json OK
createNameRegistratorZeroMem.json Skip createNameRegistratorZeroMem.json Skip
createNameRegistratorZeroMem2.json Skip createNameRegistratorZeroMem2.json Skip
createNameRegistratorZeroMemExpansion.json Skip createNameRegistratorZeroMemExpansion.json Skip
@ -2089,7 +2089,7 @@ OK: 40/67 Fail: 0/67 Skip: 27/67
+ ContractStoreClearsOOG.json OK + ContractStoreClearsOOG.json OK
+ ContractStoreClearsSuccess.json OK + ContractStoreClearsSuccess.json OK
+ CreateMessageReverted.json OK + CreateMessageReverted.json OK
CreateMessageSuccess.json Skip + CreateMessageSuccess.json OK
+ CreateTransactionReverted.json OK + CreateTransactionReverted.json OK
+ CreateTransactionSuccess.json OK + CreateTransactionSuccess.json OK
+ EmptyTransaction.json OK + EmptyTransaction.json OK
@ -2108,7 +2108,7 @@ OK: 40/67 Fail: 0/67 Skip: 27/67
+ RefundOverflow2.json OK + RefundOverflow2.json OK
+ StoreClearsAndInternlCallStoreClearsOOG.json OK + StoreClearsAndInternlCallStoreClearsOOG.json OK
+ StoreClearsAndInternlCallStoreClearsSuccess.json OK + StoreClearsAndInternlCallStoreClearsSuccess.json OK
StoreGasOnCreate.json Skip + StoreGasOnCreate.json OK
SuicidesAndInternlCallSuicidesBonusGasAtCall.json Skip SuicidesAndInternlCallSuicidesBonusGasAtCall.json Skip
+ SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json OK + SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json OK
+ SuicidesAndInternlCallSuicidesOOG.json OK + SuicidesAndInternlCallSuicidesOOG.json OK
@ -2131,7 +2131,7 @@ OK: 40/67 Fail: 0/67 Skip: 27/67
+ UserTransactionZeroCost.json OK + UserTransactionZeroCost.json OK
+ UserTransactionZeroCostWithData.json OK + UserTransactionZeroCostWithData.json OK
``` ```
OK: 34/44 Fail: 0/44 Skip: 10/44 OK: 36/44 Fail: 0/44 Skip: 8/44
## stTransitionTest ## stTransitionTest
```diff ```diff
+ createNameRegistratorPerTxsAfter.json OK + createNameRegistratorPerTxsAfter.json OK
@ -2520,4 +2520,4 @@ OK: 0/133 Fail: 0/133 Skip: 133/133
OK: 0/130 Fail: 0/130 Skip: 130/130 OK: 0/130 Fail: 0/130 Skip: 130/130
---TOTAL--- ---TOTAL---
OK: 1082/2334 Fail: 0/2334 Skip: 1252/2334 OK: 1096/2334 Fail: 0/2334 Skip: 1238/2334

View File

@ -42,23 +42,17 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"callcodecallcodecallcode_111.json", "callcodecallcodecallcode_111.json",
"callcodecallcodecallcode_111_SuicideEnd.json", "callcodecallcodecallcode_111_SuicideEnd.json",
"callcodecallcodecallcode_111_SuicideMiddle.json", "callcodecallcodecallcode_111_SuicideMiddle.json",
"createInitFail_OOGduringInit.json",
"CREATE_AcreateB_BSuicide_BStore.json", "CREATE_AcreateB_BSuicide_BStore.json",
"CREATE_ContractSuicideDuringInit.json", "CREATE_ContractSuicideDuringInit.json",
"CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json", "CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json",
"CREATE_ContractSuicideDuringInit_WithValue.json", "CREATE_ContractSuicideDuringInit_WithValue.json",
"CREATE_ContractSuicideDuringInit_WithValueToItself.json", "CREATE_ContractSuicideDuringInit_WithValueToItself.json",
"CREATE_EContractCreateEContractInInit_Tr.json", "CREATE_EContractCreateEContractInInit_Tr.json",
"CREATE_EContractCreateNEContractInInitOOG_Tr.json",
"CREATE_EContractCreateNEContractInInit_Tr.json",
"CREATE_EContract_ThenCALLToNonExistentAcc.json", "CREATE_EContract_ThenCALLToNonExistentAcc.json",
"CREATE_EmptyContract.json", "CREATE_EmptyContract.json",
"CREATE_EmptyContractAndCallIt_0wei.json", "CREATE_EmptyContractAndCallIt_0wei.json",
"CREATE_EmptyContractAndCallIt_1wei.json", "CREATE_EmptyContractAndCallIt_1wei.json",
"CREATE_EmptyContractWithBalance.json", "CREATE_EmptyContractWithBalance.json",
"CREATE_EmptyContractWithStorage.json",
"CREATE_EmptyContractWithStorageAndCallIt_0wei.json",
"CREATE_EmptyContractWithStorageAndCallIt_1wei.json",
"CREATE_empty000CreateinInitCode_Transaction.json", "CREATE_empty000CreateinInitCode_Transaction.json",
"CreateCollisionToEmpty.json", "CreateCollisionToEmpty.json",
"TransactionCollisionToEmptyButCode.json", "TransactionCollisionToEmptyButCode.json",
@ -114,7 +108,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"OutOfGasContractCreation.json", "OutOfGasContractCreation.json",
"OutOfGasPrefundedContractCreation.json", "OutOfGasPrefundedContractCreation.json",
"TransactionCreateAutoSuicideContract.json", "TransactionCreateAutoSuicideContract.json",
"CreateAndGasInsideCreateWithMemExpandingCalls.json",
"NewGasPriceForCodesWithMemExpandingCalls.json", "NewGasPriceForCodesWithMemExpandingCalls.json",
"callDataCopyOffset.json", "callDataCopyOffset.json",
"codeCopyOffset.json", "codeCopyOffset.json",
@ -168,7 +161,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"refund_singleSuicide.json", "refund_singleSuicide.json",
"RevertDepthCreateAddressCollision.json", "RevertDepthCreateAddressCollision.json",
"RevertOpcodeCalls.json", "RevertOpcodeCalls.json",
"RevertOpcodeCreate.json",
"RevertOpcodeDirectCall.json", "RevertOpcodeDirectCall.json",
"RevertOpcodeInCallsOnNonEmptyReturnData.json", "RevertOpcodeInCallsOnNonEmptyReturnData.json",
"RevertOpcodeInInit.json", "RevertOpcodeInInit.json",
@ -178,14 +170,9 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"RevertPrefound.json", "RevertPrefound.json",
"RevertPrefoundEmpty.json", "RevertPrefoundEmpty.json",
"RevertRemoteSubCallStorageOOG.json", "RevertRemoteSubCallStorageOOG.json",
"RevertRemoteSubCallStorageOOG2.json",
"TouchToEmptyAccountRevert3.json", "TouchToEmptyAccountRevert3.json",
"CallLowLevelCreatesSolidity.json",
"ContractInheritance.json",
"CreateContractFromMethod.json",
"RecursiveCreateContracts.json", "RecursiveCreateContracts.json",
"RecursiveCreateContractsCreate4Contracts.json", "RecursiveCreateContractsCreate4Contracts.json",
"TestContractInteraction.json",
"TestContractSuicide.json", "TestContractSuicide.json",
"TestCryptographicFunctions.json", "TestCryptographicFunctions.json",
"JUMPDEST_Attack.json", "JUMPDEST_Attack.json",
@ -207,7 +194,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"callcodeToReturn1.json", "callcodeToReturn1.json",
"createNameRegistrator.json", "createNameRegistrator.json",
"createNameRegistratorOutOfMemoryBonds0.json", "createNameRegistratorOutOfMemoryBonds0.json",
"createNameRegistratorValueTooHigh.json",
"createNameRegistratorZeroMem.json", "createNameRegistratorZeroMem.json",
"createNameRegistratorZeroMem2.json", "createNameRegistratorZeroMem2.json",
"createNameRegistratorZeroMemExpansion.json", "createNameRegistratorZeroMemExpansion.json",
@ -215,11 +201,9 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"suicideCoinbase.json", "suicideCoinbase.json",
"suicideSendEtherPostDeath.json", "suicideSendEtherPostDeath.json",
"testRandomTest.json", "testRandomTest.json",
"CreateMessageSuccess.json",
"EmptyTransaction2.json", "EmptyTransaction2.json",
"EmptyTransaction3.json", "EmptyTransaction3.json",
"Opcodes_TransactionInit.json", "Opcodes_TransactionInit.json",
"StoreGasOnCreate.json",
"SuicidesAndInternlCallSuicidesBonusGasAtCall.json", "SuicidesAndInternlCallSuicidesBonusGasAtCall.json",
"SuicidesAndInternlCallSuicidesSuccess.json", "SuicidesAndInternlCallSuicidesSuccess.json",
"SuicidesMixingCoinbase.json", "SuicidesMixingCoinbase.json",
@ -238,7 +222,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"pointMulAdd2.json", "pointMulAdd2.json",
# 2018-12-07: # 2018-12-07:
"delegatecallInInitcodeToExistingContractOOG.json", "delegatecallInInitcodeToExistingContractOOG.json",
"CallRecursiveBomb3.json",
# 2019-02-07: # 2019-02-07:
"call_ecrec_success_empty_then_returndatasize.json", "call_ecrec_success_empty_then_returndatasize.json",
"makeMoney.json", "makeMoney.json",
@ -254,6 +237,9 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"callcallcodecall_ABCB_RECURSIVE.json", "callcallcodecall_ABCB_RECURSIVE.json",
"callcallcodecallcode_ABCB_RECURSIVE.json", "callcallcodecallcode_ABCB_RECURSIVE.json",
"Call1024BalanceTooLow.json", "Call1024BalanceTooLow.json",
"callcallcallcode_001_OOGE.json" "callcallcallcode_001_OOGE.json",
"RawCreateFailGasValueTransfer.json",
"createNameRegistratorOOG_MemExpansionOOV.json",
"createNameRegistratorOutOfMemoryBonds1.json"
] ]
result = name in allowedFailingGeneralStateTests result = name in allowedFailingGeneralStateTests