diff --git a/commands/actions/publish.go b/commands/actions/publish.go index 54715b4..b534b6c 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, 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/providers/util.go b/providers/util.go index ea93bfa..29bb7b8 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"