aboutsummaryrefslogtreecommitdiffstats
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
parentdc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (diff)
downloaddexon-solidity-0319b184ce2e297584097e92a16cb695255f4246.tar.gz
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.
-rw-r--r--Changelog.md1
-rw-r--r--test/RPCSession.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog.md b/Changelog.md
index 4389fbd9..6a7c8da2 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -28,6 +28,7 @@ Compiler Features:
* Type Checker: Show named argument in case of error.
Bugfixes:
+ * Tests: Fix chain parameters to make ipc tests work with newer versions of cpp-ethereum.
### 0.4.24 (2018-05-16)
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 } } },