diff options
author | Boris Kostenko <limexp@mail.ru> | 2017-10-24 17:42:48 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-24 17:42:48 +0800 |
commit | 3c91564dd9b8d2e32ecd060c850c8eb85f97712a (patch) | |
tree | 053075bf6f9a9aa1cdcbd697ccd2f9488eda1630 /test/RPCSession.cpp | |
parent | 1313e9d8826750fe615bf73565a7fe12e0ff3b92 (diff) | |
download | dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar.gz dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar.bz2 dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar.lz dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar.xz dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.tar.zst dexon-solidity-3c91564dd9b8d2e32ecd060c850c8eb85f97712a.zip |
Include modexp precompile in genesis for testing (#3114)
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r-- | test/RPCSession.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index c06c3997..60aafc85 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -240,9 +240,10 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts) "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 } } }, - "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 } } } + "0000000000000000000000000000000000000005": { "wei": "1", "precompiled": { "name": "modexp" } }, + "0000000000000000000000000000000000000006": { "wei": "1", "precompiled": { "name": "alt_bn128_G1_add", "linear": { "base": 500, "word": 0 } } }, + "0000000000000000000000000000000000000007": { "wei": "1", "precompiled": { "name": "alt_bn128_G1_mul", "linear": { "base": 40000, "word": 0 } } }, + "0000000000000000000000000000000000000008": { "wei": "1", "precompiled": { "name": "alt_bn128_pairing_product" } } } } )"; |