Skip to content

Commit 37441ec

Browse files
authored
chore: fix typos and parameter naming in incentives and forward modules (#1961)
* Update hyperlane.go * Update export_test.go
1 parent 324c437 commit 37441ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x/forward/hyperlane.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (k Forward) forwardToHyperlane(ctx sdk.Context, fundsSrc sdk.AccAddress, bu
9191
CustomHookId: d.HyperlaneTransfer.CustomHookId,
9292
}
9393

94-
_, err = k.warpS.RemoteTransfer(ctx, m) // TODO: responsse?
94+
_, err = k.warpS.RemoteTransfer(ctx, m) // TODO: response?
9595
return errorsmod.Wrap(err, "dym remote transfer")
9696
}
9797

x/incentives/keeper/export_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ func (k Keeper) AddGaugeRefByKey(ctx sdk.Context, key []byte, gaugeID uint64) er
1212
}
1313

1414
// DeleteGaugeRefByKey removes the provided gauge ID from an array associated with the provided key.
15-
func (k Keeper) DeleteGaugeRefByKey(ctx sdk.Context, key []byte, guageID uint64) error {
16-
return k.deleteGaugeRefByKey(ctx, key, guageID)
15+
func (k Keeper) DeleteGaugeRefByKey(ctx sdk.Context, key []byte, gaugeID uint64) error {
16+
return k.deleteGaugeRefByKey(ctx, key, gaugeID)
1717
}
1818

1919
// GetGaugeRefs returns the gauge IDs specified by the provided key.
@@ -26,7 +26,7 @@ func (k Keeper) GetAllGaugeIDsByDenom(ctx sdk.Context, denom string) []uint64 {
2626
return k.getGaugeRefs(ctx, gaugeDenomStoreKey(denom))
2727
}
2828

29-
// MoveUpcomingGaugeToActiveGauge moves a gauge that has reached it's start time from an upcoming to an active status.
29+
// MoveUpcomingGaugeToActiveGauge moves a gauge that has reached its start time from an upcoming to an active status.
3030
func (k Keeper) MoveUpcomingGaugeToActiveGauge(ctx sdk.Context, gauge types.Gauge) error {
3131
return k.moveUpcomingGaugeToActiveGauge(ctx, gauge)
3232
}

0 commit comments

Comments
 (0)