diff options
author | winsvega <winsvega@mail.ru> | 2018-11-20 04:17:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 04:17:30 +0800 |
commit | 74cc22b8f06e61bd1313df35848ed8e5f774e571 (patch) | |
tree | 65ea556aa801ca833011059412502f9a982d61ad /src/BlockchainTestsFiller/TransitionTests | |
parent | b0491a367f96ad087d69b13c67ffa7e4a0f7e037 (diff) | |
parent | e091b9be7a31d1985e685991c05ea3f9b548bddc (diff) | |
download | tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar.gz tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar.bz2 tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar.lz tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar.xz tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.tar.zst tangerine-tests-74cc22b8f06e61bd1313df35848ed8e5f774e571.zip |
Merge pull request #547 from ethereum/consttransition
constantinople transition test
Diffstat (limited to 'src/BlockchainTestsFiller/TransitionTests')
5 files changed, 218 insertions, 7 deletions
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcByzantiumToConstantinople/ConstantinopleTransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcByzantiumToConstantinople/ConstantinopleTransitionFiller.json new file mode 100644 index 000000000..a742e0e85 --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcByzantiumToConstantinople/ConstantinopleTransitionFiller.json @@ -0,0 +1,211 @@ +{ + "ConstantinopleTransition" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "3141592", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x54c98c81", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "network" : "ByzantiumToConstantinopleAt5", + "expect" : { + "1000000000000000000000000000000000000001" : { + "balance" : "9" + }, + "0x8888f1f195afa192cfee860698584c030f4c9db1" : { + "balance" : "22250000000000370800" + } + }, + "pre" : { + + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + }, + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ [[ (CALLDATALOAD 0) ]] (DIFFICULTY) }", + "storage": {} + } + }, + "blocks" : [ + { + "blocknumber" : "1", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000001", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000002", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000003", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000004", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000005", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + { + "populateFromBlock" : "2", + "coinbase" : "0cde5374fce5edbc8e2a8697c15331677e6ebf0b", + "overwriteAndRedoPoW" : "coinbase" + } + ] + }, + { + "blocknumber" : "6", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000006", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "5", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + { + "populateFromBlock" : "3", + "coinbase" : "1cde5374fce5edbc8e2a8697c15331677e6ebf0b", + "overwriteAndRedoPoW" : "coinbase" + }, + { + "populateFromBlock" : "3", + "coinbase" : "2cde5374fce5edbc8e2a8697c15331677e6ebf0b", + "overwriteAndRedoPoW" : "coinbase" + } + ] + }, + { + "blocknumber" : "7", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000007", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "6", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + { + "populateFromBlock" : "4", + "coinbase" : "3cde5374fce5edbc8e2a8697c15331677e6ebf0b", + "overwriteAndRedoPoW" : "coinbase" + } + ] + }, + { + "blocknumber" : "8", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000008", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "7", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "9", + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000000009", + "gasLimit" : "600000", + "gasPrice" : "1", + "nonce" : "8", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json index b8b1991ce..c6f367efd 100644 --- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json +++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactionsFiller.json @@ -27,12 +27,12 @@ }, "1000000000000000000000000000000000000007" : { "storage" : { - "0x" : "10000000000" + "0x00" : "10000000000" } }, "1000000000000000000000000000000000000008" : { "storage" : { - "0x" : "0" + "0x00" : "0" } }, "bf4ed7b27f1d666546e30d74d50d173d20bca754" : { diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json index 41e5fe3d5..0c7f0f11c 100644 --- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json +++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_EmptyTransactionAndForkBlocksAheadFiller.json @@ -27,12 +27,12 @@ }, "1000000000000000000000000000000000000007" : { "storage" : { - "0x" : "10000000000" + "0x00" : "10000000000" } }, "1000000000000000000000000000000000000008" : { "storage" : { - "0x" : "0" + "0x00" : "0" } }, "bf4ed7b27f1d666546e30d74d50d173d20bca754" : { diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json index 243abacc5..9df99033e 100644 --- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json +++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToDao/DaoTransactions_UncleExtradataFiller.json @@ -33,12 +33,12 @@ }, "1000000000000000000000000000000000000007" : { "storage" : { - "0x" : "10000000000" + "0x00" : "10000000000" } }, "1000000000000000000000000000000000000008" : { "storage" : { - "0x" : "0" + "0x00" : "0" } }, "bf4ed7b27f1d666546e30d74d50d173d20bca754" : { diff --git a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToEIP150/EIP150TransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToEIP150/EIP150TransitionFiller.json index b9b16be37..10a10ca52 100644 --- a/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToEIP150/EIP150TransitionFiller.json +++ b/src/BlockchainTestsFiller/TransitionTests/bcHomesteadToEIP150/EIP150TransitionFiller.json @@ -30,7 +30,7 @@ "0x06" : "0x01", "0x07" : "0x01", "0x08" : "0x01", - "0x09" : "0x4176a", + "0x09" : "0x04176a", "0x0a" : "0x057ee9", "0x0b" : "0x5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643", "0x64" : "0x11" |