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/stAttackTest | |
parent | 883d2de442781548d178824db7cfbe0b3fbc0b9a (diff) | |
download | dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.gz dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.bz2 dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.lz dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.xz dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.tar.zst dexon-tests-a9fb4f54225b4cfe119027a84e53daff01d21b87.zip |
regenerate state tests
generate hive test fillers
fix state test fillers
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stAttackTest')
2 files changed, 117 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/ContractCreationSpam_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/ContractCreationSpam_d0g0v0Filler.json new file mode 100644 index 000000000..104e85aa4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/ContractCreationSpam_d0g0v0Filler.json @@ -0,0 +1,62 @@ +{ + "ContractCreationSpam_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x174876e800", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0c3500", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xaca0d145ae5d27ed427ff0e463b8a46181d4786c437d6efb9937a6990694af7a", + "s" : "0x0f9bd68ece8f38ef2836153cd0bb85ec92f8386177f6e68d5437ab7b7d0d6361", + "to" : "0x6a0a0fc761c612c340a0e98d33b37a75e5268472", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x174876e800", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x6a0a0fc761c612c340a0e98d33b37a75e5268472" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7f6004600c60003960046000f3600035ff00000000000000000000000000000000600052602060006000f0600054805b6001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1506001018060005260008060208180876006f1505a616000106200002f57600055", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/CrashingTransaction_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/CrashingTransaction_d0g0v0Filler.json new file mode 100644 index 000000000..b330f9485 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stAttackTest/CrashingTransaction_d0g0v0Filler.json @@ -0,0 +1,55 @@ +{ + "CrashingTransaction_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x47e7c4", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x60606040525b5b61c3505a1115602c576040516034806039833901809050604051809103906000f0506006565b5b600a80606d6000396000f360606040525b3373ffffffffffffffffffffffffffffffffffffffff16ff5b600a80602a6000396000f360606040526008565b0060606040526008565b00", + "gasLimit" : "0x47127a", + "gasPrice" : "0x02", + "nonce" : "0x0cc6", + "r" : "0x8b60ced0243b474aa57e9a493b19b8b656c037ddee9c7b57906e9052fa27b69b", + "s" : "0x673442130105dc2128891bddef89b3104c7b58f804d03e08437b12c396b35320", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x47e7c4", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x0cc6", + "storage" : { + } + } + } + } +}
\ No newline at end of file |