aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-06-30 18:07:30 +0800
committerDimitry <dimitry@ethereum.org>2018-06-30 18:07:30 +0800
commit7b7df90e7643f09e8bbc6592b5d3e974919ebac4 (patch)
tree4b4ae81963b21bb75ab48fe1ce72776586d1b887 /test
parente289c36158701ba0b874051e9e426e270b0e38e2 (diff)
downloaddexon-solidity-7b7df90e7643f09e8bbc6592b5d3e974919ebac4.tar.gz
dexon-solidity-7b7df90e7643f09e8bbc6592b5d3e974919ebac4.tar.zst
dexon-solidity-7b7df90e7643f09e8bbc6592b5d3e974919ebac4.zip
fix default difficulty to comply with YP rules
fix soltest to work with the recent aleth --test
Diffstat (limited to 'test')
-rw-r--r--test/RPCSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 160b0047..48c8a249 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -247,8 +247,8 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
"gasLimit": "0x1000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000042",
- "difficulty": "1"
- },
+ "difficulty": "131072"
+ },
"accounts": {
"0000000000000000000000000000000000000001": { "wei": "1", "precompiled": { "name": "ecrecover", "linear": { "base": 3000, "word": 0 } } },
"0000000000000000000000000000000000000002": { "wei": "1", "precompiled": { "name": "sha256", "linear": { "base": 60, "word": 12 } } },