aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.cpp
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-06-14 22:41:02 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-06-14 22:46:10 +0800
commit0319b184ce2e297584097e92a16cb695255f4246 (patch)
treeead674e8564f2dd632b12546c78acc5f55dfa0a5 /test/RPCSession.cpp
parentdc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (diff)
downloaddexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.gz
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.bz2
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.lz
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.xz
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.zst
dexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.zip
Add difficulty field to genesis chain parameters to fix ipc tests for recent versions of cpp-ethereum.
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r--test/RPCSession.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index f4eae865..4671edf4 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -244,7 +244,8 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
"timestamp": "0x00",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x",
- "gasLimit": "0x1000000000000"
+ "gasLimit": "0x1000000000000",
+ "difficulty": "1"
},
"accounts": {
"0000000000000000000000000000000000000001": { "wei": "1", "precompiled": { "name": "ecrecover", "linear": { "base": 3000, "word": 0 } } },