Skip to content

Commit

Permalink
fix: avoid collision migrating keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Apr 17, 2024
1 parent 744857c commit 2bf1073
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion contract/scripts/install-bundles.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
#!/bin/bash
# NOTE: intended to run _inside_ the agd container

set -xueo pipefail
set -ueo pipefail

SCRIPTS=$(dirname "${BASH_SOURCE[0]}")
source "$SCRIPTS/wait-for-block.sh"

cd /workspace/contract

# wait for blocks to start being produced
# avoid collision with run-chain.sh who is also migrating keys
waitForBlock 4
set -x

# TODO: try `agoric publish` to better track outcome
install_bundle() {
ls -sh "$1"
Expand Down

0 comments on commit 2bf1073

Please sign in to comment.