fix: multiple typos of different importance (#25026)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
parent
b12485beb5
commit
e5a7389a98
@ -94,9 +94,6 @@ func NewTxBenchmarkSuite(tb testing.TB) *TxBenchmarkSuite {
|
||||
assert.NilError(tb, err)
|
||||
s.txHeight = resp.Height
|
||||
|
||||
assert.NilError(tb, err)
|
||||
s.txHeight = resp.Height
|
||||
|
||||
return s
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package testutil
|
||||
|
||||
// This file contains the list of module names are that maintained by the SDK team.
|
||||
// This file contains the list of module names that are maintained by the SDK team.
|
||||
// Those constants are defined here to be used in the SDK without importing those modules.
|
||||
|
||||
const (
|
||||
|
||||
2
tools/confix/testdata/README.md
vendored
2
tools/confix/testdata/README.md
vendored
@ -18,7 +18,7 @@ git checkout release/v0.47.x
|
||||
# Install dependencies
|
||||
make install
|
||||
|
||||
# Confirm you go the version you expected, and generate the file.
|
||||
# Confirm you got the version you expected, and generate the file.
|
||||
simd version
|
||||
simd init test --chain-id test
|
||||
|
||||
|
||||
@ -188,7 +188,7 @@ When the upgrade mechanism is triggered, `cosmovisor` will:
|
||||
|
||||
`cosmovisor` has an `add-upgrade` command that allows to easily link a binary to an upgrade. It creates a new folder in `cosmovisor/upgrades/<name>` and copies the provided executable file to `cosmovisor/upgrades/<name>/bin/<DAEMON_NAME>`.
|
||||
|
||||
Using the `--upgrade-height` flag allows to specify at which height the binary should be switched, without going via a gorvernance proposal.
|
||||
Using the `--upgrade-height` flag allows to specify at which height the binary should be switched, without going via a governance proposal.
|
||||
This enables support for an emergency coordinated upgrades where the binary must be switched at a specific height, but there is no time to go through a governance proposal.
|
||||
|
||||
:::warning
|
||||
|
||||
@ -92,7 +92,7 @@ func (s *InitTestSuite) clearEnv() *cosmovisorInitEnv {
|
||||
// setEnv sets environment variables to the values provided.
|
||||
// If t is not nil, and there's a problem, the test will fail immediately.
|
||||
// If t is nil, problems will just be logged using s.T().
|
||||
func (s *InitTestSuite) setEnv(t *testing.T, env *cosmovisorInitEnv) { //nolint:thelper // false psotive
|
||||
func (s *InitTestSuite) setEnv(t *testing.T, env *cosmovisorInitEnv) { //nolint:thelper // false positive
|
||||
if t == nil {
|
||||
s.T().Logf("Restoring environment variables.")
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// DefaultRunConfig defintes a default RunConfig that writes to os.Stdout and os.Stderr
|
||||
// DefaultRunConfig defines a default RunConfig that writes to os.Stdout and os.Stderr
|
||||
var DefaultRunConfig = RunConfig{
|
||||
StdIn: os.Stdin,
|
||||
StdOut: os.Stdout,
|
||||
|
||||
@ -312,7 +312,7 @@ func (l Launcher) WaitForUpgradeOrExit(cmd *exec.Cmd) (bool, error) {
|
||||
if err == nil {
|
||||
return false, nil
|
||||
}
|
||||
// the app x/upgrade causes a panic and the app can die before the filwatcher finds the
|
||||
// the app x/upgrade causes a panic and the app can die before the filewatcher finds the
|
||||
// update, so we need to recheck update-info file.
|
||||
if !l.fw.CheckUpdate(currentUpgrade) {
|
||||
return false, err
|
||||
|
||||
@ -48,7 +48,7 @@ func Compose(typ string, subAddresses []Addressable) ([]byte, error) {
|
||||
a := subAddresses[i].Address()
|
||||
as[i], err = LengthPrefix(a)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("not compatible sub-adddress=%v at index=%d [%w]", a, i, err)
|
||||
return nil, fmt.Errorf("not compatible sub-address=%v at index=%d [%w]", a, i, err)
|
||||
}
|
||||
totalLen += len(as[i])
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ type Mempool interface {
|
||||
Remove(sdk.Tx) error
|
||||
}
|
||||
|
||||
// ExtMempool is a extension of Mempool interface introduced in v0.50
|
||||
// ExtMempool is an extension of Mempool interface introduced in v0.50
|
||||
// for not be breaking in a patch release.
|
||||
// In v0.52+, this interface will be merged into Mempool interface.
|
||||
type ExtMempool interface {
|
||||
|
||||
@ -143,4 +143,4 @@ graph TD
|
||||
|
||||
Mempool order: [10, 15, 30, 8, 20, 6, 4, 2, 90]
|
||||
|
||||
This case shows how the mempool handles a more complex graph with more priority edges between senders. Again we also demonstrate an idiosyncrasy of this nonce/priroity ordering scheme, tx(priority=90) is selected last because it is gated behind tx(priority=2) by nonce ordering.
|
||||
This case shows how the mempool handles a more complex graph with more priority edges between senders. Again we also demonstrate an idiosyncrasy of this nonce/priority ordering scheme, tx(priority=90) is selected last because it is gated behind tx(priority=2) by nonce ordering.
|
||||
|
||||
@ -198,7 +198,7 @@ type HasABCIGenesis interface {
|
||||
|
||||
// AppModule is the form for an application module. Most of
|
||||
// its functionality has been moved to extension interfaces.
|
||||
// Deprecated: use appmodule.AppModule with a combination of extension interfaes interfaces instead.
|
||||
// Deprecated: use appmodule.AppModule with a combination of extension interfaces interfaces instead.
|
||||
type AppModule interface {
|
||||
appmodule.AppModule
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user