aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-03 21:07:58 +0800
committerGitHub <noreply@github.com>2018-07-03 21:07:58 +0800
commit96a04be6842a15bbad22fb67a6aab9a9e9130636 (patch)
treef912087ac384919fa6faeec7693aadf226178753
parent09f3532ea961198d07e9b2b54ceefd6368d74770 (diff)
parent7b7df90e7643f09e8bbc6592b5d3e974919ebac4 (diff)
downloaddexon-solidity-96a04be6842a15bbad22fb67a6aab9a9e9130636.tar.gz
dexon-solidity-96a04be6842a15bbad22fb67a6aab9a9e9130636.tar.zst
dexon-solidity-96a04be6842a15bbad22fb67a6aab9a9e9130636.zip
Merge pull request #4389 from ethereum/soltestfix
fix default difficulty to comply with YP rules
-rw-r--r--test/RPCSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 9a253794..b9b19b2f 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -255,8 +255,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 } } },