aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-06-25 19:55:23 +0800
committerChristian Parpart <christian@ethereum.org>2018-06-25 19:55:23 +0800
commitf44561aeebf4685364d2e3b9cbff1382ba1f6507 (patch)
treecdfc589e269f72bcd09e537f97153171a5873aa6
parent9b67bdb3f47754006e8c3d93cd72db2f0700b073 (diff)
downloaddexon-solidity-f44561aeebf4685364d2e3b9cbff1382ba1f6507.tar.gz
dexon-solidity-f44561aeebf4685364d2e3b9cbff1382ba1f6507.tar.zst
dexon-solidity-f44561aeebf4685364d2e3b9cbff1382ba1f6507.zip
Fixes soltest against "recent" cpp-ethereum builds.
For me, it looks like the following Git commit has introduced this behaviour: https://github.com/ethereum/cpp-ethereum/commit/42b927d7aa103e21e34c8ba8c5469f532b49f966 This commit adds dummy values for `mixHash` and `nonce` (inspired by values were cpp-ethereum's own tests), and now, soltest runs fine again.
-rw-r--r--test/RPCSession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 4671edf4..160b0047 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -245,6 +245,8 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x",
"gasLimit": "0x1000000000000",
+ "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "nonce": "0x0000000000000042",
"difficulty": "1"
},
"accounts": {