aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-02-16 01:59:47 +0800
committerDimitry <dimitry@ethereum.org>2018-02-16 01:59:47 +0800
commitf62640eeabf3066fa9726c8a61dfa5d50e7daf44 (patch)
tree29090a23ca6c34b99a5ff3905637118b19b78909 /src/GeneralStateTestsFiller
parent772a3d69a704e0670f567abefb6608f942136693 (diff)
downloadtangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.gz
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.bz2
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.lz
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.xz
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.zst
tangerine-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.zip
fix stPreCompiledContracts empty expect
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json18
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_22411_22000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_1000000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_155000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_20500Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_22000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_25000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_35000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_1000000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_155000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_20500Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_25000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_35000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_1000000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_155000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_20500Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_22000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_25000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_35000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_155000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_22000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_25000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_35000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_25000Filler.json79
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_35000Filler.json79
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_28948_11579_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json80
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json82
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_22000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_25000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_1000000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_20500Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_22000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_25000Filler.json79
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_35000Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_1000000Filler.json78
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_155000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_20500Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_22000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_35000Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_3711_37111_25000Filler.json4
93 files changed, 1649 insertions, 132 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
index b97594dc9..1e47922f4 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
@@ -12,7 +12,7 @@
{
"indexes" : {
"data" : -1,
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [ "EIP150", "EIP158"],
@@ -28,7 +28,7 @@
{
"indexes" : {
"data" : [0,6,7],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -44,7 +44,7 @@
{
"indexes" : {
"data" : [29],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -60,7 +60,7 @@
{
"indexes" : {
"data" : [1,5,8,9,10,12,13,15,18,19,20,21,22,23,24,30],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -76,7 +76,7 @@
{
"indexes" : {
"data" : [2,28],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -172,7 +172,7 @@
{
"indexes" : {
"data" : [3,4],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -188,7 +188,7 @@
{
"indexes" : {
"data" : [11, 14, 25, 26],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -204,7 +204,7 @@
{
"indexes" : {
"data" : [16,27],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
@@ -220,7 +220,7 @@
{
"indexes" : {
"data" : [17],
- "gas" : 0,
+ "gas" : -1,
"value" : -1
},
"network" : [">=Byzantium"],
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_1000000Filler.json
index f35841d6b..7ea99cffe 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_155000Filler.json
index 63311cdcf..2bb893905 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_0_0_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_1000000Filler.json
index b69dc4a89..319a395b9 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_155000Filler.json
index 05e9a9f2d..cffd84308 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json
index 617b4f557..edc1543c9 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760856004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 0, exponent 1 and modulus 0 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_22000Filler.json
index 886334b49..76fe22e98 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_25000Filler.json
index 9a705beee..4124de8bb 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_35000Filler.json
index c4bf0e4b8..52078c142 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_1000000Filler.json
index 06d58bef3..cd1a2856c 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_155000Filler.json
index bb371fec5..15c714e8f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_20500Filler.json
index 20acfe136..f351a1d08 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760866004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 0, exponent 3 and modulus 100 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_22000Filler.json
index fc551da26..c3fea4cc8 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_25000Filler.json
index 208407efb..db851a2cb 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_35000Filler.json
index ad7998141..d8a446560 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_3_100_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_1000000Filler.json
index 9995a0f0b..25e5360f8 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_155000Filler.json
index f0d62b5e6..23cd99edc 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_20500Filler.json
index a1423fe3b..d32a9204a 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760856004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 1, exponent 0 and modulus 0 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_22000Filler.json
index f280760c1..7a7015f4c 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_25000Filler.json
index 6005b1a63..07c3d3684 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_35000Filler.json
index 01c6a7258..612254635 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_0_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_1000000Filler.json
index 8a0506b0c..f298e1a8f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_155000Filler.json
index a14ef96d7..2266b8f72 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_20500Filler.json
index 9b969d47c..68e7835ce 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760866004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 1, exponent 0 and modulus 1 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_22000Filler.json
index f51d92b1a..35bcf4c07 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_25000Filler.json
index 3a6c53721..283234d80 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_35000Filler.json
index 94a11a9f9..6c9951668 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_0_1_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_1000000Filler.json
index 607cc12d3..a41aa7cd4 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_155000Filler.json
index 2698a029d..e48b5908d 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_20500Filler.json
index 4ab36a0e8..b2f65a49b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760876004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 1, exponent 1 and modulus 1 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_22000Filler.json
index d20e27a78..75ef0e992 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_25000Filler.json
index 5ad5a5f4c..ff32eb0df 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_35000Filler.json
index 0e1cbb583..d029fc517 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_1_1_1_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_22411_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_22411_22000Filler.json
index 05eb5b16a..f27127ab2 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_22411_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_22411_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999806270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "193730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_1000000Filler.json
index 31bab11c2..b872aca33 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_1000000Filler.json
@@ -170,6 +170,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576101846004356004013511151558576004356004013560200160043560040161014037600161034061014051610160600060056305f5e0fff11558576001610320526103206021806103808284600060046015f150505061038080516020820120905060005561038060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0x00"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137120, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 0 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_155000Filler.json
index dcb39ba1d..b6935a798 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999673526",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "326474",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_20500Filler.json
index 0f9d3059a..da674117f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999808026",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "191974",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_22000Filler.json
index fb00d939c..c66b49aec 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999806526",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "193474",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_25000Filler.json
index 2ee6044de..7a3d4f6bc 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999803526",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "196474",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_35000Filler.json
index 48fecc536..afe956e7f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_0_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999793526",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "206474",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_1000000Filler.json
index 51ae91a81..454ddecc6 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_1000000Filler.json
@@ -170,6 +170,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576101856004356004013511151558576004356004013560200160043560040161014037600161034061014051610160600060056305f5e0fff11558576001610320526103206021806103808284600060046015f150505061038080516020820120905060005561038060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0x00"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137120, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 1 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_155000Filler.json
index 2961f82c3..192aa1250 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999673270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "326730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_20500Filler.json
index 259bfed5d..692d9107c 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999807770",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "192230",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_25000Filler.json
index d72022901..a106a1f0e 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999803270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "196730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_35000Filler.json
index 39214bf76..cb064ea31 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_1_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999793270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "206730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_1000000Filler.json
index 2bb4325fe..0fe60c1ea 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_1000000Filler.json
@@ -170,6 +170,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c57610204600435600401351115155857600435600401356020016004356004016101403760806103c061014051610160600060056305f5e0fff115585760806103a0526103a060a0806104608284600060046022f150505061046080516020820120905060005561046060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0x00"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137120, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_155000Filler.json
index fa3e873c2..7acf70b6b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999664758",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "335242",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_20500Filler.json
index ab4bd5997..c9d2c7b55 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999799258",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "200742",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_22000Filler.json
index baedfb1e9..c4363d6a7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999797758",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "202242",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_25000Filler.json
index b560aa5b8..dc3cac00b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999794758",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "205242",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_35000Filler.json
index 8a6ee5b94..bce361fb0 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_37111_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999784758",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "215242",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json
index 8b9c44062..982f2a48b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json
@@ -170,6 +170,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576101856004356004013511151558576004356004013560200160043560040161014037600161034061014051610160600060056305f5e0fff11558576001610320526103206021806103808284600060046015f150505061038080516020820120905060005561038060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0x0"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137120, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 97 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_155000Filler.json
index 9e179c433..c13872f7a 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999673270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "326730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json
index 864b2ee94..1d333f77e 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999807770",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "192230",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_22000Filler.json
index e39e39731..e6e09d4d7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999806270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "193730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_25000Filler.json
index d9f04fd4f..bc8b36e17 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999803270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "196730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_35000Filler.json
index e7dd8b6cc..d6d7e6dcd 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999793270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "206730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_1000000Filler.json
index ef66f5576..f5e8ded1f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_155000Filler.json
index 9b1918283..52429220f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_20500Filler.json
index 9c13aee72..abab09b82 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602061028061014051610160600060056305f5e0fff11558576020610260526102606040806102c08284600060046018f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0x038ce2d0d81afd6f9db7e4b21a65a2763091c1068647b921ca1e6ff8f640acfe"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 115792089237316195423570985008687907853269984665640564039457584007913129639936, exponent 1 and modulus 21847450052839212624230656502990235142567050104912751880812823948662932355201 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_22000Filler.json
index e0d019f58..52873b3d1 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_25000Filler.json
index 7d59aa09e..0cf4dc6a7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_35000Filler.json
index b12d18e3d..1c8e3cdd6 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_39936_1_55201_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_1000000Filler.json
index f9c4df3ac..644c35308 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_155000Filler.json
index 291234265..6de9ee2d4 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json
index 7dc0309a7..d7469fbc5 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xc13ad76448cbefd1ee83b801bcd8f33061f2577d6118395e7b44ea21c7ef62e0"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 22000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_25000Filler.json
index 84a2efa84..60b651e14 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_25000Filler.json
@@ -170,6 +170,85 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0xc13ad76448cbefd1ee83b801bcd8f33061f2577d6118395e7b44ea21c7ef62e0"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "190113",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 25000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_35000Filler.json
index 76f41ff5c..fcdc91828 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_35000Filler.json
@@ -170,6 +170,85 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0xc13ad76448cbefd1ee83b801bcd8f33061f2577d6118395e7b44ea21c7ef62e0"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "190113",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 35000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_28948_11579_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_28948_11579_20500Filler.json
index d35578f10..3a47dd11f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_28948_11579_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_28948_11579_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xc13ad76448cbefd1ee83b801bcd8f33061f2577d6118395e7b44ea21c7ef62e0"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_1000000Filler.json
index 6f8b2d851..28369ed6d 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json
index 4ae66fb10..9f90ff856 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
index 745c1154f..4b4991812 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
@@ -169,6 +169,86 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760876004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0x728b8dbbe730d9acd55e30e768e6a28a04bea0c61b88108287c2c87d79c98bb8"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "balance": "999999999999824001",
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "175999",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 5 and modulus 100 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_22000Filler.json
index 493963383..8ec616fcc 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_25000Filler.json
index c0a943c20..66d16151f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_35000Filler.json
index 7830ea491..f5a989d26 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_1000000Filler.json
index 8d2c7cb7c..0f8d91427 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_155000Filler.json
index b552ca20f..83f43fc31 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json
index 02b108bd6..4be209cbc 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": [0],
"value": 0
},
"network": [
@@ -169,6 +169,86 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760896004356004013511151558576004356004013560200160043560040161014037600261024061014051610160600060056305f5e0fff11558576002610220526102206022806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0x54a8c0ab653c15bfb48b47fd011ba2b9617af01cb45cab344acd57c924d56798"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "balance": "999999999999823871",
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "176129",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 49, exponent 2401 and modulus 2401 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_22000Filler.json
index 6006d7d7a..31f7e4990 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_25000Filler.json
index 22f3337ea..b1510a856 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_35000Filler.json
index ff0ff7a53..6af336a34 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_1000000Filler.json
index ba39330ae..919b842f7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_1000000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json
index 68dd4dd16..df850926b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_20500Filler.json
index 8d81652d7..70e337f94 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_20500Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760d86004356004013511151558576004356004013560200160043560040161014037601461028061014051610160600060056305f5e0fff11558576014610260526102606034806102c08284600060046017f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xc180ec8d162fccdd700a086100d56543bccabfc357ba4c070df23a92790537bb"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 21847450052839212624230656502990235142567050104912751880812823948662932355190, exponent 21847450052839212624230656502990235142567050104912751880812823948662932355190 and modulus 1461501637330902918203684832716283019655932542965 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_22000Filler.json
index 7c22710e9..ee5c99f0c 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_22000Filler.json
@@ -169,6 +169,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760d86004356004013511151558576004356004013560200160043560040161014037601461028061014051610160600060056305f5e0fff11558576014610260526102606034806102c08284600060046017f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0xc180ec8d162fccdd700a086100d56543bccabfc357ba4c070df23a92790537bb"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 21847450052839212624230656502990235142567050104912751880812823948662932355190, exponent 21847450052839212624230656502990235142567050104912751880812823948662932355190 and modulus 1461501637330902918203684832716283019655932542965 into the MODEXP precompile, saves the hash of the result. Gives the execution 22000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_25000Filler.json
index d470add7b..70c90e0e7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_25000Filler.json
@@ -170,6 +170,85 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760d86004356004013511151558576004356004013560200160043560040161014037601461028061014051610160600060056305f5e0fff11558576014610260526102606034806102c08284600060046017f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0xc180ec8d162fccdd700a086100d56543bccabfc357ba4c070df23a92790537bb"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "194405",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 21847450052839212624230656502990235142567050104912751880812823948662932355190, exponent 21847450052839212624230656502990235142567050104912751880812823948662932355190 and modulus 1461501637330902918203684832716283019655932542965 into the MODEXP precompile, saves the hash of the result. Gives the execution 25000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_35000Filler.json
index 6b3929ec6..173f9c524 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_1000000Filler.json
index 3c9a2d2f2..485602957 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_1000000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_1000000Filler.json
@@ -170,6 +170,84 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576101856004356004013511151558576004356004013560200160043560040161014037608061034061014051610160600060056305f5e0fff115585760806103205261032060a0806103e08284600060046022f15050506103e08051602082012090506000556103e060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00": "0x00"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 9, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_155000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_155000Filler.json
index da2416e3c..581db479b 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_155000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_155000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999673270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "326730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_20500Filler.json
index 34f444590..b7a779743 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_20500Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999807770",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "192230",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_22000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_22000Filler.json
index b757da4a3..bd704e37f 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_22000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_22000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999806270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "193730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_35000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_35000Filler.json
index 1f6fe05ab..8174fe6df 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_35000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_37111_37111_35000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999793270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "206730",
"nonce": "0",
"code": "0x",
"storage": {}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_3711_37111_25000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_3711_37111_25000Filler.json
index 9fc6bd036..dd9cae5c7 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_3711_37111_25000Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_9_3711_37111_25000Filler.json
@@ -95,7 +95,7 @@
{
"indexes": {
"data": 0,
- "gas": 0,
+ "gas": -1,
"value": 0
},
"network": [
@@ -133,7 +133,6 @@
"storage": {}
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
- "balance": "999999999999803270",
"nonce": "2",
"code": "0x",
"storage": {}
@@ -157,7 +156,6 @@
"storage": {}
},
"3535353535353535353535353535353535353535": {
- "balance": "196730",
"nonce": "0",
"code": "0x",
"storage": {}