aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertInCallCodeFiller.json22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertInCallCodeFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertInCallCodeFiller.json
index ef3cbf743..1b8019865 100644
--- a/src/GeneralStateTestsFiller/stRevertTest/RevertInCallCodeFiller.json
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertInCallCodeFiller.json
@@ -15,26 +15,42 @@
"gas" : -1,
"value" : -1
},
- "network" : "ALL",
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
"result" : {
"1000000000000000000000000000000000000000" : {
"storage" : {
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : "Byzantium",
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x20",
+ "0x02" : "0x2232"
+ }
+ }
+ }
}
],
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000",
- "code" : "{ [[ 0 ]] (CALLCODE 50000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 1000 0 64 0 64 )}",
+ "code" : "{ [[ 0 ]] (CALLCODE 50000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 1000 0 64 0 64 ) [[ 1 ]] (RETURNDATASIZE) (RETURNDATACOPY 64 0 32) [[ 2 ]] (MLOAD 64) }",
"nonce" : "0",
"storage" : {
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
"balance" : "0",
- "code" : "{ (REVERT 0 0) }",
+ "code" : "{ (MSTORE 0 0x2232) (REVERT 0 32) }",
"nonce" : "0",
"storage" : {
}