fix: multiple typos of different importance (#25026)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
co-authored by
Alex | Interchain Labs
parent
b12485beb5
commit
e5a7389a98
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user