Open jjangg96 opened 1 month ago
StdFee doesn't apply on signAmino function.
const fee: StdFee = { amount: [{ amount: gasPrice.amount.multiply(Uint53.fromString(gasLimit.toString())).toString(), denom: chainInfo[chainId].denom, }, { amount: "50", denom: "uusd", }], gas: gasLimit.toString(), };
If I write more than one amount like this, the fee will be applied.
const fee: StdFee = { amount: [{ amount: gasPrice.amount.multiply(Uint53.fromString(gasLimit.toString())).toString(), denom: chainInfo[chainId].denom, }], gas: gasLimit.toString(), };
However, if I write only one less, Keplr Sign will not apply the fee.
When gasPrice is set to 30 and 1 amount is entered in fee.amount
When setting gasPrice to 30 and adding 50uusd to fee.amount for 2 amounts
StdFee doesn't apply on signAmino function.
If I write more than one amount like this, the fee will be applied.
However, if I write only one less, Keplr Sign will not apply the fee.