aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests/stCallCreateCallCodeTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'StateTests/stCallCreateCallCodeTest.json')
-rw-r--r--StateTests/stCallCreateCallCodeTest.json169
1 files changed, 46 insertions, 123 deletions
diff --git a/StateTests/stCallCreateCallCodeTest.json b/StateTests/stCallCreateCallCodeTest.json
index fb29114b4..5a4b07d41 100644
--- a/StateTests/stCallCreateCallCodeTest.json
+++ b/StateTests/stCallCreateCallCodeTest.json
@@ -4,7 +4,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -67,10 +67,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x10000000d788",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -81,7 +81,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -146,10 +146,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0xefe17a",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -160,7 +160,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -224,10 +224,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0xffffffffffffffffffffffffffffff",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -238,7 +238,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -301,10 +301,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0xffffffffffffffffffffffffffffff",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -315,7 +315,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -380,10 +380,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0xefe17a",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -394,7 +394,7 @@
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
"currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -458,10 +458,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x028976",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0x0a"
@@ -472,7 +472,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -534,13 +534,13 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x"
+ "value" : "0x0"
}
},
"callWithHighValueAndGasOOG" : {
@@ -548,7 +548,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -610,10 +610,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0x0186a0"
@@ -624,7 +624,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -686,13 +686,13 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x"
+ "value" : "0x0"
}
},
"callWithHighValueOOGinCall" : {
@@ -700,7 +700,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -763,90 +763,13 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x"
- }
- },
- "callWithHighValueOOGinCall" : {
- "env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "256",
- "currentGasLimit" : "30000000",
- "currentNumber" : "0",
- "currentTimestamp" : 1,
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "logs" : [
- ],
- "out" : "0x",
- "post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "100000",
- "code" : "0x60016000600060006000601773945304eb96065b2a98b57a48a06ae28d285a71b5612710f101600055",
- "nonce" : "0",
- "storage" : {
- "0x" : "0x01"
- }
- },
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "60070",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
- "balance" : "23",
- "code" : "0x6001600155603760005360026000f3",
- "nonce" : "0",
- "storage" : {
- }
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999939930",
- "code" : "0x",
- "nonce" : "1",
- "storage" : {
- }
- }
- },
- "postStateRoot" : "64a7fa9e0aa600695d031c61da404a5c2782ccc80a2392833a32cc62bd923cf1",
- "pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "100000",
- "code" : "0x60016000600060006000601773945304eb96065b2a98b57a48a06ae28d285a71b5612710f101600055",
- "nonce" : "0",
- "storage" : {
- }
- },
- "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
- "balance" : "23",
- "code" : "0x6001600155603760005360026000f3",
- "nonce" : "0",
- "storage" : {
- }
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1000000000000000000",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : "",
- "gasLimit" : "3000000",
- "gasPrice" : "1",
- "nonce" : "0",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0"
+ "value" : "0x0"
}
},
"callcodeWithHighValue" : {
@@ -854,7 +777,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -916,13 +839,13 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x"
+ "value" : "0x0"
}
},
"callcodeWithHighValueAndGasOOG" : {
@@ -930,7 +853,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x01c9c380",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -992,10 +915,10 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x2dc6c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0x0186a0"
@@ -1006,7 +929,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x0f4240",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -1067,7 +990,7 @@
"data" : "0x60406103ca600439600451602451336000819055506000600481905550816001819055508060028190555042600581905550336003819055505050610381806100496000396000f30060003560e060020a9004806343d726d61461004257806391b7f5ed14610050578063d686f9ee14610061578063f5bade661461006f578063fcfff16f1461008057005b61004a6101de565b60006000f35b61005b6004356100bf565b60006000f35b610069610304565b60006000f35b61007a60043561008e565b60006000f35b6100886100f0565b60006000f35b600054600160a060020a031633600160a060020a031614156100af576100b4565b6100bc565b806001819055505b50565b600054600160a060020a031633600160a060020a031614156100e0576100e5565b6100ed565b806002819055505b50565b600054600160a060020a031633600160a060020a031614806101255750600354600160a060020a031633600160a060020a0316145b61012e57610161565b60016004819055507f59ebeb90bc63057b6515673c3ecf9438e5058bca0f92585014eced636878c9a560006000a16101dc565b60045460011480610173575060015434105b6101b85760016004819055507f59ebeb90bc63057b6515673c3ecf9438e5058bca0f92585014eced636878c9a560006000a142600581905550336003819055506101db565b33600160a060020a03166000346000600060006000848787f16101d757005b5050505b5b565b60006004546000146101ef576101f4565b610301565b600054600160a060020a031633600160a060020a031614801561022c5750600054600160a060020a0316600354600160a060020a0316145b61023557610242565b6000600481905550610301565b600354600160a060020a031633600160a060020a03161461026257610300565b600554420360025402905060015481116102c757600354600160a060020a0316600082600154036000600060006000848787f161029b57005b505050600054600160a060020a03166000826000600060006000848787f16102bf57005b5050506102ee565b600054600160a060020a031660006001546000600060006000848787f16102ea57005b5050505b60006004819055506000546003819055505b5b50565b6000600054600160a060020a031633600160a060020a031614156103275761032c565b61037e565b600554420360025402905060015481116103455761037d565b600054600160a060020a031660006001546000600060006000848787f161036857005b50505060006004819055506000546003819055505b5b505600000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000023",
"gasLimit" : "0x0927c0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : "0x0186a0"
@@ -1078,7 +1001,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x0f4240",
- "currentNumber" : "0x",
+ "currentNumber" : "0x0",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -1126,13 +1049,13 @@
}
},
"transaction" : {
- "data" : "0x",
+ "data" : "",
"gasLimit" : "0x0493e0",
"gasPrice" : "0x01",
- "nonce" : "0x",
+ "nonce" : "0x0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x"
+ "value" : "0x0"
}
}
} \ No newline at end of file