diff options
author | Christian Parpart <christian@ethereum.org> | 2018-06-25 19:55:23 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-06-25 19:55:23 +0800 |
commit | f44561aeebf4685364d2e3b9cbff1382ba1f6507 (patch) | |
tree | cdfc589e269f72bcd09e537f97153171a5873aa6 | |
parent | 9b67bdb3f47754006e8c3d93cd72db2f0700b073 (diff) | |
download | dexon-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.cpp | 2 |
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": { |