mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
chore: fix some typos (#1913)
Signed-off-by: largemouth <largemouth@aliyun.com>
This commit is contained in:
parent
025b7b2cdb
commit
d66b7d2705
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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++
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user