Skip to content

Commit

Permalink
test(cosmic-swingset): pay 10 BLD to provision my own acct
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 12, 2022
1 parent 0064bb2 commit 1b329dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ fund-acct: wait-for-cosmos

provision-acct: wait-for-cosmos
$(AGCH) --chain-id=$(CHAIN_ID) \
--home=t1/bootstrap --keyring-backend=test --from=bootstrap \
--home t1/8000/ag-cosmos-helper-statedir --keyring-backend=test --from=ag-solo \
tx swingset provision-one t1/$(BASE_PORT) $(ACCT_ADDR) SMART_WALLET \
--gas=auto --gas-adjustment=$(GAS_ADJUSTMENT) --broadcast-mode=block --yes

Expand Down
4 changes: 2 additions & 2 deletions packages/cosmic-swingset/test/test-make.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ test.serial('PSM bootstrap and provision', async t => {
provision(),
]);

t.log('verify 0.25 IST received');
t.log('verify 10BLD spent, 0.25 IST received');
t.deepEqual(addrQ.balances, [
{ amount: '123000000', denom: 'ubld' },
{ amount: '113000000', denom: 'ubld' },
{ amount: '250000', denom: 'uist' },
]);
});

0 comments on commit 1b329dd

Please sign in to comment.