diff options
author | Dimitry <dimitry@ethereum.org> | 2018-10-02 23:47:20 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-10-02 23:47:20 +0800 |
commit | 7a88cb639e1af2518aa5748f2da01a75391462a3 (patch) | |
tree | 250a9106228091a24f58a1bbd89956c316d0c930 /src/BlockchainTestsFiller/bcStateTests | |
parent | 1d25604dd0f8a4f9337d32c22bac9c6bf5cc115e (diff) | |
download | tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar.gz tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar.bz2 tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar.lz tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar.xz tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.tar.zst tangerine-tests-7a88cb639e1af2518aa5748f2da01a75391462a3.zip |
blockchain test source updates
Diffstat (limited to 'src/BlockchainTestsFiller/bcStateTests')
10 files changed, 63 insertions, 10 deletions
diff --git a/src/BlockchainTestsFiller/bcStateTests/BLOCKHASH_BoundsFiller.json b/src/BlockchainTestsFiller/bcStateTests/BLOCKHASH_BoundsFiller.json index 9f7ac1418..058bc1ae0 100644 --- a/src/BlockchainTestsFiller/bcStateTests/BLOCKHASH_BoundsFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/BLOCKHASH_BoundsFiller.json @@ -47,9 +47,10 @@ ] } ], + "sealEngine" : "NoProof", "expect" : [ { - "network" : ["ALL"], + "network" : [">=Frontier"], "result" : { "0x1000000000000000000000000000000000000000" : { "balance" : "0x01" diff --git a/src/BlockchainTestsFiller/bcStateTests/BadStateRootTxBCFiller.json b/src/BlockchainTestsFiller/bcStateTests/BadStateRootTxBCFiller.json index 95fd4a891..d090f0969 100644 --- a/src/BlockchainTestsFiller/bcStateTests/BadStateRootTxBCFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/BadStateRootTxBCFiller.json @@ -25,6 +25,7 @@ ] } ], + "sealEngine" : "NoProof", "expect" : [ { "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], @@ -43,6 +44,15 @@ "nonce" : "0x01" } } + }, + { + "network" : [">=Constantinople"], + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1975583", + "nonce" : "0x01" + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcStateTests/OOGStateCopyContainingDeletedContractFiller.json b/src/BlockchainTestsFiller/bcStateTests/OOGStateCopyContainingDeletedContractFiller.json index 9a94b2db7..47ffd457b 100644 --- a/src/BlockchainTestsFiller/bcStateTests/OOGStateCopyContainingDeletedContractFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/OOGStateCopyContainingDeletedContractFiller.json @@ -17,6 +17,7 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { "network" : ["Frontier", "Homestead"], @@ -71,7 +72,7 @@ } }, { - "network" : ["EIP158", "Byzantium"], + "network" : ["EIP158", ">=Byzantium"], "result" : { "2e0de3fc10a88911ff857126db1a5f0da6f25173" : { diff --git a/src/BlockchainTestsFiller/bcStateTests/blockhashNonConstArgFiller.json b/src/BlockchainTestsFiller/bcStateTests/blockhashNonConstArgFiller.json index a2dc1dff5..9910ff36b 100644 --- a/src/BlockchainTestsFiller/bcStateTests/blockhashNonConstArgFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/blockhashNonConstArgFiller.json @@ -32,9 +32,10 @@ ] } ], + "sealEngine" : "NoProof", "expect" : [ { - "network" : ["ALL"], + "network" : [">=Frontier"], "result" : { "0x1000000000000000000000000000000000000000" : { "balance" : "0x00", diff --git a/src/BlockchainTestsFiller/bcStateTests/blockhashTestsFiller.json b/src/BlockchainTestsFiller/bcStateTests/blockhashTestsFiller.json index 27bd9db2c..12e5c0632 100644 --- a/src/BlockchainTestsFiller/bcStateTests/blockhashTestsFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/blockhashTestsFiller.json @@ -17,6 +17,7 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], @@ -51,7 +52,7 @@ } }, { - "network" : ["Byzantium"], + "network" : [">=Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -59,9 +60,6 @@ "0x02" : "0x0000000000000000000000000000000000000000000000000000000000000000" } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "948922" - }, "295e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { "0x00" : "0x8799dc2d3892b4aa4d44cf37e10a701ea8a5e160339cae79543089f39c15281b", diff --git a/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json b/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json index b75a30c2c..133766548 100644 --- a/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json @@ -20,9 +20,10 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { - "network" : ["Constantinople"], + "network" : [">=Constantinople"], "result" : { "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "nonce" : "0x02" diff --git a/src/BlockchainTestsFiller/bcStateTests/multimpleBalanceInstructionFiller.json b/src/BlockchainTestsFiller/bcStateTests/multimpleBalanceInstructionFiller.json index 1618ee37c..d761c43a3 100644 --- a/src/BlockchainTestsFiller/bcStateTests/multimpleBalanceInstructionFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/multimpleBalanceInstructionFiller.json @@ -17,6 +17,7 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { "network" : ["Frontier"], @@ -105,6 +106,28 @@ } } } + }, + { + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x17485b3218", + "0x02" : "0x17485b3218", + "0x05" : "0x0186aa" + } + }, + "195e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x17484e7334", + "0x01" : "0x1bc16d674ed4bafc", + "0x02" : "0x17484e7334", + "0x03" : "0x1bc16d674ed4bafc", + "0x04" : "0x0186aa", + "0x05" : "0x018a88" + } + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcStateTests/simpleSuicideFiller.json b/src/BlockchainTestsFiller/bcStateTests/simpleSuicideFiller.json index 879702c29..35c52a928 100644 --- a/src/BlockchainTestsFiller/bcStateTests/simpleSuicideFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/simpleSuicideFiller.json @@ -17,9 +17,10 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { - "network" : ["ALL"], + "network" : [">=Frontier"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "1000" diff --git a/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json b/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json index ae62409c7..5191b71df 100644 --- a/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json @@ -17,6 +17,7 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { "network" : ["Frontier"], @@ -77,6 +78,21 @@ "nonce" : "3" } } + }, + { + "network" : [">=Constantinople"], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "2002" + }, + "8888f1f195afa192cfee860698584c030f4c9db1" : { + "balance" : "2000000000000420000" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "9999447208", + "nonce" : "3" + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcStateTests/transactionFromNotExistingAccountFiller.json b/src/BlockchainTestsFiller/bcStateTests/transactionFromNotExistingAccountFiller.json index 62c84bb48..2f0098943 100644 --- a/src/BlockchainTestsFiller/bcStateTests/transactionFromNotExistingAccountFiller.json +++ b/src/BlockchainTestsFiller/bcStateTests/transactionFromNotExistingAccountFiller.json @@ -17,9 +17,10 @@ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, + "sealEngine" : "NoProof", "expect" : [ { - "network" : ["ALL"], + "network" : [">=Frontier"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { |