docs: fix spelling issues (#25009)
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
// MakeTestEncodingConfig creates an EncodingConfig for an amino based test configuration.
|
||||
// This function should be used only internally (in the SDK).
|
||||
// App user should'nt create new codecs - use the app.AppCodec instead.
|
||||
// App user shouldn't create new codecs - use the app.AppCodec instead.
|
||||
// [DEPRECATED]
|
||||
func MakeTestEncodingConfig() EncodingConfig {
|
||||
cdc := codec.NewLegacyAmino()
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
// MakeTestEncodingConfig creates an EncodingConfig for a non-amino based test configuration.
|
||||
// This function should be used only internally (in the SDK).
|
||||
// App user should'nt create new codecs - use the app.AppCodec instead.
|
||||
// App user shouldn't create new codecs - use the app.AppCodec instead.
|
||||
// [DEPRECATED]
|
||||
func MakeTestEncodingConfig() EncodingConfig {
|
||||
cdc := codec.NewLegacyAmino()
|
||||
|
||||
@@ -583,7 +583,7 @@ func startTestnet(cmd *cobra.Command, args startArgs) error {
|
||||
baseDir := fmt.Sprintf("%s/%s", args.outputDir, networkConfig.ChainID)
|
||||
if _, err := os.Stat(baseDir); !os.IsNotExist(err) {
|
||||
return fmt.Errorf(
|
||||
"testnests directory already exists for chain-id '%s': %s, please remove or select a new --chain-id",
|
||||
"testnets directory already exists for chain-id '%s': %s, please remove or select a new --chain-id",
|
||||
networkConfig.ChainID, baseDir)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user