From 149a7f6f8748b761bc2ce2108da09c27916b101a Mon Sep 17 00:00:00 2001 From: Dan Kanefsky <56059752+boojamya@users.noreply.github.com> Date: Mon, 27 May 2024 15:16:39 -0600 Subject: [PATCH] chore: fix tokenfactory utils (#372) --- e2e/utils.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/utils.go b/e2e/utils.go index 72d43943..439a5a08 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -600,7 +600,7 @@ func showBlacklister(ctx context.Context, val *cosmos.ChainNode) (fiattokenfacto // showBlacklisted queries for a specific blacklisted address by running: `query fiat-tokenfactory show-blacklisted
`. // An error is returned if the address is not blacklisted func showBlacklisted(ctx context.Context, val *cosmos.ChainNode, blacklistedWallet ibc.Wallet) (fiattokenfactorytypes.QueryGetBlacklistedResponse, error) { - res, _, err := val.ExecQuery(ctx, "fiat-tokenfactory", "show-minters", blacklistedWallet.FormattedAddress()) + res, _, err := val.ExecQuery(ctx, "fiat-tokenfactory", "show-blacklisted", blacklistedWallet.FormattedAddress()) if err != nil { return fiattokenfactorytypes.QueryGetBlacklistedResponse{}, err } @@ -614,9 +614,9 @@ func showBlacklisted(ctx context.Context, val *cosmos.ChainNode, blacklistedWall return showBlacklistedRes, nil } -// showPaused queries paused state the token factory by running: `query fiat-tokenfactory show-paused`. +// showPaused queries the paused state of the token factory by running: `query fiat-tokenfactory show-paused`. func showPaused(ctx context.Context, val *cosmos.ChainNode) (fiattokenfactorytypes.QueryGetPausedResponse, error) { - res, _, err := val.ExecQuery(ctx, "fiat-tokenfactory", "show-blacklister") + res, _, err := val.ExecQuery(ctx, "fiat-tokenfactory", "show-paused") if err != nil { return fiattokenfactorytypes.QueryGetPausedResponse{}, err }