From fd877d348b6432707c4cc8a30ffbfcc5863db0b0 Mon Sep 17 00:00:00 2001 From: CODe <71spates.bravest@icloud.com> Date: Mon, 3 Feb 2025 18:57:05 +0100 Subject: [PATCH 1/3] Fix typos in providers/util.go --- providers/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/util.go b/providers/util.go index ea93bfae..29bb7b80 100644 --- a/providers/util.go +++ b/providers/util.go @@ -31,7 +31,7 @@ const ( HardhatConfigFile = "hardhat.config.js" HardhatConfigFileTs = "hardhat.config.ts" - BuidlerConfigFile = "buidler.config.js" + BuidlerConfigFile = "builder.config.js" NewTruffleConfigFile = "truffle-config.js" OldTruffleConfigFile = "truffle.js" From 29d0ceb0b7b57703207ae0a91c2cc6dc6b8d91cc Mon Sep 17 00:00:00 2001 From: CODe <71spates.bravest@icloud.com> Date: Mon, 3 Feb 2025 18:57:07 +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 ca5439f8..4d845ecf 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 8cb2f71ea476230d2a18295e8a692c8fbff642f5 Mon Sep 17 00:00:00 2001 From: CODe <71spates.bravest@icloud.com> Date: Mon, 3 Feb 2025 18:57:09 +0100 Subject: [PATCH 3/3] Fix typos in commands/actions/publish.go --- commands/actions/publish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/actions/publish.go b/commands/actions/publish.go index 54715b4d..b534b6cd 100644 --- a/commands/actions/publish.go +++ b/commands/actions/publish.go @@ -284,7 +284,7 @@ func publish( request := conjureactions.PublishRequest{ Actions: actions.ToRequest(sources), Deploy: deploy, - Commitish: util.GetCommitish(), + Committish: util.GetCommittish(), LogicZip: &logicZip, LogicVersion: &logicHash, DependenciesZip: &dependenciesZip,