Skip to content

Commit

Permalink
Merge pull request #677 from friendlyping/main
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
pr0n00gler authored Aug 16, 2024
2 parents 4f58915 + 6a3f88a commit 8e06e8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/ibc/gmp_swap_forward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
swaptypes "github.com/neutron-org/neutron/v4/x/ibcswap/types"
)

// TestGMPSwap_Success asserts that the swap middleware works as intended when the original message is sent via GMP
// TestGMPSwapAndForward_Success asserts that the swap middleware works as intended when the original message is sent via GMP
func (s *IBCTestSuite) TestGMPSwapAndForward_Success() {
// Send an IBC transfer from provider to Neutron, so we can initialize a pool with the IBC denom token + native Neutron token
s.IBCTransferProviderToNeutron(s.providerAddr, s.neutronAddr, nativeDenom, ibcTransferAmount, "")
Expand Down
2 changes: 1 addition & 1 deletion x/dex/keeper/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error {
return v3.MigrateStore(ctx, m.keeper.cdc, m.keeper.storeKey)
}

// Migrate2to3 migrates from version 3 to 4.
// Migrate3to4 migrates from version 3 to 4.
func (m Migrator) Migrate3to4(ctx sdk.Context) error {
return v4.MigrateStore(ctx, m.keeper.cdc, m.keeper.storeKey)
}
2 changes: 1 addition & 1 deletion x/dex/keeper/pool_reserves.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (k Keeper) GetPoolReserves(
return tick.GetPoolReserves(), true
}

// RemoveTickLiquidity removes a tickLiquidity from the store
// RemovePoolReserves removes a tickLiquidity from the store
func (k Keeper) RemovePoolReserves(ctx sdk.Context, poolReservesID *types.PoolReservesKey) {
store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.TickLiquidityKeyPrefix))
store.Delete(poolReservesID.KeyMarshal())
Expand Down

0 comments on commit 8e06e8e

Please sign in to comment.