From 66acbcd91d407f4afed6c9a0de87e904c16fbbbf Mon Sep 17 00:00:00 2001 From: ryanbajollari <54822716+rbajollari@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:59:34 -0500 Subject: [PATCH] fix: Use msg token amount as fee amount for gmp ibc transfer (#336) --- x/gmp/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gmp/keeper/keeper.go b/x/gmp/keeper/keeper.go index c8cecc09..cecc9ddc 100644 --- a/x/gmp/keeper/keeper.go +++ b/x/gmp/keeper/keeper.go @@ -153,7 +153,7 @@ func (k Keeper) BuildGmpRequest( Payload: payload, Type: types.TypeGeneralMessage, Fee: &types.GmpFee{ - Amount: "1000000", + Amount: msg.Token.Amount.String(), Recipient: params.FeeRecipient, }, }