From 0615e653f109d6a017ec53dd22484117eec28258 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 13 May 2025 12:28:36 +0530 Subject: [PATCH] Use registry-sdk mainnet branch for tests --- .gitea/workflows/test-sdk-authority-auction.yml | 2 +- .gitea/workflows/test-sdk-nameservice.yml | 2 +- .gitea/workflows/test-sdk.yml | 2 +- app/ante.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test-sdk-authority-auction.yml b/.gitea/workflows/test-sdk-authority-auction.yml index 91e8bac3..f7e7e0c9 100644 --- a/.gitea/workflows/test-sdk-authority-auction.yml +++ b/.gitea/workflows/test-sdk-authority-auction.yml @@ -17,7 +17,7 @@ jobs: path: "./registry-sdk/" repository: cerc-io/registry-sdk fetch-depth: 0 - ref: main + ref: mainnet - name: Environment run: ls -tlh && env diff --git a/.gitea/workflows/test-sdk-nameservice.yml b/.gitea/workflows/test-sdk-nameservice.yml index aaba8101..725bddc8 100644 --- a/.gitea/workflows/test-sdk-nameservice.yml +++ b/.gitea/workflows/test-sdk-nameservice.yml @@ -17,7 +17,7 @@ jobs: path: "./registry-sdk/" repository: cerc-io/registry-sdk fetch-depth: 0 - ref: main + ref: mainnet - name: Environment run: ls -tlh && env diff --git a/.gitea/workflows/test-sdk.yml b/.gitea/workflows/test-sdk.yml index 00c94dcd..dc9d5fbb 100644 --- a/.gitea/workflows/test-sdk.yml +++ b/.gitea/workflows/test-sdk.yml @@ -17,7 +17,7 @@ jobs: path: "./registry-sdk/" repository: cerc-io/registry-sdk fetch-depth: 0 - ref: main + ref: mainnet - name: Environment run: ls -tlh && env diff --git a/app/ante.go b/app/ante.go index 3279b623..2602db68 100644 --- a/app/ante.go +++ b/app/ante.go @@ -28,7 +28,7 @@ func checkTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, // Only allow alps | lps as a fee token for _, coin := range feeCoins { if coin.Denom != params.BaseCoinUnit && coin.Denom != params.CoinUnit { - return nil, 0, errorsmod.Wrapf(sdkerrors.ErrInvalidCoins, "only %s or %s are accepted as fee denom", params.BaseCoinUnit, params.CoinUnit) + return nil, 0, errorsmod.Wrapf(sdkerrors.ErrInvalidCoins, "invalid fee denom %s, only %s or %s are accepted", coin.Denom, params.BaseCoinUnit, params.CoinUnit) } }