From 0a22dd2baaa13a9469bb9955258983862c9dbb28 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Tue, 3 Dec 2024 19:12:42 -0600 Subject: [PATCH] chore(fast-usdc): regen snapshots with AGORIC_NET docs --- .../test/cli/snapshots/cli.test.ts.md | 96 ++++++++++++++++-- .../test/cli/snapshots/cli.test.ts.snap | Bin 1557 -> 1731 bytes 2 files changed, 88 insertions(+), 8 deletions(-) diff --git a/packages/fast-usdc/test/cli/snapshots/cli.test.ts.md b/packages/fast-usdc/test/cli/snapshots/cli.test.ts.md index ed8f08e0f82..07607d1eab1 100644 --- a/packages/fast-usdc/test/cli/snapshots/cli.test.ts.md +++ b/packages/fast-usdc/test/cli/snapshots/cli.test.ts.md @@ -25,7 +25,17 @@ Generated by [AVA](https://avajs.dev). withdraw [options] Withdraw assets from the liquidity pool␊ transfer Transfer USDC from Ethereum/L2 to Cosmos via Fast␊ USDC␊ - help [command] display help for command` + help [command] display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for transfer command @@ -40,7 +50,17 @@ Generated by [AVA](https://avajs.dev). dest Destination address in Cosmos␊ ␊ Options:␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for config command @@ -57,7 +77,17 @@ Generated by [AVA](https://avajs.dev). show Show current config␊ init [options] Set initial config values␊ update [options] Update config values␊ - help [command] display help for command` + help [command] display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for config init command @@ -93,7 +123,17 @@ Generated by [AVA](https://avajs.dev). "0xbd3fa81b58ba92a82136038b25adec7066af3155")␊ --token-contract-address [address] Address of USDC token contract (default:␊ "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48")␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for config update command @@ -120,7 +160,17 @@ Generated by [AVA](https://avajs.dev). --noble-to-agoric-channel [channel] Channel ID on Noble for Agoric␊ --token-messenger-address [address] Address of TokenMessenger contract␊ --token-contract-address [address] Address of USDC token contract␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for config show command @@ -131,7 +181,17 @@ Generated by [AVA](https://avajs.dev). Show current config␊ ␊ Options:␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for deposit command @@ -147,7 +207,17 @@ Generated by [AVA](https://avajs.dev). Options:␊ --id [offer-id] Offer ID␊ --fee [fee] Cosmos fee␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows help for withdraw command @@ -163,7 +233,17 @@ Generated by [AVA](https://avajs.dev). Options:␊ --id [offer-id] Offer ID␊ --fee [fee] Cosmos fee␊ - -h, --help display help for command` + -h, --help display help for command␊ + ␊ + Agoric test networks provide configuration info at, for example,␊ + ␊ + https://devnet.agoric.net/network-config␊ + ␊ + To use RPC endpoints from such a configuration, use:␊ + export AGORIC_NET=devnet␊ + ␊ + Use AGORIC_NET=local or leave it unset to use localhost and chain id agoriclocal.␊ + ` ## shows error when deposit command is run without options diff --git a/packages/fast-usdc/test/cli/snapshots/cli.test.ts.snap b/packages/fast-usdc/test/cli/snapshots/cli.test.ts.snap index 2150beaaf1008567472a39ea2e1411ad7bedd15b..2d0eac4dcb4aaa55da830deb8489ef90b7b6a80e 100644 GIT binary patch literal 1731 zcmV;!20ZyeRzV=})o&-5b0}&8)7|yur7LrC z{uX~r6d#KS00000000B+S}d< z$j^6I?%ew9mL4njZhdk4-#aIg^l%4UB2_t(jtw0iD$1EWg^taGfH3FOvf3{WKyjc< zp&+)3HNi6?6`Z`;Z-Y>%Q{L#>{tNhAJ?EDGsq1dsW4KYJcM+f zML`#Zey!~B0AV*I%6pQ3?YW+Cs6bnBaj9WN62avHY|dQTgKr&lN#rZ7e!^J&b-gk$ zd-ai4>S?U8Plty?W$2U3#Nmmq*f*BdPX5Hk8UW+QOTtJG%?b;EhbV~RV$9MbL2Mtd zRv1;%0&p|80%exLrEd!3zshAeAh^NX!fl;vjqOM`JxeU03J|!`KCWlB%u^@5! zfQ?he1z@ko1+_t;RKQT3b8#ji6ueKJG!T&>+6_RN%Ymr1SOi{>AoOuf%kY#6<<9!L zgMEgoLSm5>hHBkNESrd00LKXvU%zStGAHDerEZjw?E%T_T+@p+Y49TCLc!h-N3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