aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stCallCreateCallCodeTest
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stCallCreateCallCodeTest')
-rw-r--r--src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024OOGFiller.json21
-rw-r--r--src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json16
-rw-r--r--src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Callcode1024OOGFiller.json15
-rw-r--r--src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallcodeLoseGasOOGFiller.json20
-rw-r--r--src/GeneralStateTestsFiller/stCallCreateCallCodeTest/callWithHighValueAndOOGatTxLevelFiller.json15
5 files changed, 76 insertions, 11 deletions
diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024OOGFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024OOGFiller.json
index 70451ccfc..76d386642 100644
--- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024OOGFiller.json
+++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024OOGFiller.json
@@ -10,7 +10,7 @@
},
"expect" : [
{
- "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "indexes" : { "data" : -1, "gas" : 0, "value" : -1 },
"network" : ["Frontier"],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -23,8 +23,21 @@
}
},
{
- "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
- "network" : [">=Byzantium" ],
+ "indexes" : { "data" : -1, "gas" : 0, "value" : -1 },
+ "network" : ["Byzantium" ],
+ "result" : {
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x85",
+ "0x01" : "0x01",
+ "0x02" : "0x020789"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : { "data" : -1, "gas" : 1, "value" : -1 },
+ "network" : [">=Constantinople" ],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
@@ -64,7 +77,7 @@
""
],
"gasLimit" : [
- "15720826"
+ "15720826", "11220826"
],
"gasPrice" : "1",
"nonce" : "",
diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json
index 4f3ad1e73..11940319b 100644
--- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json
+++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json
@@ -24,7 +24,7 @@
},
{
"indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
- "network" : [">=Byzantium" ],
+ "network" : ["Byzantium" ],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
@@ -35,6 +35,20 @@
}
}
}
+ },
+ {
+ "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "network" : [">=Constantinople" ],
+ "result" : {
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x0401",
+ "0x01" : "0x01",
+ "0x02" : "0x00",
+ "0x03" : "0x00"
+ }
+ }
+ }
}
],
"pre" : {
diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Callcode1024OOGFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Callcode1024OOGFiller.json
index fdd6bb2f0..13842837a 100644
--- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Callcode1024OOGFiller.json
+++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Callcode1024OOGFiller.json
@@ -24,7 +24,7 @@
},
{
"indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
- "network" : [">=Byzantium" ],
+ "network" : ["Byzantium" ],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
@@ -34,6 +34,19 @@
}
}
}
+ },
+ {
+ "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "network" : [">=Constantinople" ],
+ "result" : {
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x9b",
+ "0x01" : "0x01",
+ "0x02" : "0x025d79"
+ }
+ }
+ }
}
],
"pre" : {
diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallcodeLoseGasOOGFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallcodeLoseGasOOGFiller.json
index bb67d9af3..86b790b4b 100644
--- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallcodeLoseGasOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallcodeLoseGasOOGFiller.json
@@ -10,7 +10,7 @@
},
"expect" : [
{
- "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "indexes" : { "data" : -1, "gas" : 0, "value" : -1 },
"network" : ["Frontier"],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -22,8 +22,20 @@
}
},
{
- "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
- "network" : [">=Byzantium" ],
+ "indexes" : { "data" : -1, "gas" : 0, "value" : -1 },
+ "network" : ["Byzantium" ],
+ "result" : {
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00",
+ "0x02" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : { "data" : -1, "gas" : 1, "value" : -1 },
+ "network" : [">=Constantinople" ],
"result" : {
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
@@ -62,7 +74,7 @@
""
],
"gasLimit" : [
- "166262"
+ "166262", "156262"
],
"gasPrice" : "1",
"nonce" : "",
diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/callWithHighValueAndOOGatTxLevelFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/callWithHighValueAndOOGatTxLevelFiller.json
index a1ec7c300..664ccff49 100644
--- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/callWithHighValueAndOOGatTxLevelFiller.json
+++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/callWithHighValueAndOOGatTxLevelFiller.json
@@ -24,7 +24,7 @@
},
{
"indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
- "network" : [ ">=Byzantium" ],
+ "network" : [ "Byzantium" ],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
@@ -34,6 +34,19 @@
"balance" : "33424"
}
}
+ },
+ {
+ "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "network" : [ ">=Constantinople" ],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "28624"
+ }
+ }
}
],
"pre" : {