diff options
author | Dimitry <dimitry@ethereum.org> | 2017-10-25 19:07:50 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-10-25 19:07:50 +0800 |
commit | 13c7891fff8f6101f7d2033b9384ddffcbe5e7de (patch) | |
tree | 55bd567e6b8f85e2be6810ddd4019c07da4efcf7 /src/BlockchainTestsFiller/GeneralStateTests | |
parent | dc9e2cbd33a43872097ed9bc97681a944a0cdd0d (diff) | |
download | dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar.gz dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar.bz2 dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar.lz dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar.xz dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.tar.zst dexon-tests-13c7891fff8f6101f7d2033b9384ddffcbe5e7de.zip |
create failing inside staticcall
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests')
2 files changed, 154 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d0g0v0Filler.json new file mode 100644 index 000000000..bdd375994 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d0g0v0Filler.json @@ -0,0 +1,77 @@ +{ + "staticcall_createfails_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x54a60a4202e088", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasLimit" : "0x01d4c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x65fccc815fd0227806a624415a5f421ffcb729a1511cbd27061b6e383b64d6a5", + "s" : "0x22bced9eac3d1a29245481c9865da44e1d576e0b86b9be19490920ddbcae36af", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "1000000000000000000000000000000000000000", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x54a60a4202e088", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x38beec8feeca2598", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060003562011170fa600155", + "nonce" : "0x3f", + "storage" : { + "0x01" : "0x01" + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600152600160016001f0600255", + "nonce" : "0x3f", + "storage" : { + } + }, + "0xd94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60006000f0", + "nonce" : "0x3f", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json new file mode 100644 index 000000000..4577105c9 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json @@ -0,0 +1,77 @@ +{ + "staticcall_createfails_d1g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x54a60a4202e088", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000d94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasLimit" : "0x01d4c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x20c82979e9059f3175daf83b84e05e748a24d36d93f37e1f8de56a494205dc0a", + "s" : "0x452d4161d59e6c37f721458f71a1bb5ea99f7674b3bfc0fb09506a253e222459", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "1000000000000000000000000000000000000000", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x54a60a4202e088", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x38beec8feeca2598", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060003562011170fa600155", + "nonce" : "0x3f", + "storage" : { + "0x01" : "0x01" + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600152600160016001f0600255", + "nonce" : "0x3f", + "storage" : { + } + }, + "0xd94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60006000f0", + "nonce" : "0x3f", + "storage" : { + } + } + } + } +}
\ No newline at end of file |