Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Spend Limit tutorial: new solidity version а or hardhat and env var f…
Browse files Browse the repository at this point in the history
…or wallet private key (#826)
  • Loading branch information
olehbairak authored Dec 13, 2023
1 parent 2322c30 commit 90db617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/tutorials/aa-daily-spend-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const config: HardhatUserConfig = {
},
},
solidity: {
version: "0.8.17",
version: "0.8.20",
},
};

Expand Down Expand Up @@ -779,7 +779,7 @@ import { Deployer } from "@matterlabs/hardhat-zksync-deploy";
import dotenv from "dotenv";
dotenv.config();

const DEPLOYER_PRIVATE_KEY = process.env.DEPLOYER_PRIVATE_KEY || "";
const DEPLOYER_PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || "";

export default async function (hre: HardhatRuntimeEnvironment) {
// @ts-ignore target zkSyncTestnet in config file which can be testnet or local
Expand Down

0 comments on commit 90db617

Please sign in to comment.