diff --git a/app/app.go b/app/app.go index 67b0b7800..f404fc82c 100644 --- a/app/app.go +++ b/app/app.go @@ -125,7 +125,7 @@ const ( appName = "BabylonApp" // Custom prefix for application environmental variables. - // From cosmos version 0.46 is is possible to have custom prefix for application + // From cosmos version 0.46 is possible to have custom prefix for application // environmental variables - https://github.com/cosmos/cosmos-sdk/pull/10950 BabylonAppEnvPrefix = "" diff --git a/x/btclightclient/keeper/state_test.go b/x/btclightclient/keeper/state_test.go index eb1e3c892..7b8b24b95 100644 --- a/x/btclightclient/keeper/state_test.go +++ b/x/btclightclient/keeper/state_test.go @@ -22,7 +22,7 @@ func FuzzHeadersStateCreateHeader(f *testing.F) { Data generation: - Create four headers: 1. The Base header. This will test whether the tip is set. - 2. Create random chain of of headers, and insert them into the state + 2. Create random chain of headers, and insert them into the state 3. All operations should be consistent with each other. */ datagen.AddRandomSeedsToFuzzer(f, 10) diff --git a/x/btcstaking/keeper/msg_server.go b/x/btcstaking/keeper/msg_server.go index 2a97b6662..053d9c195 100644 --- a/x/btcstaking/keeper/msg_server.go +++ b/x/btcstaking/keeper/msg_server.go @@ -427,7 +427,7 @@ func (ms msgServer) CreateBTCDelegation(goCtx context.Context, req *types.MsgCre // Check unbonding tx fees against staking tx. // - fee is larger than 0 - // - ubonding output value is is at leat `MinUnbondingValue` percent of staking output value + // - ubonding output value is at leat `MinUnbondingValue` percent of staking output value if unbondingMsgTx.TxOut[0].Value >= stakingMsgTx.TxOut[newBTCDel.StakingOutputIdx].Value { // Note: we do not enfore any minimum fee for unbonding tx, we only require that it is larger than 0 // Given that unbonding tx must not be replacable and we do not allow sending it second time, it places diff --git a/x/incentive/keeper/reward_gauge.go b/x/incentive/keeper/reward_gauge.go index d06cbf3fd..2e619ac54 100644 --- a/x/incentive/keeper/reward_gauge.go +++ b/x/incentive/keeper/reward_gauge.go @@ -30,7 +30,7 @@ func (k Keeper) withdrawReward(ctx context.Context, sType types.StakeholderType, return withdrawableCoins, nil } -// accumulateRewardGauge accumulates the given reward of of a given stakeholder in a given type +// accumulateRewardGauge accumulates the given reward of a given stakeholder in a given type func (k Keeper) accumulateRewardGauge(ctx context.Context, sType types.StakeholderType, addr sdk.AccAddress, reward sdk.Coins) { // if reward contains nothing, do nothing if !reward.IsAllPositive() {