aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2017-10-06 00:44:38 +0800
committerDimitry <dimitry@ethereum.org>2017-10-06 00:44:38 +0800
commitadaa3459f1f381370d56a4449927da97a28ad731 (patch)
treeeaa78b4eb92e491536318dba3b5c1eea61b308d8 /src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao
parent555106b5bbb375815ae1944d1ef19356cc9f4648 (diff)
downloadtangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar.gz
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar.bz2
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar.lz
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar.xz
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.tar.zst
tangerine-tests-adaa3459f1f381370d56a4449927da97a28ad731.zip
fix test fillers
Diffstat (limited to 'src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao')
-rw-r--r--src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json28
-rw-r--r--src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json4
-rw-r--r--src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json4
-rw-r--r--src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_XBlockm1Filler.json4
4 files changed, 24 insertions, 16 deletions
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json
index 9a4c05c8d..b8b1991ce 100644
--- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json
+++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json
@@ -1,6 +1,8 @@
{
"DaoTransactions" : {
- "comment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets.",
+ "_info" : {
+ "comment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets."
+ },
"genesisBlockHeader" : {
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
@@ -339,9 +341,9 @@
"uncleHeaders" : [
]
},
- {
- "acomment" : "check balance of one of the accounts from L at 7 block",
- "blocknumber" : "4",
+ {
+ "//comment" : "check balance of one of the accounts from L at 7 block",
+ "blocknumber" : "4",
"transactions" : [
{
"data" : "",
@@ -373,12 +375,12 @@
"uncleHeaders" : [
]
},
- {
- "acomment" : "check balance of one of the accounts from L at block 8",
- "blocknumber" : "5",
- "blockHeaderPremine" : {
+ {
+ "//comment" : "check balance of one of the accounts from L at block 8",
+ "blocknumber" : "5",
+ "blockHeaderPremine" : {
"extraData" : "0x64616f2d686172642d666f726b",
- "updatePoW" : "1"
+ "updatePoW" : "1"
},
"transactions" : [
{
@@ -394,11 +396,11 @@
"uncleHeaders" : [
]
},
- {
- "blocknumber" : "6",
- "expectExceptionALL" : "InvalidTransactionsRoot",
+ {
+ "blocknumber" : "6",
+ "expectExceptionALL" : "InvalidTransactionsRoot",
"transactions" : [
- {
+ {
"data" : "",
"gasLimit" : "60000",
"gasPrice" : "1",
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json
index 96581bd84..41e5fe3d5 100644
--- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json
+++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json
@@ -1,6 +1,8 @@
{
"DaoTransactions_EmptyTransactionAndForkBlocksAhead" : {
- "acomment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets.",
+ "_info" : {
+ "comment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets."
+ },
"genesisBlockHeader" : {
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json
index 85ae657e9..243abacc5 100644
--- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json
+++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json
@@ -1,6 +1,8 @@
{
"DaoTransactions_UncleExtradata" : {
- "acomment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets.",
+ "_info" : {
+ "comment" : "This test checks DAO hardfork transition at block 5. According to specification given list of accounts L from the prestate (except a94f5374fce5edbc8e2a8697c15331677e6ebf0b (caller)) should transfer it's balance at the begining of the block 5 to contract C = bf4ed7b27f1d666546e30d74d50d173d20bca754. Then all blocks from 5 to 14(included) must have extradata set to 0x64616f2d686172642d666f726b otherwise blocks considered incorrect. Additionally all uncles with numbers from 5 to 14(included) in this blocks should corespond to extradata requirenmets."
+ },
"genesisBlockHeader" : {
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_XBlockm1Filler.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_XBlockm1Filler.json
index 24097766f..e3e553c2c 100644
--- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_XBlockm1Filler.json
+++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_XBlockm1Filler.json
@@ -1,6 +1,8 @@
{
"DaoTransactions_XBlockm1" : {
- "acomment" : "This test checks that DAO hardfork transition does not occur at the end of block 4",
+ "_info" : {
+ "comment" : "This test checks that DAO hardfork transition does not occur at the end of block 4",
+ },
"genesisBlockHeader" : {
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",