aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-09 17:09:20 +0800
committerchriseth <chris@ethereum.org>2017-10-09 17:09:20 +0800
commit9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9 (patch)
tree51e9dbdc5312c13397b9e4e07165eec4ad3f0ce6 /test/RPCSession.cpp
parent6f832cacde44ba02c663ce2d90a381b567ec3e2c (diff)
downloaddexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar.gz
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar.bz2
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar.lz
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar.xz
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.tar.zst
dexon-solidity-9ee619c9bba5cdbabfa9d587a0c726d1eaae9be9.zip
Snarks test using Byzantium precompiles
* Snark tests. * Verifying routine. * Example proof. * Update precompiled positions to Byzantium ruleset.
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r--test/RPCSession.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 768c8c4b..72b26453 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -236,7 +236,10 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
"0000000000000000000000000000000000000001": { "wei": "1", "precompiled": { "name": "ecrecover", "linear": { "base": 3000, "word": 0 } } },
"0000000000000000000000000000000000000002": { "wei": "1", "precompiled": { "name": "sha256", "linear": { "base": 60, "word": 12 } } },
"0000000000000000000000000000000000000003": { "wei": "1", "precompiled": { "name": "ripemd160", "linear": { "base": 600, "word": 120 } } },
- "0000000000000000000000000000000000000004": { "wei": "1", "precompiled": { "name": "identity", "linear": { "base": 15, "word": 3 } } }
+ "0000000000000000000000000000000000000004": { "wei": "1", "precompiled": { "name": "identity", "linear": { "base": 15, "word": 3 } } },
+ "0000000000000000000000000000000000000006": { "wei": "1", "precompiled": { "name": "alt_bn128_G1_add", "linear": { "base": 15, "word": 3 } } },
+ "0000000000000000000000000000000000000007": { "wei": "1", "precompiled": { "name": "alt_bn128_G1_mul", "linear": { "base": 15, "word": 3 } } },
+ "0000000000000000000000000000000000000008": { "wei": "1", "precompiled": { "name": "alt_bn128_pairing_product", "linear": { "base": 15, "word": 3 } } }
}
}
)";