aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json')
-rw-r--r--GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json241
1 files changed, 142 insertions, 99 deletions
diff --git a/GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json b/GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json
index 20fa720c9..29ad717c9 100644
--- a/GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json
+++ b/GeneralStateTests/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json
@@ -2,128 +2,171 @@
"contractCreationMakeCallThatAskMoreGasThenTransactionProvided" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stChangedEIP150/contractCreationMakeCallThatAskMoreGasThenTransactionProvidedFiller.json"
},
"env" : {
- "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "0x989680",
- "currentNumber" : "0x01",
- "currentTimestamp" : "0x03e8",
- "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "post" : {
- "EIP150" : [
- {
- "hash" : "0x28986b1dd2a8b774b9c931b43a146f60686ed1fd6073f59f6ce678a27eb9ff7a",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [
+ 0
+ ],
+ "value" : -1
},
- {
- "hash" : "0x300c3dcbb928cdde2440ae30efc403477bf180332c5c7cc66a393a7b2b7c14be",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
+ "network" : [
+ "EIP150",
+ "EIP158",
+ "Frontier"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0"
}
}
- ],
- "EIP158" : [
- {
- "hash" : "0x8b1de25de155bec2239c83319199bd3b822b0bfbf7cbb6a23ac39ef11538f018",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [
+ 1
+ ],
+ "value" : -1
},
- {
- "hash" : "0x6c43348eb68de9bdb634ccf1100bc057055fbc061e09d9ea9affa3f08cded27b",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
+ "network" : [
+ "EIP150",
+ "EIP158"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0"
}
}
- ],
- "Frontier" : [
- {
- "hash" : "0x2960c7ae0990124a74d14254b302f847bdac3c0f0d6e438d93114ab442c54bf1",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [
+ 1
+ ],
+ "value" : -1
},
- {
- "hash" : "0x691a7195d6b0ac3628e8c660b3231ecaf2d49db9f02781a84ec680224558b65e",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
+ "network" : [
+ "Frontier"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
}
}
- ],
- "Homestead" : [
- {
- "hash" : "0xaf7b43e1b2c6afeca739391b312df5262af05dd64b6d0716d26d8d66816c8278",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [
+ 0
+ ],
+ "value" : -1
},
- {
- "hash" : "0x691a7195d6b0ac3628e8c660b3231ecaf2d49db9f02781a84ec680224558b65e",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
+ "network" : [
+ "Metropolis"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0"
}
}
- ],
- "Metropolis" : [
- {
- "hash" : "0x8b1de25de155bec2239c83319199bd3b822b0bfbf7cbb6a23ac39ef11538f018",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [
+ 1
+ ],
+ "value" : -1
+ },
+ "network" : [
+ "Metropolis"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0"
}
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
},
- {
- "hash" : "0x6c43348eb68de9bdb634ccf1100bc057055fbc061e09d9ea9affa3f08cded27b",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
+ "network" : [
+ "Homestead"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000001" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
}
}
- ]
- },
+ }
+ ],
"pre" : {
- "0x1000000000000000000000000000000000000001" : {
- "balance" : "0x0186a0",
- "code" : "0x6001600155",
- "nonce" : "0x00",
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "100000",
+ "code" : "{(SSTORE 1 1)}",
+ "nonce" : "0",
"storage" : {
}
},
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x10c8e0",
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1100000",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0186a0",
- "code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1",
- "nonce" : "0x00",
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000",
+ "code" : "{(CALL 50000 0x1000000000000000000000000000000000000001 0 0 64 0 64)}",
+ "nonce" : "0",
"storage" : {
}
}
@@ -133,15 +176,15 @@
"0x6040600060406000600073100000000000000000000000000000000000000161c350f1"
],
"gasLimit" : [
- "0x017700",
- "0xea60"
+ "96000",
+ "60000"
],
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0x00"
+ ""
]
}
}