diff options
author | Dimitry <dimitry@ethereum.org> | 2017-09-27 01:28:08 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-09-29 23:25:50 +0800 |
commit | a9fb4f54225b4cfe119027a84e53daff01d21b87 (patch) | |
tree | 7387c6001b671a5ac42afc8cebdd97b6c24251fd /src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific | |
parent | 883d2de442781548d178824db7cfbe0b3fbc0b9a (diff) | |
download | tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.gz tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.bz2 tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.lz tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.xz tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.zst tangerine-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.zip |
regenerate state tests
generate hive test fillers
fix state test fillers
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific')
5 files changed, 310 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction_d0g0v0Filler.json new file mode 100644 index 000000000..a310b58e9 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction_d0g0v0Filler.json @@ -0,0 +1,69 @@ +{ + "contractCreationOOGdontLeaveEmptyContractViaTransaction_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1", + "gasLimit" : "0x017700", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x853740cbaebf3b696c992d835f16e8159e521ad8b04ec513949cfba45c6b9e9e", + "s" : "0x35ac6d22ac62556b698ae2c76c368a2913b380732ba26254dc785e22926476a0", + "to" : "", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x10c8e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract_d0g0v0Filler.json new file mode 100644 index 000000000..155772489 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract_d0g0v0Filler.json @@ -0,0 +1,62 @@ +{ + "contractCreationOOGdontLeaveEmptyContract_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x016b80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x48fcbe6740dbb3ae8557dd1370ebd60e8fad8925522eeb2689984ef8241ae4d8", + "s" : "0x08f0cf92d81454dab493ab6b0cb3b69aec915cf8ab06bdeac36f617094f9c8d3", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode_d0g0v0Filler.json new file mode 100644 index 000000000..6124e4fc3 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode_d0g0v0Filler.json @@ -0,0 +1,62 @@ +{ + "createContractViaContractOOGInitCode_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x019a54", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xcd466f67e97e11063177e79318e9a31fbcfc92fdb0ae08cb3f9d7437b17a7685", + "s" : "0x75539ac6ee73217d208c523f5cf2500318e2c6caa60e1932dd524945d33287d6", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6b602060406000f0600c600055600052600c60146000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x10c8e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContract_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContract_d0g0v0Filler.json new file mode 100644 index 000000000..c9a4206e1 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaContract_d0g0v0Filler.json @@ -0,0 +1,62 @@ +{ + "createContractViaContract_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x987657cf92dd443d69216a4b7e84788655a2d2db5cc9da1af6be13d73f985851", + "s" : "0x50ca5a6552027625aef933dce2d9888039f2b2215712bb483c0c234a52ada529", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000_d0g0v0Filler.json new file mode 100644 index 000000000..72e19b0be --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000_d0g0v0Filler.json @@ -0,0 +1,55 @@ +{ + "createContractViaTransactionCost53000_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xa579f7ba701a6fad7b1e069bc02c969f2dac68d25e71065a04e66effde9280e9", + "s" : "0x32ba78b9c364d8a20b92e823f4742dda4e485ceef1c532b0157079f6e64e2a3f", + "to" : "", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file |