aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json106
1 files changed, 37 insertions, 69 deletions
diff --git a/GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json b/GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json
index 42bd731cd..eab435a2a 100644
--- a/GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json
+++ b/GeneralStateTests/stStaticCall/static_CallLoseGasOOG.json
@@ -2,88 +2,56 @@
"static_CallLoseGasOOG" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CallLoseGasOOGFiller.json"
},
"env" : {
- "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x7fffffffffffffff",
- "currentNumber" : "0x01",
- "currentTimestamp" : "0x03e8",
- "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "post" : {
- "EIP150" : [
- {
- "hash" : "0x4f985561c68b486a8fefad080ea5383a17cb5660282b71ec765b68651cf32aa6",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [
+ "Metropolis"
+ ],
+ "result" : {
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x" : "0x01",
+ "0x02" : "0x03e9"
+ }
}
}
- ],
- "EIP158" : [
- {
- "hash" : "0x4f985561c68b486a8fefad080ea5383a17cb5660282b71ec765b68651cf32aa6",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Frontier" : [
- {
- "hash" : "0x4f985561c68b486a8fefad080ea5383a17cb5660282b71ec765b68651cf32aa6",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Homestead" : [
- {
- "hash" : "0x4f985561c68b486a8fefad080ea5383a17cb5660282b71ec765b68651cf32aa6",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Metropolis" : [
- {
- "hash" : "0xe8031a5e694e8b45a6abc93652b190e8d32492fa310593ddb7e2d7819f51fe9a",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ]
- },
+ }
+ ],
"pre" : {
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x1b58",
+ "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "7000",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0400",
- "code" : "0x600160005401600055600060006000600073bbbf5374fce5edbc8e2a8697c15331677e6ebf0b620186a060005402600101fa6001556103e860005402600101600255",
- "nonce" : "0x00",
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1024",
+ "code" : "{ [[ 0 ]] (ADD @@0 1) [[ 1 ]] (STATICCALL (ADD 1(MUL @@0 100000)) 0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0) [[ 2 ]] (ADD 1(MUL @@0 1000)) }",
+ "nonce" : "0",
"storage" : {
}
}
@@ -95,12 +63,12 @@
"gasLimit" : [
"0x7fffffffffffffff"
],
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0x0a"
+ "10"
]
}
}