Skip to content

Commit

Permalink
chore: fix some typos (#1913)
Browse files Browse the repository at this point in the history
Signed-off-by: largemouth <largemouth@aliyun.com>
  • Loading branch information
largemouth authored May 16, 2024
1 parent 025b7b2 commit d66b7d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/params/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Package params defines the simulation parameters for the Kava app.
It contains the default weights used for each transaction used on the module's
simulation. These weights define the chance for a transaction to be simulated at
any gived operation.
any given operation.
You can replace the default values for the weights by providing a params.json
file with the weights defined for each of the transaction operations:
Expand Down
2 changes: 1 addition & 1 deletion contrib/devnet/init-new-chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rm -rf $DATA

BINARY=kava

# Create new data directory, overwriting any that alread existed
# Create new data directory, overwriting any that already existed
chainID="kavalocalnet_8888-1"
$BINARY init validator --chain-id $chainID

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (suite *E2eTestSuite) SkipIfIbcDisabled() {
}

// SkipIfUpgradeDisabled should be called at the start of tests that require automated upgrades.
// It gracefully skips the current test if upgrades are dissabled.
// It gracefully skips the current test if upgrades are disabled.
// Note: automated upgrade tests are currently only enabled for Kvtool suite runs.
func (suite *E2eTestSuite) SkipIfUpgradeDisabled() {
if suite.config.Kvtool != nil && !suite.config.Kvtool.IncludeAutomatedUpgrade {
Expand Down
2 changes: 1 addition & 1 deletion tests/util/sdksigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (s *KavaSigner) Run(requests <-chan KavaMsgRequest) (<-chan KavaMsgResponse
currentRequest = nil
}

// immediatley response to channel
// immediately response to channel
responses <- *response
// go to next request
broadcastTxSeq++
Expand Down
2 changes: 1 addition & 1 deletion x/community/keeper/disable_inflation.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (k Keeper) CheckAndDisableMintAndKavaDistInflation(ctx sdk.Context) {

// reset disable inflation time to ensure next call is a no-op
params.UpgradeTimeDisableInflation = time.Time{}
// set staking rewards to provided intial value
// set staking rewards to provided initial value
params.StakingRewardsPerSecond = params.UpgradeTimeSetStakingRewardsPerSecond
k.SetParams(ctx, params)

Expand Down

0 comments on commit d66b7d2

Please sign in to comment.