diff options
author | Dimitry <winsvega@mail.ru> | 2017-05-23 23:15:45 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-05-23 23:15:45 +0800 |
commit | 6b8b58d56f6c87fc9dd934edd8dfc70a25404210 (patch) | |
tree | 34231551da88d1e25ff81e60c09927afb1f382d5 /src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json | |
parent | 9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e (diff) | |
download | dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar.gz dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar.bz2 dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar.lz dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar.xz dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.tar.zst dexon-tests-6b8b58d56f6c87fc9dd934edd8dfc70a25404210.zip |
update static tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json | 155 |
1 files changed, 155 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json b/src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json new file mode 100644 index 000000000..2453b509c --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/done/static_Call50000Filler.json @@ -0,0 +1,155 @@ +{ + "static_Call50000" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "86000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "340282366920938463463374607431684514059", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + }, + "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1b58", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "83697386", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffff", + "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000556001608051016080526000565b608051600155", + "nonce" : "0x00", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x00", + "0x01" : "0x142e79" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "340282366920938463463374607431729032105", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + }, + "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1b58", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "39179340", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0fffffffffffff", + "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000556001608051016080526000565b608051600155", + "nonce" : "0x00", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x02bb7917" + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "7000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[ 0 ]] (CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) [[ 1 ]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xfffffffffffff", + "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (STATICCALL 1600 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 0 50000 0 0) ) [[ 1 ]] @i}", + "nonce" : "0", + "storage" : { + } + }, + "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xfffffffffffff", + "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) (MSTORE 0 (STATICCALL 1600 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 0 50000 0 0)) ) (MSTORE 32 @i ) }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x000000000000000000000000bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000cccf5374fce5edbc8e2a8697c15331677e6ebf0b" + ], + "gasLimit" : [ + "85000000" + ], + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "10" + ] + } + } +} |