Skip to content

Commit 667e532

Browse files
mergify[bot]frameflare
and
frameflare
authored
chore: remove repetitive words (#1869) (#1873)
Signed-off-by: frameflare <[email protected]> (cherry picked from commit 41b79e4) Co-authored-by: frameflare <[email protected]>
1 parent 32a0193 commit 667e532

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

client/rest/rest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (br BaseReq) ValidateBasic(w http.ResponseWriter) bool {
132132
return true
133133
}
134134

135-
// ReadRESTReq reads and unmarshals a Request's body to the the BaseReq struct.
135+
// ReadRESTReq reads and unmarshals a Request's body to the BaseReq struct.
136136
// Writes an error response to ResponseWriter and returns false if errors occurred.
137137
func ReadRESTReq(w http.ResponseWriter, r *http.Request, cdc *codec.LegacyAmino, req interface{}) bool {
138138
body, err := io.ReadAll(r.Body)

x/committee/spec/05_params.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ order: 5
44

55
# Parameters
66

7-
The committee module has no parameters. Committees are created using the `x/gov` module and and inherit the parameters controlling governance proposals from `x/gov`.
7+
The committee module has no parameters. Committees are created using the `x/gov` module and inherit the parameters controlling governance proposals from `x/gov`.

x/incentive/client/cli/query.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func queryRewardsCmd() *cobra.Command {
111111
cmd.Flags().String(flagOwner, "", "(optional) filter by owner address")
112112
cmd.Flags().String(flagType, "", fmt.Sprintf("(optional) filter by a reward type: %s", strings.Join(rewardTypes, "|")))
113113
cmd.Flags().Bool(flagUnsynced, false, "(optional) get unsynced claims")
114-
cmd.Flags().Int(flags.FlagPage, 1, "pagination page rewards of to to query for")
114+
cmd.Flags().Int(flags.FlagPage, 1, "pagination page rewards of to query for")
115115
cmd.Flags().Int(flags.FlagLimit, 100, "pagination limit of rewards to query for")
116116
return cmd
117117
}

x/incentive/keeper/keeper.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func NewKeeper(
6363
}
6464
}
6565

66-
// GetUSDXMintingClaim returns the claim in the store corresponding the the input address collateral type and id and a boolean for if the claim was found
66+
// GetUSDXMintingClaim returns the claim in the store corresponding the input address collateral type and id and a boolean for if the claim was found
6767
func (k Keeper) GetUSDXMintingClaim(ctx sdk.Context, addr sdk.AccAddress) (types.USDXMintingClaim, bool) {
6868
store := prefix.NewStore(ctx.KVStore(k.key), types.USDXMintingClaimKeyPrefix)
6969
bz := store.Get(addr)
@@ -191,7 +191,7 @@ func (k Keeper) IterateUSDXMintingRewardFactors(ctx sdk.Context, cb func(denom s
191191
}
192192
}
193193

194-
// GetHardLiquidityProviderClaim returns the claim in the store corresponding the the input address collateral type and id and a boolean for if the claim was found
194+
// GetHardLiquidityProviderClaim returns the claim in the store corresponding the input address collateral type and id and a boolean for if the claim was found
195195
func (k Keeper) GetHardLiquidityProviderClaim(ctx sdk.Context, addr sdk.AccAddress) (types.HardLiquidityProviderClaim, bool) {
196196
store := prefix.NewStore(ctx.KVStore(k.key), types.HardLiquidityClaimKeyPrefix)
197197
bz := store.Get(addr)
@@ -240,7 +240,7 @@ func (k Keeper) GetAllHardLiquidityProviderClaims(ctx sdk.Context) types.HardLiq
240240
return cs
241241
}
242242

243-
// GetDelegatorClaim returns the claim in the store corresponding the the input address collateral type and id and a boolean for if the claim was found
243+
// GetDelegatorClaim returns the claim in the store corresponding the input address collateral type and id and a boolean for if the claim was found
244244
func (k Keeper) GetDelegatorClaim(ctx sdk.Context, addr sdk.AccAddress) (types.DelegatorClaim, bool) {
245245
store := prefix.NewStore(ctx.KVStore(k.key), types.DelegatorClaimKeyPrefix)
246246
bz := store.Get(addr)
@@ -289,7 +289,7 @@ func (k Keeper) GetAllDelegatorClaims(ctx sdk.Context) types.DelegatorClaims {
289289
return cs
290290
}
291291

292-
// GetSwapClaim returns the claim in the store corresponding the the input address.
292+
// GetSwapClaim returns the claim in the store corresponding the input address.
293293
func (k Keeper) GetSwapClaim(ctx sdk.Context, addr sdk.AccAddress) (types.SwapClaim, bool) {
294294
store := prefix.NewStore(ctx.KVStore(k.key), types.SwapClaimKeyPrefix)
295295
bz := store.Get(addr)
@@ -338,7 +338,7 @@ func (k Keeper) GetAllSwapClaims(ctx sdk.Context) types.SwapClaims {
338338
return cs
339339
}
340340

341-
// GetSavingsClaim returns the claim in the store corresponding the the input address.
341+
// GetSavingsClaim returns the claim in the store corresponding the input address.
342342
func (k Keeper) GetSavingsClaim(ctx sdk.Context, addr sdk.AccAddress) (types.SavingsClaim, bool) {
343343
store := prefix.NewStore(ctx.KVStore(k.key), types.SavingsClaimKeyPrefix)
344344
bz := store.Get(addr)
@@ -387,7 +387,7 @@ func (k Keeper) GetAllSavingsClaims(ctx sdk.Context) types.SavingsClaims {
387387
return cs
388388
}
389389

390-
// GetEarnClaim returns the claim in the store corresponding the the input address.
390+
// GetEarnClaim returns the claim in the store corresponding the input address.
391391
func (k Keeper) GetEarnClaim(ctx sdk.Context, addr sdk.AccAddress) (types.EarnClaim, bool) {
392392
store := prefix.NewStore(ctx.KVStore(k.key), types.EarnClaimKeyPrefix)
393393
bz := store.Get(addr)

0 commit comments

Comments
 (0)