Merge pull request #4298 from ethereum/rpcDifficultyFix

Fix ipc tests for recent versions of cpp-ethereum.
This commit is contained in:
chriseth 2018-06-15 00:23:10 +02:00 committed by GitHub
commit dea9646a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 } } },