aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_Call50000.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
committerDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
commit78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 (patch)
treec3d6bf604954c6fbd3f0416d972ca922dda331c3 /GeneralStateTests/stStaticCall/static_Call50000.json
parentf71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff)
downloadtangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.bz2
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.lz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.xz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip
update general tests
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_Call50000.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_Call50000.json240
1 files changed, 129 insertions, 111 deletions
diff --git a/GeneralStateTests/stStaticCall/static_Call50000.json b/GeneralStateTests/stStaticCall/static_Call50000.json
index 434cc3781..b619efb0d 100644
--- a/GeneralStateTests/stStaticCall/static_Call50000.json
+++ b/GeneralStateTests/stStaticCall/static_Call50000.json
@@ -6,140 +6,158 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call50000Filler.json"
},
"env" : {
- "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "86000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x05204180",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : 0,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x00",
- "0x01" : "0x142e79"
- }
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x4d0410e141c8f943f83cc4771edff86117b741acf6954fcc3e18cf88d1e3b425",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431684514059",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x4d0410e141c8f943f83cc4771edff86117b741acf6954fcc3e18cf88d1e3b425",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x1b58",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x4d0410e141c8f943f83cc4771edff86117b741acf6954fcc3e18cf88d1e3b425",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "83697386",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x4d0410e141c8f943f83cc4771edff86117b741acf6954fcc3e18cf88d1e3b425",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0fffffffffffff",
- "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000556001608051016080526000565b608051600155",
- "nonce" : "0x00",
- "storage" : {
- }
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xcd0460282874213b0a71f14cc7f60f4af9a1299ec9520a1b35b9b98b0cdcbecb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x02bb7917"
- }
+ {
+ "hash" : "0xcd0460282874213b0a71f14cc7f60f4af9a1299ec9520a1b35b9b98b0cdcbecb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xcd0460282874213b0a71f14cc7f60f4af9a1299ec9520a1b35b9b98b0cdcbecb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431729032105",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xcd0460282874213b0a71f14cc7f60f4af9a1299ec9520a1b35b9b98b0cdcbecb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x1b58",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x4d0410e141c8f943f83cc4771edff86117b741acf6954fcc3e18cf88d1e3b425",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "39179340",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xb568e43eaff561a067df321504be9c94a585f3e5c80147256cc39ce51f18dd13",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0fffffffffffff",
- "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000556001608051016080526000565b608051600155",
- "nonce" : "0x00",
- "storage" : {
- }
- }
+ "logs" : [
+ ]
}
- }
- ],
+ ]
+ },
"pre" : {
- "1000000000000000000000000000000000000000" : {
- "balance" : "0",
- "code" : "{ [[ 0 ]] (CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) [[ 1 ]] (GAS) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600060006000346000355af16000555a600155",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
},
- "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "7000",
+ "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x1b58",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"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",
+ "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0fffffffffffff",
+ "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000556001608051016080526000565b608051600155",
+ "nonce" : "0x00",
"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",
+ "0xcccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0fffffffffffff",
+ "code" : "0x5b61c3506080511015603d576000600061c350600073aaaf5374fce5edbc8e2a8697c15331677e6ebf0b610640fa6000526001608051016080526000565b608051602052",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -150,14 +168,14 @@
"0x000000000000000000000000cccf5374fce5edbc8e2a8697c15331677e6ebf0b"
],
"gasLimit" : [
- "85000000"
+ "0x0510ff40"
],
- "gasPrice" : "1",
- "nonce" : "",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- "10"
+ "0x0a"
]
}
}