Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: delete repeat words #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,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 = ""

Expand Down
2 changes: 1 addition & 1 deletion proto/babylon/btcstaking/v1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ message Params {
int64 max_staking_value_sat = 4;
// min_staking_time is the minimum lock time specified in staking output script
uint32 min_staking_time_blocks = 5;
// max_staking_time_blocks is the maximum lock time time specified in staking output script
// max_staking_time_blocks is the maximum lock time specified in staking output script
uint32 max_staking_time_blocks = 6;
// PARAMETERS COVERING SLASHING
// slashing_pk_script is the pk_script expected in slashing output ie. the first
Expand Down
2 changes: 1 addition & 1 deletion proto/babylon/incentive/rewards.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ message FinalityProviderCurrentRewards {
// The finality provider address is ommitted here but should be part of the
// key used to store this structure together with the BTC delegator address.
message BTCDelegationRewardsTracker {
// StartPeriodCumulativeReward the starting period the the BTC delegator
// StartPeriodCumulativeReward the starting period the BTC delegator
// made his last withdraw of rewards or modified his active staking amount
// of satoshis.
uint64 start_period_cumulative_reward = 1;
Expand Down
2 changes: 1 addition & 1 deletion x/btccheckpoint/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (k Keeper) OnTipChange(ctx context.Context) {
// checkCheckpoints is the main function checking status of all submissions
// on btc chain as viewed through btc light client.
// Check works roughly as follows:
// 1. Iterate over epochs either from last finalized epoch or first epoch epoch
// 1. Iterate over epochs either from last finalized epoch or first epoch
// ever, as for those epochs we do not need to check status of subbmissions of parent epoch.
//
// 2. For each epoch check status of every submissions:
Expand Down
2 changes: 1 addition & 1 deletion x/btcstaking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ message Params {
int64 max_staking_value_sat = 4;
// min_staking_time is the minimum lock time specified in staking output script
uint32 min_staking_time_blocks = 5;
// max_staking_time_blocks is the maximum lock time time specified in staking output script
// max_staking_time_blocks is the maximum lock time specified in staking output script
uint32 max_staking_time_blocks = 6;
// PARAMETERS COVERING SLASHING
// slashing_pk_script is the pk_script expected in slashing output ie. the first
Expand Down
2 changes: 1 addition & 1 deletion x/btcstaking/types/params.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x/incentive/keeper/reward_gauge.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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() {
Expand Down
2 changes: 1 addition & 1 deletion x/incentive/types/rewards.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.