aboutsummaryrefslogtreecommitdiffstats
path: root/stInitCodeTestFiller.json
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-03-11 23:22:11 +0800
committerwinsvega <winsvega@mail.ru>2015-03-11 23:22:11 +0800
commit1fef77a9682af50f83e8875c45180305bafb9e32 (patch)
tree650b19831be0e205b6fe8106b3a912163f81c2f7 /stInitCodeTestFiller.json
parent9db703b5b1c0c5785d2759242260620fb0345b03 (diff)
downloaddexon-solidity-1fef77a9682af50f83e8875c45180305bafb9e32.tar.gz
dexon-solidity-1fef77a9682af50f83e8875c45180305bafb9e32.tar.zst
dexon-solidity-1fef77a9682af50f83e8875c45180305bafb9e32.zip
State Tests
POC9 updates
Diffstat (limited to 'stInitCodeTestFiller.json')
-rw-r--r--stInitCodeTestFiller.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/stInitCodeTestFiller.json b/stInitCodeTestFiller.json
index cb1b4d14..2c155468 100644
--- a/stInitCodeTestFiller.json
+++ b/stInitCodeTestFiller.json
@@ -371,6 +371,46 @@
}
},
+ "CallContractToCreateContractOOGBonusGas" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "100000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87": {
+ "balance": "112",
+ "nonce": "0",
+ "//": "(CREATE 0 64 32)",
+ "//": "{[[0]] 12 (MSTORE 32 0x602060406000f0)(RETURN 57 7)}",
+ "code": "{(MSTORE 0 0x600c60005566602060406000f060205260076039f3)[[0]](CREATE 1 11 21)(CALL 0 (SLOAD 0) 12 0 0 0 0)}",
+ "storage": {}
+ },
+
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" :
+ {
+ "data" : "0x00",
+ "gasLimit" : "20000000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0"
+ }
+ },
+
"CallContractToCreateContractOOG" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -385,6 +425,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87": {
"balance": "0",
"nonce": "0",
+ "//": "Create should fail. So CALL goes to 0x0...0",
"//": "(CREATE 0 64 32)",
"//": "{[[0]] 12 (MSTORE 32 0x602060406000f0)(RETURN 57 7)}",
"code": "{(MSTORE 0 0x600c60005566602060406000f060205260076039f3)[[0]](CREATE 1 11 21)(CALL 0 (SLOAD 0) 0 0 0 0 0)}",