aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json31
1 files changed, 28 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json b/src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json
index 2b926b1db..12f604108 100644
--- a/src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json
+++ b/src/GeneralStateTestsFiller/stSolidityTest/CallLowLevelCreatesSolidityFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : "Frontier",
+ "network" : ["ALL"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
@@ -29,8 +29,33 @@
],
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "//" : "}",
"balance" : "100000",
+ "//": "contract subcaller ",
+ "//": "{ ",
+ "//": " function init(address a) ",
+ "//": " { ",
+ "//": " main(a).setdata(225); ",
+ "//": " } ",
+ "//": "} ",
+ "//": " ",
+ "//": "contract main ",
+ "//": "{ ",
+ "//": " uint data; ",
+ "//": " address msgsender; ",
+ "//": " function run() returns (uint) ",
+ "//": " { ",
+ "//": " data = 1; ",
+ "//": " msgsender = 0x095e7baea6a6c7c4c2dfeb977efac326af552d87; ",
+ "//": " subcaller a = new subcaller(); ",
+ "//": " a.init(msgsender); ",
+ "//": " return data; ",
+ "//": " } ",
+ "//": " ",
+ "//": " function setdata(uint _data) ",
+ "//": " { ",
+ "//": " data = _data; ",
+ "//": " } ",
+ "//": "}",
"code" : "0x60003560e060020a9004806330debb4214610021578063c04062261461003257005b61002c6004356100c7565b60006000f35b61003a610044565b8060005260206000f35b60006000600160008190555073095e7baea6a6c7c4c2dfeb977efac326af552d87600181905550606a6100d2600039606a60006000f0905080600160a060020a03166319ab453c600060008260e060020a026000526004600154600160a060020a03168152602001600060008660325a03f16100bc57005b505060005491505090565b80600081905550505600605e80600c6000396000f30060003560e060020a9004806319ab453c14601557005b601e6004356024565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660325a03f1605957005b50505056",
"nonce" : "0",
"storage" : {
@@ -60,4 +85,4 @@
]
}
}
-} \ No newline at end of file
+}