aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.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_3_09984_39936_22000.json
parent0250b5e7a3371ac7f0b7a4f6796c0c67cc04f034 (diff)
downloadtangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.gz
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.bz2
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.lz
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.xz
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.tar.zst
tangerine-tests-9741ed0bc1fb660c5ffefd751c24bc739104ce5e.zip
refill precompiled tests
add execution on <100000 100000+x >100000 gas for each test
Diffstat (limited to 'GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json144
1 files changed, 135 insertions, 9 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json b/GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json
index 54a3cbbb4..e1bd09797 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp_3_09984_39936_22000.json
@@ -2,8 +2,8 @@
"modexp_3_09984_39936_22000" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++",
- "source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json"
+ "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json"
},
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
@@ -13,7 +13,6 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
- "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",
"post" : {
"Byzantium" : [
{
@@ -24,14 +23,30 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- }
- ],
- "Constantinople" : [
+ },
{
- "hash" : "0x70240d70b3a3bc6b69e9e0442519e5233506203cb341d794af639d2d1508417d",
+ "hash" : "0xadcf26a37daf3d679eace8ac7ded45023d25f523f84b4c19a8286dec13df3f6c",
"indexes" : {
"data" : 0,
- "gas" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xadcf26a37daf3d679eace8ac7ded45023d25f523f84b4c19a8286dec13df3f6c",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xadcf26a37daf3d679eace8ac7ded45023d25f523f84b4c19a8286dec13df3f6c",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -46,6 +61,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP158" : [
@@ -57,6 +99,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
@@ -68,6 +137,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa1448f1165877322c0f2bc6b85d2d80b5eb212c9211f3950ae8d06a2684732a0",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x69180fbda0bf18804b0e70a76514b91b09a7dfe15beef6dbb527b1dd45b7898e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf7bc67ded23e4fa7d3ab53a43b54f50d753bddbbbc2b1e7f070c0fc5b6906ea4",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Homestead" : [
@@ -79,6 +175,33 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa1448f1165877322c0f2bc6b85d2d80b5eb212c9211f3950ae8d06a2684732a0",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x69180fbda0bf18804b0e70a76514b91b09a7dfe15beef6dbb527b1dd45b7898e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf7bc67ded23e4fa7d3ab53a43b54f50d753bddbbbc2b1e7f070c0fc5b6906ea4",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
@@ -166,7 +289,10 @@
"0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000021034000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [
- "0xaf08"
+ "0xaf08",
+ "0x015f90",
+ "0x01adb0",
+ "0x030d40"
],
"gasPrice" : "0x1",
"nonce" : "0x1",