Skip to content

Commit

Permalink
fix: hardhat params must be lower case
Browse files Browse the repository at this point in the history
The previous fund default was 1 eth
  • Loading branch information
cpb8010 committed Nov 27, 2024
1 parent bfdc6fb commit d8beed9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function deploy(name: string, deployer: Wallet, proxy: boolean, args?: any
}

task("deploy", "Deploys ZKsync SSO contracts")
.addOptionalParam("privateKey", "private key to the account to deploy the contracts from")
.addOptionalParam("privatekey", "private key to the account to deploy the contracts from")
.addOptionalParam("only", "name of a specific contract to deploy")
.addFlag("noProxy", "do not deploy transparent proxies for factory and modules")
.addOptionalParam("implementation", "address of the account implementation to use in the factory")
Expand All @@ -48,8 +48,8 @@ task("deploy", "Deploys ZKsync SSO contracts")
const provider = getProvider();

let privateKey: string;
if (cmd.privateKey) {
privateKey = cmd.privateKey;
if (cmd.privatekey) {
privateKey = cmd.privatekey;
} else if (hre.network.name == "inMemoryNode" || hre.network.name == "dockerizedNode") {
console.log("Using local rich wallet");
privateKey = LOCAL_RICH_WALLETS[0].privateKey;
Expand Down

0 comments on commit d8beed9

Please sign in to comment.