diff options
author | Dimitry <dimitry@ethereum.org> | 2017-10-13 19:36:09 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-10-13 19:36:09 +0800 |
commit | a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad (patch) | |
tree | aeeed59aba8bf2b86010c340e87b636d0fa8e588 /src | |
parent | ade96293f8693aeab154934b8ba48f8178525e0e (diff) | |
download | dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar.gz dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar.bz2 dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar.lz dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar.xz dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.tar.zst dexon-tests-a871d4ddc7ad846f07b6fe02bd7d1f4960a4cdad.zip |
fuzztests bytecode
Diffstat (limited to 'src')
-rw-r--r-- | src/BlockchainTestsFiller/GeneralStateTests/stRandom2/randomStatetest647_d0g0v0Filler.json | 62 | ||||
-rw-r--r-- | src/GeneralStateTestsFiller/stRandom2/randomStatetest647Filler.json | 61 |
2 files changed, 123 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRandom2/randomStatetest647_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRandom2/randomStatetest647_d0g0v0Filler.json new file mode 100644 index 000000000..d9cc52193 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRandom2/randomStatetest647_d0g0v0Filler.json @@ -0,0 +1,62 @@ +{ + "randomStatetest647_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x42fe8c95373ea1", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x584d31", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xb8b4255ee0ebbc999fd83d5247c119f9c089e9a2ce40d52b234288fd77856839", + "s" : "0x362d599ccebcbc12dae17e88f74e55df047a99916bc7b4e164f203ba7c1106ef", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "d94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x42fe8c95373ea1", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3b9aca00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600160000360003e00", + "nonce" : "0x07", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stRandom2/randomStatetest647Filler.json b/src/GeneralStateTestsFiller/stRandom2/randomStatetest647Filler.json new file mode 100644 index 000000000..17b59de56 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRandom2/randomStatetest647Filler.json @@ -0,0 +1,61 @@ +{ + "randomStatetest647" : { + "_info" : { + "comment" : "Malicious bytecode found by fuzztest tool" + }, + "env":{ + "currentCoinbase":"0xd94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty":"0x20000", + "currentGasLimit":"0x42fe8c95373ea1", + "currentNumber":"0x01", + "currentTimestamp":"0x03e8", + "previousHash":"0xb9cdadfa4eb6b43788795e580e7cb36b4c85348412173e7bb3b9e7e954f7949f" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b":{ + "balance":"994213071" + } + } + } + ], + "pre":{ + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b":{ + "balance":"1000000000", + "code":"", + "nonce":"0x00", + "storage":{ + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b":{ + "balance":"0x00", + "code":"0x6001600160000360003e00", + "nonce":"0x07", + "storage":{ + } + } + }, + "transaction":{ + "data":[ + "" + ], + "gasLimit":[ + "0x584d31" + ], + "gasPrice":"0x01", + "nonce":"0x00", + "secretKey":"0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to":"0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value":[ + "0x00" + ] + } + } +} |