diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-14 00:12:20 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-14 00:12:38 +0800 |
commit | 74a9838f3c30d7d7d5503e0c50d6a628e16965d1 (patch) | |
tree | f36490a6d45529b5ca328909ecf51325f6519609 /src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json | |
parent | 3864810c499597684e8e92eb31c938a9db359c31 (diff) | |
download | dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.gz dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.bz2 dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.lz dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.xz dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.zst dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.zip |
create2 on depth 1023 1024
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json new file mode 100644 index 000000000..3d6d8f401 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json @@ -0,0 +1,80 @@ +{ + "Create2OnDepth1024" : { + "_info" : { + "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "9223372036854775807", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" : { + "//comment" : "this nonce would have been equal to 2 if create worked", + "nonce" : "1" + }, + "0xb250d8cdad4a7a81323be508f4ac44584dd27597" : { + "storage" : { + "0x01" : "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0xb250d8cdad4a7a81323be508f4ac44584dd27597" + } + } + } + } + ], + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "70368744177664000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "//codeinsidecreate2" : "{ (MSTORE 0 0x6000600060006000f5) [[1]] (CREATE2 0 23 9 0) } ", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (MSTORE 0 (ADD 2 (MLOAD 0))) (if (EQ (MLOAD 0) 0x0400) (seq (MSTORE 32 0x686000600060006000f56000526000600960176000f5600155) [[1]] (CREATE2 0 39 25 0)) (CALL (GAS) 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b (EQ (MLOAD 0) 0x0400) 0 32 0 0)) }", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (CALL (GAS) 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 32 0 0) }", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "9223372036854775806" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +} |