diff --git a/brownie/config.go b/brownie/config.go index f6d1e04..867f251 100644 --- a/brownie/config.go +++ b/brownie/config.go @@ -44,7 +44,7 @@ func validateConfigPresence(configPath string) error { // Verify that the config is present if _, err := os.Stat(configPath); err != nil { return fmt.Errorf( - "unable to locate configuaration at path: %s, error: %w", + "unable to locate configuration at path: %s, error: %w", configPath, err, ) diff --git a/commands/push.go b/commands/push.go index ca5439f..4d845ec 100644 --- a/commands/push.go +++ b/commands/push.go @@ -125,7 +125,7 @@ func uploadContracts(rest *rest.Rest) error { if numberOfContractsWithANetwork == 0 { if DeploymentProvider.GetProviderName() == providers.OpenZeppelinDeploymentProvider { pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), + fmt.Errorf("no contracts with a network found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), Colorizer.Sprintf("No migrated contracts detected in build directory: %s. This can happen when no contracts have been migrated yet.\n"+ "There is currently an issue with exporting networks for regular contracts.\nThe OpenZeppelin team has come up with a workaround,"+ "so make sure you run %s before running %s\n"+ @@ -139,7 +139,7 @@ func uploadContracts(rest *rest.Rest) error { continue } pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), + fmt.Errorf("no contracts with a network found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), Colorizer.Sprintf("No migrated contracts detected in build directory: %s. This can happen when no contracts have been migrated yet.", Colorizer.Bold(Colorizer.Red(providerConfig.AbsoluteBuildDirectoryPath())), ), diff --git a/rest/payloads/generated/actions/structs.conjure.go b/rest/payloads/generated/actions/structs.conjure.go index ada0ad8..810d92d 100644 --- a/rest/payloads/generated/actions/structs.conjure.go +++ b/rest/payloads/generated/actions/structs.conjure.go @@ -260,7 +260,7 @@ func (o *BlockTrigger) UnmarshalYAML(unmarshal func(interface{}) error) error { return safejson.Unmarshal(jsonBytes, *&o) } -// Action invokation result. +// Action invocation result. type Call struct { Id string `json:"id"` ActionId string `json:"actionId"` @@ -474,7 +474,7 @@ func (o *CallStats) UnmarshalYAML(unmarshal func(interface{}) error) error { return safejson.Unmarshal(jsonBytes, *&o) } -// Summary of action invokation result since full call can be large. Keep this in sync with call. +// Summary of action invocation result since full call can be large. Keep this in sync with call. type CallSummary struct { Id string `json:"id"` ActionId string `json:"actionId"`