From b86f8758eba6d3e4c96827daff23105a0500ffec Mon Sep 17 00:00:00 2001 From: King Date: Mon, 3 Feb 2025 18:57:23 +0100 Subject: [PATCH 1/3] Fix typos in brownie/config.go --- brownie/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ) From 13fdf7c7afdf8a8879bd02bda45c001b874dcf5a Mon Sep 17 00:00:00 2001 From: King Date: Mon, 3 Feb 2025 18:57:25 +0100 Subject: [PATCH 2/3] Fix typos in commands/push.go --- commands/push.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())), ), From 2f465a5b4bb6c0f7867db73e8e1b73a84b7e4e55 Mon Sep 17 00:00:00 2001 From: King Date: Mon, 3 Feb 2025 18:57:27 +0100 Subject: [PATCH 3/3] Fix typos in rest/payloads/generated/actions/structs.conjure.go --- rest/payloads/generated/actions/structs.conjure.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"`