diff options
author | Dimitry <winsvega@mail.ru> | 2017-06-01 19:48:57 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-06-01 19:48:57 +0800 |
commit | 9a9cdac9ba9e85a2457aaae673781cadebff7103 (patch) | |
tree | 3d29603c42eb81147fe5963a460a8ab308019245 /src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json | |
parent | 6b8b58d56f6c87fc9dd934edd8dfc70a25404210 (diff) | |
download | dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar.gz dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar.bz2 dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar.lz dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar.xz dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.tar.zst dexon-tests-9a9cdac9ba9e85a2457aaae673781cadebff7103.zip |
more staticcall tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json new file mode 100644 index 000000000..c2a34e9e3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_callCreate3Filler.json @@ -0,0 +1,67 @@ +{ + "static_callCreate3" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { "data" : 0, "gas" : -1, "value" : -1 }, + "network" : ["Metropolis"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x13136008b64ff592819b2fa6d43f2835c452020e", + "0x01" : "0x01", + "0x02" : "0x07a52c" + } + } + } + } + ], + "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "1000000000000000000", + "code" : "{ (CALL 600000 (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "1000000000000000000", + "code" : "{ (STATICCALL 100000 (ADDRESS) 0 0 0 0) } ", + "code" : "{ (MSTORE 0 0x600060006000600030620186a0fa) (RETURN 18 14) }", + "code" : "{ (MSTORE 0 0x6d600060006000600030620186a0fa600052600e6012f3) [[ 0 ]] (CREATE 1 9 23) [[ 1 ]] (STATICCALL 30000 (SLOAD 0) 0 0 0 0) [[ 2 ]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "1000000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "100000" + ] + } + } +} |