mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Updates to tests and local testnet for Ganache 7 (#3056)
## Issue Addressed #2961 ## Proposed Changes -- update `--chainId` -> `--chain.chainId` -- remove `--keepAliveTimeout` -- fix log to listen for -- rename `ganache-cli` to `ganache` everywhere Co-authored-by: realbigsean <sean@sigmaprime.io>
This commit is contained in:
@@ -4,7 +4,7 @@ set -Eeuo pipefail
|
||||
|
||||
source ./vars.env
|
||||
|
||||
exec ganache-cli \
|
||||
exec ganache \
|
||||
--defaultBalanceEther 1000000000 \
|
||||
--gasLimit 1000000000 \
|
||||
--accounts 10 \
|
||||
@@ -12,4 +12,4 @@ exec ganache-cli \
|
||||
--port 8545 \
|
||||
--blockTime $SECONDS_PER_ETH1_BLOCK \
|
||||
--networkId "$NETWORK_ID" \
|
||||
--chainId "$NETWORK_ID"
|
||||
--chain.chainId "$NETWORK_ID"
|
||||
|
||||
@@ -86,10 +86,10 @@ execute_command_add_PID() {
|
||||
echo "$!" >> $PID_FILE
|
||||
}
|
||||
|
||||
# Start ganache-cli, setup things up and start the bootnode.
|
||||
# Start ganache, setup things up and start the bootnode.
|
||||
# The delays are necessary, hopefully there is a better way :(
|
||||
|
||||
# Delay to let ganache-cli to get started
|
||||
# Delay to let ganache to get started
|
||||
execute_command_add_PID ganache_test_node.log ./ganache_test_node.sh
|
||||
sleeping 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user