Add difficulty field to genesis chain parameters to fix ipc tests for recent versions of cpp-ethereum.

This commit is contained in:
Daniel Kirchner 2018-06-14 16:41:02 +02:00
parent dc5cd3e1e7
commit 0319b184ce
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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 } } },