mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2896 from ethereum/test-genesis
Format chainparams fields properly in tests
This commit is contained in:
commit
5c28458920
@ -42,8 +42,8 @@ elif [ -z $CI ]; then
|
|||||||
ETH_PATH="eth"
|
ETH_PATH="eth"
|
||||||
else
|
else
|
||||||
mkdir -p /tmp/test
|
mkdir -p /tmp/test
|
||||||
wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
|
wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth_byzantium
|
||||||
test "$(shasum /tmp/test/eth)" = "c132e8989229e4840831a4fb1a1d058b732a11d5 /tmp/test/eth"
|
test "$(shasum /tmp/test/eth)" = "6e16ae5e0a0079d85fd63fb43547be3c52410e7e /tmp/test/eth"
|
||||||
sync
|
sync
|
||||||
chmod +x /tmp/test/eth
|
chmod +x /tmp/test/eth
|
||||||
sync # Otherwise we might get a "text file busy" error
|
sync # Otherwise we might get a "text file busy" error
|
||||||
|
@ -217,11 +217,11 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
|
|||||||
{
|
{
|
||||||
"sealEngine": "NoProof",
|
"sealEngine": "NoProof",
|
||||||
"params": {
|
"params": {
|
||||||
"accountStartNonce": "0x",
|
"accountStartNonce": "0x00",
|
||||||
"maximumExtraDataSize": "0x1000000",
|
"maximumExtraDataSize": "0x1000000",
|
||||||
"blockReward": "0x",
|
"blockReward": "0x",
|
||||||
"allowFutureBlocks": "1",
|
"allowFutureBlocks": true,
|
||||||
"homsteadForkBlock": "0x00",
|
"homesteadForkBlock": "0x00",
|
||||||
"EIP150ForkBlock": "0x00",
|
"EIP150ForkBlock": "0x00",
|
||||||
"EIP158ForkBlock": "0x00"
|
"EIP158ForkBlock": "0x00"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user