-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from jtremback/try-persistent-peers
Try persistent peers
- Loading branch information
Showing
8 changed files
with
186 additions
and
168 deletions.
There are no files selected for viewing
Submodule interchain-security
updated
3 files
+1 −3 | go.mod | |
+0 −292 | go.sum | |
+2 −2 | x/ccv/child/types/genesis.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
#!/bin/bash | ||
# set -eux | ||
# If -e is not set then if the build fails, it will use the old container, resulting in a very confusing debugging situation | ||
# Setting -e makes it error out if the build fails | ||
set -eux | ||
|
||
CONTAINER_NAME=$1 | ||
INSTANCE_NAME=$2 | ||
# Must be in this format "-p 9090:9090 -p 26657:26657 -p 1317:1317 -p 8545:8545" | ||
EXPOSE_PORTS=$3 | ||
|
||
# Build the Docker container | ||
docker build -t "$CONTAINER_NAME" . | ||
|
||
# Remove existing container instance | ||
set +e | ||
docker rm -f "$INSTANCE_NAME" | ||
set -e | ||
|
||
# Build the Docker container | ||
docker build -t "$CONTAINER_NAME" . | ||
|
||
# Run new test container instance | ||
docker run --name "$INSTANCE_NAME" --cap-add=NET_ADMIN $EXPOSE_PORTS "$CONTAINER_NAME" /bin/bash /testnet-scripts/beacon.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.