diff options
author | chriseth <chris@ethereum.org> | 2018-06-15 06:23:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 06:23:10 +0800 |
commit | dea9646a1dbc9910b43bcfb0f08ff914863f4adc (patch) | |
tree | ead674e8564f2dd632b12546c78acc5f55dfa0a5 | |
parent | dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (diff) | |
parent | 0319b184ce2e297584097e92a16cb695255f4246 (diff) | |
download | dexon-solidity-dea9646a1dbc9910b43bcfb0f08ff914863f4adc.tar.gz dexon-solidity-dea9646a1dbc9910b43bcfb0f08ff914863f4adc.tar.zst dexon-solidity-dea9646a1dbc9910b43bcfb0f08ff914863f4adc.zip |
Merge pull request #4298 from ethereum/rpcDifficultyFix
Fix ipc tests for recent versions of cpp-ethereum.
-rw-r--r-- | Changelog.md | 1 | ||||
-rw-r--r-- | test/RPCSession.cpp | 3 |
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 } } }, |