From 0319b184ce2e297584097e92a16cb695255f4246 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Thu, 14 Jun 2018 16:41:02 +0200 Subject: Add difficulty field to genesis chain parameters to fix ipc tests for recent versions of cpp-ethereum. --- test/RPCSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/RPCSession.cpp') 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 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 } } }, -- cgit