Skip to content

Commit

Permalink
test: work-around cli bug
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 24, 2025
1 parent 1d15d42 commit 36af5e5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions a3p-integration/proposals/f:fast-usdc/test/test-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ set -euo pipefail
# Usage:
# agd keys show [name_or_address [name_or_address...]] [flags]

yarn fast-usdc operator accept >| accept.json
echo CLI test accepting operator invitation
ACCEPT_OFFER_ID=fastUsdcTestAccept
yarn fast-usdc operator accept --offerId $ACCEPT_OFFER_ID >|accept.json
cat accept.json
yarn agoric wallet send --offer accept.json --from agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q --keyring-backend test
ACCEPT_OFFER_ID=$(agoric wallet extract-id --offer accept.json)
# UNTIL https://github.com/Agoric/agoric-sdk/issues/10891
# ACCEPT_OFFER_ID=$(agoric wallet extract-id --offer accept.json)

yarn fast-usdc operator attest --previousOfferId="$ACCEPT_OFFER_ID" --forwardingChannel=foo --recipientAddress=agoric1foo --blockHash=0xfoo --blockNumber=1 --chainId=3 --amount=123 --forwardingAddress=noble1foo --sender 0xfoo --txHash=0xtx >| attest.json
yarn fast-usdc operator attest --previousOfferId="$ACCEPT_OFFER_ID" --forwardingChannel=foo --recipientAddress=agoric1foo --blockHash=0xfoo --blockNumber=1 --chainId=3 --amount=123 --forwardingAddress=noble1foo --sender 0xfoo --txHash=0xtx >|attest.json
cat attest.json
yarn agoric wallet send --offer attest.json --from agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q --keyring-backend test

Expand Down

0 comments on commit 36af5e5

Please sign in to comment.