Skip to content

Commit

Permalink
fix(ag-nchainz): provision solos with agoric.vattp capability
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 28, 2020
1 parent 3bb1703 commit e9fc9ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cosmic-swingset/bin/ag-nchainz
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ testnet)
addr=$(cat $solo/ag-cosmos-helper-address)
$DAEMON add-genesis-account --home=$n0d \
--home-client=$solo/$CLI-statedir --keyring-backend=test \
ag-solo 1000uag
ag-solo 1000uag,1provisionpass
# Generate powerful SwingSet egresses.
egresses="$egresses$sep{\"nickname\":\"$solo\",\"peer\":\"$addr\",\"powerFlags\":$POWER_FLAGS}"
sep=,
Expand Down Expand Up @@ -120,6 +120,11 @@ start-solos)
cd "$solo"
n0d=../n0/$DAEMON

addr=$(cat ag-cosmos-helper-address)
$CLI --home=./$CLI-statedir tx swingset provision-one \
"$solo" "$addr" agoric.vattp \
--keyring-backend=test --from=ag-solo --yes

# Now wire into the chain.
gci=`$thisdir/../calc-gci.js $n0d/config/genesis.json`
rpcport=`$thisdir/../calc-rpcport.js $n0d/config/config.toml`
Expand Down

0 comments on commit e9fc9ed

Please sign in to comment.