diff --git a/x/bep3/keeper/asset_test.go b/x/bep3/keeper/asset_test.go index 4e8a7835..b4b24461 100644 --- a/x/bep3/keeper/asset_test.go +++ b/x/bep3/keeper/asset_test.go @@ -431,7 +431,7 @@ func (suite *AssetTestSuite) TestIncrementOutgoingAssetSupply() { true, }, { - "outoing + amount > current", + "outgoing + amount > current", args{ coin: c("bnb", 36), }, diff --git a/x/cdp/keeper/interest.go b/x/cdp/keeper/interest.go index 36a566ef..fb86d08d 100644 --- a/x/cdp/keeper/interest.go +++ b/x/cdp/keeper/interest.go @@ -201,7 +201,7 @@ func (k Keeper) SynchronizeInterestForRiskyCDPs(ctx sdk.Context, targetRatio sdk k.cdc.MustUnmarshal(bz, &cdp) if debtParam.Denom != cdp.GetTotalPrincipal().Denom { - panic(fmt.Sprintf("unkown debt param %s", cdp.GetTotalPrincipal().Denom)) + panic(fmt.Sprintf("unknown debt param %s", cdp.GetTotalPrincipal().Denom)) } // diff --git a/x/committee/types/genesis.go b/x/committee/types/genesis.go index e34331b3..11d4bdc4 100644 --- a/x/committee/types/genesis.go +++ b/x/committee/types/genesis.go @@ -7,7 +7,7 @@ import ( proto "github.com/cosmos/gogoproto/proto" ) -// DefaultNextProposalID is the starting poiint for proposal IDs. +// DefaultNextProposalID is the starting point for proposal IDs. const DefaultNextProposalID uint64 = 1 // NewGenesisState returns a new genesis state object for the module. diff --git a/x/hard/genesis.go b/x/hard/genesis.go index fa491e8f..b19749d3 100644 --- a/x/hard/genesis.go +++ b/x/hard/genesis.go @@ -98,7 +98,7 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState { } previousAccrualTime, f := k.GetPreviousAccrualTime(ctx, mm.Denom) if !f { - // Goverance adds new params at end of block, but mm's previous accrual time is set in begin blocker. + // Governance adds new params at end of block, but mm's previous accrual time is set in begin blocker. // If a new money market is added and chain is exported before begin blocker runs, then the previous // accrual time will not be found. We can't set it here because our ctx doesn't contain current block // time; if we set it to ctx.BlockTime() then on the next block it could accrue interest from Jan 1st diff --git a/x/swap/types/base_pool_test.go b/x/swap/types/base_pool_test.go index 2d0b02e1..a6fa2ee2 100644 --- a/x/swap/types/base_pool_test.go +++ b/x/swap/types/base_pool_test.go @@ -216,7 +216,7 @@ func TestBasePool_AddLiquidity(t *testing.T) { actualA, actualB, actualShares := pool.AddLiquidity(tc.desiredA, tc.desiredB) - // assert correct values are retruned + // assert correct values are returned assert.Equal(t, tc.expectedA, actualA, "deposited A liquidity not equal") assert.Equal(t, tc.expectedB, actualB, "deposited B liquidity not equal") assert.Equal(t, tc.expectedShares, actualShares, "calculated shares not equal")