aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_Call50000_ecrec.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_Call50000_ecrec.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_Call50000_ecrec.json218
1 files changed, 125 insertions, 93 deletions
diff --git a/GeneralStateTests/stStaticCall/static_Call50000_ecrec.json b/GeneralStateTests/stStaticCall/static_Call50000_ecrec.json
index 7e15a647b..fc0ea50a7 100644
--- a/GeneralStateTests/stStaticCall/static_Call50000_ecrec.json
+++ b/GeneralStateTests/stStaticCall/static_Call50000_ecrec.json
@@ -6,119 +6,151 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_ecrecFiller.json"
},
"env" : {
- "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "95000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x05a995c0",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : 0,
- "gas" : -1,
- "value" : -1
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x4e68c50f1d55e4eae9fc8e5ad4c7e67d11028e71c2744e198105acebc45ea6be",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x00",
- "0x01" : "0x16724f"
- }
+ {
+ "hash" : "0x4e68c50f1d55e4eae9fc8e5ad4c7e67d11028e71c2744e198105acebc45ea6be",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431675162497",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x4e68c50f1d55e4eae9fc8e5ad4c7e67d11028e71c2744e198105acebc45ea6be",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "93048948",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x4e68c50f1d55e4eae9fc8e5ad4c7e67d11028e71c2744e198105acebc45ea6be",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0xffffffffffffffffffffffffffffffff",
- "code" : "0x5b61c3506080511015602a576000600061c350600060016101f4fa6000556001608051016080526000565b608051600155",
- "nonce" : "0x00",
- "storage" : {
- }
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x98a9c18380c2624cb8fc4b401420e9b185586a3d3617d8ed7a9b3177117e93b2",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x98a9c18380c2624cb8fc4b401420e9b185586a3d3617d8ed7a9b3177117e93b2",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x98a9c18380c2624cb8fc4b401420e9b185586a3d3617d8ed7a9b3177117e93b2",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x01cef637"
- }
+ {
+ "hash" : "0x98a9c18380c2624cb8fc4b401420e9b185586a3d3617d8ed7a9b3177117e93b2",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431704032105",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x4e68c50f1d55e4eae9fc8e5ad4c7e67d11028e71c2744e198105acebc45ea6be",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "64179340",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xa6e861719720bffc51b5c19d318e904b3ca4ce0e73de561571b2995e72cedd82",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0xffffffffffffffffffffffffffffffff",
- "code" : "0x5b61c3506080511015602a576000600061c350600060016101f4fa6000556001608051016080526000565b608051600155",
- "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" : {
}
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
- "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (STATICCALL 500 1 0 50000 0 0) ) [[ 1 ]] @i}",
- "nonce" : "0",
+ "code" : "0x5b61c3506080511015602a576000600061c350600060016101f4fa6000556001608051016080526000565b608051600155",
+ "nonce" : "0x00",
"storage" : {
}
},
- "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xcccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
- "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) (MSTORE 0 (STATICCALL 500 1 0 50000 0 0)) ) (MSTORE 32 @i ) }",
- "nonce" : "0",
+ "code" : "0x5b61c3506080511015602a576000600061c350600060016101f4fa6000526001608051016080526000565b608051602052",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -129,14 +161,14 @@
"0x000000000000000000000000cccf5374fce5edbc8e2a8697c15331677e6ebf0b"
],
"gasLimit" : [
- "94500000"
+ "0x05a1f4a0"
],
- "gasPrice" : "1",
- "nonce" : "",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- "10"
+ "0x0a"
]
}
}