chore: fix some typos (#1913)

Signed-off-by: largemouth <largemouth@aliyun.com>
This commit is contained in:
largemouth 2024-05-17 04:27:48 +08:00 committed by GitHub
parent 025b7b2cdb
commit d66b7d2705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -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 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 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 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: file with the weights defined for each of the transaction operations:

View File

@ -26,7 +26,7 @@ rm -rf $DATA
BINARY=kava BINARY=kava
# Create new data directory, overwriting any that alread existed # Create new data directory, overwriting any that already existed
chainID="kavalocalnet_8888-1" chainID="kavalocalnet_8888-1"
$BINARY init validator --chain-id $chainID $BINARY init validator --chain-id $chainID

View File

@ -217,7 +217,7 @@ func (suite *E2eTestSuite) SkipIfIbcDisabled() {
} }
// SkipIfUpgradeDisabled should be called at the start of tests that require automated upgrades. // 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. // Note: automated upgrade tests are currently only enabled for Kvtool suite runs.
func (suite *E2eTestSuite) SkipIfUpgradeDisabled() { func (suite *E2eTestSuite) SkipIfUpgradeDisabled() {
if suite.config.Kvtool != nil && !suite.config.Kvtool.IncludeAutomatedUpgrade { if suite.config.Kvtool != nil && !suite.config.Kvtool.IncludeAutomatedUpgrade {

View File

@ -358,7 +358,7 @@ func (s *KavaSigner) Run(requests <-chan KavaMsgRequest) (<-chan KavaMsgResponse
currentRequest = nil currentRequest = nil
} }
// immediatley response to channel // immediately response to channel
responses <- *response responses <- *response
// go to next request // go to next request
broadcastTxSeq++ broadcastTxSeq++

View File

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