nimbus-eth1/BlockchainTests.md

408 lines
23 KiB
Markdown
Raw Normal View History

2019-09-03 15:06:43 +00:00
BlockchainTests
===
## BlockchainTests
```diff
+ randomStatetest391.json OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## bcBlockGasLimitTest
```diff
+ BlockGasLimit2p63m1.json OK
+ GasUsedHigherThanBlockGasLimitButNotWithRefundsSuicideFirst.jsonOK
+ GasUsedHigherThanBlockGasLimitButNotWithRefundsSuicideLast.json OK
+ SuicideTransaction.json OK
+ TransactionGasHigherThanLimit2p63m1.json OK
+ TransactionGasHigherThanLimit2p63m1_2.json OK
```
OK: 6/6 Fail: 0/6 Skip: 0/6
## bcByzantiumToConstantinopleFix
```diff
+ ConstantinopleFixTransition.json OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## bcEIP158ToByzantium
```diff
+ ByzantiumTransition.json OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## bcExploitTest
```diff
+ DelegateCallSpam.json OK
+ ShanghaiLove.json OK
+ StrangeContractCreation.json OK
SuicideIssue.json Skip
```
OK: 3/4 Fail: 0/4 Skip: 1/4
## bcForgedTest
```diff
+ bcForkBlockTest.json OK
2019-09-09 06:11:09 +00:00
+ bcForkUncle.json OK
2019-09-03 15:06:43 +00:00
+ bcInvalidRLPTest.json OK
```
2019-09-09 06:11:09 +00:00
OK: 3/3 Fail: 0/3 Skip: 0/3
2019-09-03 15:06:43 +00:00
## bcForkStressTest
```diff
+ AmIOnEIP150.json OK
+ ForkStressTest.json OK
```
OK: 2/2 Fail: 0/2 Skip: 0/2
## bcFrontierToHomestead
```diff
+ CallContractThatCreateContractBeforeAndAfterSwitchover.json OK
+ ContractCreationFailsOnHomestead.json OK
2019-09-09 05:27:48 +00:00
HomesteadOverrideFrontier.json Skip
2019-09-03 15:06:43 +00:00
+ UncleFromFrontierInHomestead.json OK
+ UnclePopulation.json OK
2019-09-09 05:27:48 +00:00
blockChainFrontierWithLargerTDvsHomesteadBlockchain.json Skip
blockChainFrontierWithLargerTDvsHomesteadBlockchain2.json Skip
2019-09-03 15:06:43 +00:00
```
2019-09-09 05:27:48 +00:00
OK: 4/7 Fail: 0/7 Skip: 3/7
2019-09-03 15:06:43 +00:00
## bcGasPricerTest
```diff
+ RPC_API_Test.json OK
+ highGasUsage.json OK
+ notxs.json OK
```
OK: 3/3 Fail: 0/3 Skip: 0/3
## bcHomesteadToDao
```diff
+ DaoTransactions.json OK
+ DaoTransactions_EmptyTransactionAndForkBlocksAhead.json OK
+ DaoTransactions_UncleExtradata.json OK
+ DaoTransactions_XBlockm1.json OK
```
OK: 4/4 Fail: 0/4 Skip: 0/4
## bcHomesteadToEIP150
```diff
+ EIP150Transition.json OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## bcInvalidHeaderTest
```diff
2019-09-09 06:11:09 +00:00
+ DifferentExtraData1025.json OK
2019-09-23 14:35:48 +00:00
+ DifficultyIsZero.json OK
2019-09-09 06:11:09 +00:00
+ ExtraData1024.json OK
+ ExtraData33.json OK
+ GasLimitHigherThan2p63m1.json OK
+ GasLimitIsZero.json OK
+ log1_wrongBlockNumber.json OK
2019-09-03 15:06:43 +00:00
+ log1_wrongBloom.json OK
+ timeDiff0.json OK
+ wrongCoinbase.json OK
2019-09-23 14:35:48 +00:00
+ wrongDifficulty.json OK
2019-09-09 06:11:09 +00:00
+ wrongGasLimit.json OK
2019-09-09 06:24:42 +00:00
+ wrongGasUsed.json OK
2019-09-23 14:35:48 +00:00
+ wrongMixHash.json OK
+ wrongNonce.json OK
2019-09-09 06:11:09 +00:00
+ wrongNumber.json OK
2019-09-03 15:06:43 +00:00
+ wrongParentHash.json OK
+ wrongParentHash2.json OK
+ wrongReceiptTrie.json OK
+ wrongStateRoot.json OK
+ wrongTimestamp.json OK
+ wrongTransactionsTrie.json OK
+ wrongUncleHash.json OK
```
2019-09-23 14:35:48 +00:00
OK: 23/23 Fail: 0/23 Skip: 0/23
2019-09-03 15:06:43 +00:00
## bcMultiChainTest
```diff
+ CallContractFromNotBestBlock.json OK
+ ChainAtoChainB.json OK
+ ChainAtoChainBCallContractFormA.json OK
+ ChainAtoChainB_BlockHash.json OK
+ ChainAtoChainB_difficultyB.json OK
+ ChainAtoChainBtoChainA.json OK
+ ChainAtoChainBtoChainAtoChainB.json OK
+ UncleFromSideChain.json OK
```
OK: 8/8 Fail: 0/8 Skip: 0/8
## bcRandomBlockhashTest
```diff
+ randomStatetest109BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest113BC.json Skip
randomStatetest127BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest128BC.json OK
+ randomStatetest132BC.json OK
+ randomStatetest140BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest141BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest152BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest165BC.json Skip
randomStatetest168BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest181BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest182BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest186BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest193BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest203BC.json OK
+ randomStatetest213BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest218BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest21BC.json OK
+ randomStatetest224BC.json OK
+ randomStatetest234BC.json OK
+ randomStatetest235BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest239BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest240BC.json OK
+ randomStatetest253BC.json OK
+ randomStatetest255BC.json OK
+ randomStatetest256BC.json OK
+ randomStatetest258BC.json OK
+ randomStatetest262BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest272BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest277BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest284BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest289BC.json OK
+ randomStatetest314BC.json OK
+ randomStatetest317BC.json OK
+ randomStatetest319BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest330BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest331BC.json OK
+ randomStatetest344BC.json OK
+ randomStatetest34BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest35BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest373BC.json OK
+ randomStatetest374BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest390BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest392BC.json OK
+ randomStatetest394BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest400BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest403BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest40BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest427BC.json OK
+ randomStatetest431BC.json OK
+ randomStatetest432BC.json OK
+ randomStatetest434BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest44BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest453BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest459BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest463BC.json OK
+ randomStatetest479BC.json OK
+ randomStatetest486BC.json OK
+ randomStatetest490BC.json OK
+ randomStatetest492BC.json OK
+ randomStatetest515BC.json OK
+ randomStatetest522BC.json OK
+ randomStatetest529BC.json OK
+ randomStatetest530BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest540BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest551BC.json OK
+ randomStatetest557BC.json OK
+ randomStatetest561BC.json OK
+ randomStatetest568BC.json OK
+ randomStatetest56BC.json OK
+ randomStatetest570BC.json OK
+ randomStatetest590BC.json OK
+ randomStatetest591BC.json OK
+ randomStatetest593BC.json OK
+ randomStatetest595BC.json OK
+ randomStatetest598BC.json OK
+ randomStatetest606BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest613BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest614BC.json OK
+ randomStatetest617BC.json OK
+ randomStatetest61BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest622BC.json Skip
randomStatetest623BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest631BC.json OK
+ randomStatetest634BC.json OK
+ randomStatetest65BC.json OK
+ randomStatetest68BC.json OK
+ randomStatetest70BC.json OK
+ randomStatetest71BC.json OK
2019-09-07 10:09:23 +00:00
randomStatetest76BC.json Skip
randomStatetest79BC.json Skip
2019-09-03 15:06:43 +00:00
+ randomStatetest86BC.json OK
+ randomStatetest8BC.json OK
+ randomStatetest91BC.json OK
+ randomStatetest93BC.json OK
+ randomStatetest99BC.json OK
```
2019-09-07 10:09:23 +00:00
OK: 72/96 Fail: 0/96 Skip: 24/96
2019-09-03 15:06:43 +00:00
## bcStateTests
```diff
2019-09-07 10:09:23 +00:00
BLOCKHASH_Bounds.json Skip
2019-09-03 15:06:43 +00:00
+ BadStateRootTxBC.json OK
+ CreateTransactionReverted.json OK
+ EmptyTransaction.json OK
+ EmptyTransaction2.json OK
+ NotEnoughCashContractCreation.json OK
+ OOGStateCopyContainingDeletedContract.json OK
+ OverflowGasRequire.json OK
+ RefundOverflow.json OK
+ RefundOverflow2.json OK
2019-09-07 10:09:23 +00:00
SuicidesMixingCoinbase.json Skip
TransactionFromCoinbaseHittingBlockGasLimit1.json Skip
2019-09-03 15:06:43 +00:00
+ TransactionFromCoinbaseNotEnoughFounds.json OK
+ TransactionNonceCheck.json OK
+ TransactionNonceCheck2.json OK
+ TransactionToItselfNotEnoughFounds.json OK
+ UserTransactionGasLimitIsTooLowWhenZeroCost.json OK
+ UserTransactionZeroCost.json OK
+ UserTransactionZeroCost2.json OK
+ UserTransactionZeroCostWithData.json OK
+ ZeroValue_TransactionCALL_OOGRevert.json OK
+ ZeroValue_TransactionCALL_ToEmpty_OOGRevert.json OK
+ ZeroValue_TransactionCALL_ToNonZeroBalance_OOGRevert.json OK
+ ZeroValue_TransactionCALL_ToOneStorageKey_OOGRevert.json OK
+ ZeroValue_TransactionCALLwithData_OOGRevert.json OK
+ ZeroValue_TransactionCALLwithData_ToEmpty_OOGRevert.json OK
+ ZeroValue_TransactionCALLwithData_ToNonZeroBalance_OOGRevert.jsonOK
+ ZeroValue_TransactionCALLwithData_ToOneStorageKey_OOGRevert.jsonOK
+ blockhashNonConstArg.json OK
2019-09-07 10:09:23 +00:00
blockhashTests.json Skip
2019-09-03 15:06:43 +00:00
+ callcodeOutput1.json OK
+ callcodeOutput2.json OK
+ callcodeOutput3partial.json OK
+ create2collisionwithSelfdestructSameBlock.json OK
+ createNameRegistratorPerTxsNotEnoughGasAfter.json OK
+ createNameRegistratorPerTxsNotEnoughGasAt.json OK
+ createNameRegistratorPerTxsNotEnoughGasBefore.json OK
+ extCodeHashOfDeletedAccount.json OK
+ extCodeHashOfDeletedAccountDynamic.json OK
+ multimpleBalanceInstruction.json OK
2019-09-07 10:09:23 +00:00
randomStatetest123.json Skip
randomStatetest136.json Skip
randomStatetest160.json Skip
randomStatetest170.json Skip
randomStatetest223.json Skip
randomStatetest229.json Skip
randomStatetest241.json Skip
randomStatetest324.json Skip
randomStatetest328.json Skip
randomStatetest375.json Skip
randomStatetest377.json Skip
randomStatetest38.json Skip
randomStatetest441.json Skip
randomStatetest46.json Skip
randomStatetest549.json Skip
randomStatetest594.json Skip
randomStatetest619.json Skip
randomStatetest94.json Skip
2019-09-03 15:06:43 +00:00
+ simpleSuicide.json OK
2019-09-07 10:09:23 +00:00
suicideCoinbase.json Skip
suicideCoinbaseState.json Skip
2019-09-03 15:06:43 +00:00
+ suicideStorageCheck.json OK
+ suicideStorageCheckVCreate.json OK
+ suicideStorageCheckVCreate2.json OK
+ suicideThenCheckBalance.json OK
+ transactionFromNotExistingAccount.json OK
+ txCost-sec73.json OK
```
2019-09-07 10:09:23 +00:00
OK: 43/67 Fail: 0/67 Skip: 24/67
2019-09-03 15:06:43 +00:00
## bcTotalDifficultyTest
```diff
+ lotsOfBranchesOverrideAtTheEnd.json OK
+ lotsOfBranchesOverrideAtTheMiddle.json OK
+ lotsOfLeafs.json OK
+ newChainFrom4Block.json OK
+ newChainFrom5Block.json OK
+ newChainFrom6Block.json OK
+ sideChainWithMoreTransactions.json OK
+ sideChainWithMoreTransactions2.json OK
+ sideChainWithNewMaxDifficultyStartingFromBlock3AfterBlock4.json OK
+ uncleBlockAtBlock3AfterBlock3.json OK
+ uncleBlockAtBlock3afterBlock4.json OK
```
OK: 11/11 Fail: 0/11 Skip: 0/11
## bcUncleHeaderValidity
```diff
+ correct.json OK
+ diffTooHigh.json OK
+ diffTooLow.json OK
+ diffTooLow2.json OK
+ gasLimitLTGasUsageUncle.json OK
+ gasLimitTooHigh.json OK
+ gasLimitTooHighExactBound.json OK
+ gasLimitTooLow.json OK
+ gasLimitTooLowExactBound.json OK
+ incorrectUncleNumber0.json OK
+ incorrectUncleNumber1.json OK
+ incorrectUncleNumber500.json OK
+ incorrectUncleTimestamp.json OK
+ incorrectUncleTimestamp2.json OK
+ nonceWrong.json OK
+ pastUncleTimestamp.json OK
+ timestampTooHigh.json OK
+ timestampTooLow.json OK
+ unknownUncleParentHash.json OK
2019-09-23 14:35:48 +00:00
+ wrongMixHash.json OK
2019-09-03 15:06:43 +00:00
+ wrongParentHash.json OK
+ wrongStateRoot.json OK
```
2019-09-23 14:35:48 +00:00
OK: 22/22 Fail: 0/22 Skip: 0/22
2019-09-03 15:06:43 +00:00
## bcUncleSpecialTests
```diff
+ futureUncleTimestamp2.json OK
+ futureUncleTimestamp3.json OK
+ futureUncleTimestampDifficultyDrop.json OK
+ futureUncleTimestampDifficultyDrop2.json OK
+ futureUncleTimestampDifficultyDrop3.json OK
+ futureUncleTimestampDifficultyDrop4.json OK
+ uncleBloomNot0.json OK
+ uncleBloomNot0_2.json OK
+ uncleBloomNot0_3.json OK
```
OK: 9/9 Fail: 0/9 Skip: 0/9
## bcUncleTest
```diff
+ EqualUncleInTwoDifferentBlocks.json OK
+ InChainUncle.json OK
+ InChainUncleFather.json OK
+ InChainUncleGrandPa.json OK
+ InChainUncleGreatGrandPa.json OK
+ InChainUncleGreatGreatGrandPa.json OK
+ InChainUncleGreatGreatGreatGrandPa.json OK
+ InChainUncleGreatGreatGreatGreatGrandPa.json OK
+ UncleIsBrother.json OK
+ oneUncle.json OK
+ oneUncleGeneration2.json OK
+ oneUncleGeneration3.json OK
+ oneUncleGeneration4.json OK
+ oneUncleGeneration5.json OK
+ oneUncleGeneration6.json OK
+ oneUncleGeneration7.json OK
+ threeUncle.json OK
+ twoEqualUncle.json OK
+ twoUncle.json OK
+ uncleHeaderAtBlock2.json OK
+ uncleHeaderAtBlock2Byzantium.json OK
+ uncleHeaderAtBlock2Constantinople.json OK
+ uncleHeaderWithGeneration0.json OK
+ uncleWithSameBlockNumber.json OK
```
OK: 24/24 Fail: 0/24 Skip: 0/24
## bcValidBlockTest
```diff
+ ExtraData32.json OK
+ RecallSuicidedContract.json OK
+ RecallSuicidedContractInOneBlock.json OK
+ SimpleTx.json OK
+ SimpleTx3.json OK
+ SimpleTx3LowS.json OK
+ callRevert.json OK
+ createRevert.json OK
+ dataTx.json OK
+ dataTx2.json OK
+ diff1024.json OK
+ gasLimitTooHigh.json OK
+ gasLimitTooHigh2.json OK
+ gasPrice0.json OK
+ log1_correct.json OK
+ timeDiff12.json OK
+ timeDiff13.json OK
+ timeDiff14.json OK
+ txEqualValue.json OK
+ txOrder.json OK
```
OK: 20/20 Fail: 0/20 Skip: 0/20
## bcWalletTest
```diff
+ wallet2outOf3txs.json OK
+ wallet2outOf3txs2.json OK
+ wallet2outOf3txsRevoke.json OK
+ wallet2outOf3txsRevokeAndConfirmAgain.json OK
+ walletReorganizeOwners.json OK
```
OK: 5/5 Fail: 0/5 Skip: 0/5
---TOTAL---
2019-09-23 14:35:48 +00:00
OK: 266/318 Fail: 0/318 Skip: 52/318