Skip to content

Commit

Permalink
fixup! test(a3p): add genesis fork acceptance test
Browse files Browse the repository at this point in the history
Review feedback
  • Loading branch information
mhofman committed Jun 23, 2024
1 parent 23d49b5 commit b7df1d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions a3p-integration/proposals/z:acceptance/genesis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export_genesis() {
}

killAgd
FORK_TEST_DIR=$(mktemp -t -d fork-test-XXX)
mkdir -p $FORK_TEST_DIR/config
cp /root/.agoric/config/priv_validator_key.json $FORK_TEST_DIR/config
agd --home $FORK_TEST_DIR tendermint unsafe-reset-all
FORK_TEST_DIR="$(mktemp -t -d fork-test-XXX)"
mkdir -p "$FORK_TEST_DIR/config"
cp /root/.agoric/config/priv_validator_key.json "$FORK_TEST_DIR/config"
agd --home "$FORK_TEST_DIR" tendermint unsafe-reset-all

export_genesis $FORK_TEST_DIR/config
startAgd --home $FORK_TEST_DIR
export_genesis "$FORK_TEST_DIR/config"
startAgd --home "$FORK_TEST_DIR"

0 comments on commit b7df1d0

Please sign in to comment.