aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-09-12 20:56:29 +0800
committerDimitry <winsvega@mail.ru>2017-09-12 21:26:35 +0800
commit9741ed0bc1fb660c5ffefd751c24bc739104ce5e (patch)
tree38c3e2e531e531a13f7b2495b9f7e11a65c64a2d /GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json
parent0250b5e7a3371ac7f0b7a4f6796c0c67cc04f034 (diff)
downloaddexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.gz
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.bz2
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.lz
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.xz
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.zst
dexon-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.zip
refill precompiled tests
add execution on <100000 100000+x >100000 gas for each test
Diffstat (limited to 'GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json144
1 files changed, 135 insertions, 9 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json b/GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json
index e7bc55fe0..a9addf209 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp_37120_37111_97_20500.json
@@ -2,8 +2,8 @@
"modexp_37120_37111_97_20500" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++",
- "source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json"
+ "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_20500Filler.json"
},
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
@@ -13,7 +13,6 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
- "explanation" : "Puts the base 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137120, exponent 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137111 and modulus 97 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas",
"post" : {
"Byzantium" : [
{
@@ -24,14 +23,30 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Constantinople" : [
+ },
{
- "hash" : "0x52671cca402f6ea20c1f17b4854d7bc9deb29b7f38a2ae3528685f903eabc35d",
+ "hash" : "0x708237ca0dfceaafb51bf7f9cb5efdebf0b109f7b60dad55d54f0284b5febed7",
"indexes" : {
"data" : 0,
- "gas" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x66f21cbe1a60badc0952992953e337df1c6cd4441cc8ded116bf5c18e0a67db7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x72f619093124570ae3abd9b4662ae2dce7e752392fd74cd7ccf8f6e551a3e3aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -46,6 +61,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP158" : [
@@ -57,6 +99,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc8fc3bad240d964fda1961988805ca4c903b1399b7d2eb4abbe9b9640b7d3956",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
@@ -68,6 +137,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x708237ca0dfceaafb51bf7f9cb5efdebf0b109f7b60dad55d54f0284b5febed7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x66f21cbe1a60badc0952992953e337df1c6cd4441cc8ded116bf5c18e0a67db7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x72f619093124570ae3abd9b4662ae2dce7e752392fd74cd7ccf8f6e551a3e3aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Homestead" : [
@@ -79,6 +175,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x708237ca0dfceaafb51bf7f9cb5efdebf0b109f7b60dad55d54f0284b5febed7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x66f21cbe1a60badc0952992953e337df1c6cd4441cc8ded116bf5c18e0a67db7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x72f619093124570ae3abd9b4662ae2dce7e752392fd74cd7ccf8f6e551a3e3aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
@@ -166,7 +289,10 @@
"0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000161000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff976100000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [
- "0xebec"
+ "0xebec",
+ "0x015f90",
+ "0x01adb0",
+ "0x030d40"
],
"gasPrice" : "0x1",
"nonce" : "0x1",