diff options
author | Dimitry <dimitry@ethdev.com> | 2017-01-18 03:08:06 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2017-01-18 03:08:06 +0800 |
commit | 38f9e8c119b5a456e0da22151cac45340609deb0 (patch) | |
tree | dd9d957a7846713c484b14cb747a9f54842299e6 /GeneralStateTests | |
parent | f69587bf09b25544eddb1902f2871ecec17c805f (diff) | |
download | dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar.gz dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar.bz2 dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar.lz dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar.xz dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.tar.zst dexon-tests-38f9e8c119b5a456e0da22151cac45340609deb0.zip |
create JS contracat with no collision
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stCallCreateCallCodeTest/createJS_NoCollision.json | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/GeneralStateTests/stCallCreateCallCodeTest/createJS_NoCollision.json b/GeneralStateTests/stCallCreateCallCodeTest/createJS_NoCollision.json new file mode 100644 index 000000000..50164f2da --- /dev/null +++ b/GeneralStateTests/stCallCreateCallCodeTest/createJS_NoCollision.json @@ -0,0 +1,78 @@ +{ + "createJS_ExampleContract" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "46a17e04d9b1aa09223a578c35e6fb86af5cb8cf5b5c148f3359b4ae250f04e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "28d2ee893a88e792323276b1c15f290e325f233d22e99fce2e9d7c114c34e4e4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "abb7bafb3bad22e2218770dee2cbed9d09c5feff2fd1722bddd7e21c83a8135a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "46a17e04d9b1aa09223a578c35e6fb86af5cb8cf5b5c148f3359b4ae250f04e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x09184e72a000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x60406103ca600439600451602451336000819055506000600481905550816001819055508060028190555042600581905550336003819055505050610381806100496000396000f30060003560e060020a9004806343d726d61461004257806391b7f5ed14610050578063d686f9ee14610061578063f5bade661461006f578063fcfff16f1461008057005b61004a6101de565b60006000f35b61005b6004356100bf565b60006000f35b610069610304565b60006000f35b61007a60043561008e565b60006000f35b6100886100f0565b60006000f35b600054600160a060020a031633600160a060020a031614156100af576100b4565b6100bc565b806001819055505b50565b600054600160a060020a031633600160a060020a031614156100e0576100e5565b6100ed565b806002819055505b50565b600054600160a060020a031633600160a060020a031614806101255750600354600160a060020a031633600160a060020a0316145b61012e57610161565b60016004819055507f59ebeb90bc63057b6515673c3ecf9438e5058bca0f92585014eced636878c9a560006000a16101dc565b60045460011480610173575060015434105b6101b85760016004819055507f59ebeb90bc63057b6515673c3ecf9438e5058bca0f92585014eced636878c9a560006000a142600581905550336003819055506101db565b33600160a060020a03166000346000600060006000848787f16101d757005b5050505b5b565b60006004546000146101ef576101f4565b610301565b600054600160a060020a031633600160a060020a031614801561022c5750600054600160a060020a0316600354600160a060020a0316145b61023557610242565b6000600481905550610301565b600354600160a060020a031633600160a060020a03161461026257610300565b600554420360025402905060015481116102c757600354600160a060020a0316600082600154036000600060006000848787f161029b57005b505050600054600160a060020a03166000826000600060006000848787f16102bf57005b5050506102ee565b600054600160a060020a031660006001546000600060006000848787f16102ea57005b5050505b60006004819055506000546003819055505b5b50565b6000600054600160a060020a031633600160a060020a031614156103275761032c565b61037e565b600554420360025402905060015481116103455761037d565b600054600160a060020a031660006001546000600060006000848787f161036857005b50505060006004819055506000546003819055505b5b505600000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000023" + ], + "gasLimit" : [ + "600000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "100000" + ] + } + } +}
\ No newline at end of file |