Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #769

Merged
merged 1 commit into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Designed for fast deploys. Enables full reset of the blockchain state.
- The `default snapshot` is the main way to keep track of blockchain state. Used by default in the tools.
It is initialized from the `bootstrap snapshot`, and after that is updated from CLI operations.
- `custom snapshots` can be specified by the user, to save and restore particular states. Only changed if
explicitely asked to do so.
explicitly asked to do so.

### Local networks

Expand Down
8 changes: 4 additions & 4 deletions cmd/subnetcmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func deploySubnet(_ *cobra.Command, args []string) error {

// from here on we are assuming a public deploy

// get keychain accesor
// get keychain accessor
kc, err := GetKeychain(useLedger, ledgerAddresses, keyName, network)
if err != nil {
return err
Expand Down Expand Up @@ -519,7 +519,7 @@ func getThreshold(maxLen int) (uint32, error) {
if maxLen == 1 {
return uint32(1), nil
}
// create a list of indexes so the user only has the option to choose what is the theshold
// create a list of indexes so the user only has the option to choose what is the threshold
// instead of entering
indexList := make([]string, maxLen)
for i := 0; i < maxLen; i++ {
Expand Down Expand Up @@ -597,7 +597,7 @@ func SaveNotFullySignedTx(
}
if forceOverwrite {
ux.Logger.PrintToUser("")
ux.Logger.PrintToUser("Overwritting %s", outputTxPath)
ux.Logger.PrintToUser("Overwriting %s", outputTxPath)
}
if err := txutils.SaveToDisk(tx, outputTxPath, forceOverwrite); err != nil {
return err
Expand Down Expand Up @@ -645,7 +645,7 @@ func GetKeychain(
keyName string,
network models.Network,
) (keychain.Keychain, error) {
// get keychain accesor
// get keychain accessor
var kc keychain.Keychain
networkID, err := network.NetworkID()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/transactioncmd/transaction_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func signTx(_ *cobra.Command, args []string) error {
return nil
}

// get keychain accesor
// get keychain accessor
kc, err := subnetcmd.GetKeychain(useLedger, ledgerAddresses, keyName, network)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion pkg/binutils/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (avalancheGoDownloader) GetDownloadURL(version string, installer Installer)
version,
)
ext = zipExtension
// EXPERMENTAL WIN, no support
// EXPERIMENTAL WIN, no support
case windows:
avalanchegoURL = fmt.Sprintf(
"https://github.com/%s/%s/releases/download/%s/avalanchego-win-%s-experimental.zip",
Expand Down
2 changes: 1 addition & 1 deletion pkg/elasticsubnet/config_prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func getConsumptionRate(app *application.Avalanche) (uint64, uint64, error) {
Value: reward.PercentDenominator,
},
{
Label: "Mininum Consumption Rate",
Label: "Minimum Consumption Rate",
Type: prompts.MoreThanEq,
Value: minConsumptionRate,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/txutils/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func GetAuthSigners(tx *txs.Tx, network models.Network, subnetID ids.ID) ([]stri
// - get the string slice of auth signers for the tx (GetAuthSigners)
// - verifies that all creds in tx.Creds, except the last one, are fully signed
// (a cred is fully signed if all the signatures in cred.Sigs are non-empty)
// - computes remaning signers by iterating the last cred in tx.Creds, associated to subnet auth signing
// - computes remaining signers by iterating the last cred in tx.Creds, associated to subnet auth signing
// - for each sig in cred.Sig: if sig is empty, then add the associated auth signer address (obtained from
// authSigners by using the index) to the remaining signers list
//
Expand Down