Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: riyueguang <rustruby@outlook.com>
  • Loading branch information
riyueguang committed Aug 18, 2024
1 parent 6049e81 commit b3eaf7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/ledger-simulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The test should call `utils.StartLedgerSim(numApprovals, ledgerSeed, showStdout)

- number of txs to be approved by the ledger
- seed for the ledger
- wether to show stdout
- whether to show stdout

The function returns two channels:

Expand Down
2 changes: 1 addition & 1 deletion pkg/subnet/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (d *LocalDeployer) doDeploy(chain string, genesisPath string, teleporterEsp
}
d.app.Log.Debug("this VM will get ID", zap.String("vm-id", chainVMID.String()))

// cleanup if neeeded in the case relayer is registered to current blockchains
// cleanup if needed in the case relayer is registered to current blockchains
if err := teleporter.RelayerCleanup(
d.app.GetAWMRelayerRunPath(),
d.app.GetAWMRelayerStorageDir(),
Expand Down
8 changes: 4 additions & 4 deletions pkg/vm/evmPrompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func PromptSubnetEVMGenesisParams(
return params, tokenSymbol, nil
}

// prompts for wether to use a remote or native gas token
// prompts for whether to use a remote or native gas token
func promptGasTokenKind(
app *application.Avalanche,
useDefaults bool,
Expand Down Expand Up @@ -238,7 +238,7 @@ func promptGasTokenKind(
return params, nil
}

// prompts for wether to use defaults to build the config
// prompts for whether to use defaults to build the config
func PromptDefaults(
app *application.Avalanche,
useDefaults bool,
Expand Down Expand Up @@ -526,7 +526,7 @@ func promptFeeConfig(
// if useTeleporter is defined, will enable/disable teleporter based on it
// is useDefaults is true, will enable teleporter
// if using external gas token, will assume teleporter to be enabled
// if other cases, prompts the user for wether to enable teleporter
// if other cases, prompts the user for whether to enable teleporter
func PromptInteropt(
app *application.Avalanche,
useTeleporterFlag *bool,
Expand Down Expand Up @@ -612,7 +612,7 @@ func promptPermissioning(
case explainOption:
ux.Logger.PrintToUser("The Transaction Allow List is a precompile contract that allows you to specify a list of addresses that are allowed to submit transactions to your blockchain. This list can be dynamically changed by calling the precompile.")
ux.Logger.PrintToUser("")
ux.Logger.PrintToUser("This feature is useful for permissioning your blockchain and lets you easiliy implement KYC measures. Only authorized users can send transactions or deploy smart contracts on your blockchain. For more information, please visit: https://docs.avax.network/build/subnet/upgrade/customize-a-subnet#restricting-who-can-submit-transactions.")
ux.Logger.PrintToUser("This feature is useful for permissioning your blockchain and lets you easily implement KYC measures. Only authorized users can send transactions or deploy smart contracts on your blockchain. For more information, please visit: https://docs.avax.network/build/subnet/upgrade/customize-a-subnet#restricting-who-can-submit-transactions.")
continue
}
break
Expand Down

0 comments on commit b3eaf7a

Please sign in to comment.