Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #66 from uF4No/fix/updates
Browse files Browse the repository at this point in the history
updates dependencies
  • Loading branch information
githubdoramon authored Mar 13, 2023
2 parents 4843f85 + b7c8989 commit b6e4bf9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions local-setup-testing/hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import { HardhatUserConfig } from 'hardhat/config';
import { HardhatUserConfig } from "hardhat/config";

require('@matterlabs/hardhat-zksync-deploy');
require('@matterlabs/hardhat-zksync-solc');
require("@matterlabs/hardhat-zksync-deploy");
require("@matterlabs/hardhat-zksync-solc");

// dynamically changes endpoints for local tests
const zkSyncTestnet =
process.env.NODE_ENV == 'test'
process.env.NODE_ENV == "test"
? {
url: 'http://localhost:3050',
ethNetwork: 'http://localhost:8545',
url: "http://localhost:3050",
ethNetwork: "http://localhost:8545",
zksync: true,
}
: {
url: 'https://zksync2-testnet.zksync.dev',
ethNetwork: 'goerli',
url: "https://zksync2-testnet.zksync.dev",
ethNetwork: "goerli",
zksync: true,
};

const config: HardhatUserConfig = {
zksolc: {
version: '1.2.1',
compilerSource: 'binary',
version: "1.3.5",
compilerSource: "binary",
settings: {},
},
defaultNetwork: 'zkSyncTestnet',
defaultNetwork: "zkSyncTestnet",
networks: {
hardhat: {
// @ts-ignore
Expand All @@ -32,7 +32,7 @@ const config: HardhatUserConfig = {
zkSyncTestnet,
},
solidity: {
version: '0.8.16',
version: "0.8.16",
},
};

Expand Down
2 changes: 1 addition & 1 deletion local-setup-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"mocha": "^10.0.0",
"ts-node": "^10.5.0",
"typescript": "^4.5.5",
"zksync-web3": "^0.12.0"
"zksync-web3": "^0.13.4"
},
"scripts": {
"test": "NODE_ENV=test hardhat test"
Expand Down
8 changes: 4 additions & 4 deletions local-setup-testing/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2927,7 +2927,7 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zksync-web3@^0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.12.0.tgz#e6dcc47bf7d331bb4fd299ceb6e9a5968cb1a190"
integrity sha512-0SPC6xOI0cljE0Pl6U1rFzA7QFO3cEJA/VBDzA/Dts/qTQx23ZaAOMzg1kEx9Mvkwx52fV2PE2/lMc7Fw9VF9A==
zksync-web3@^0.13.4:
version "0.13.4"
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.13.4.tgz#1c5b1303436cb4cba1a0873ea07860b19f385331"
integrity sha512-AjCKhn9TRqsk2T9VLKxlod22rnVWOWGOjq+QXppFe2yTxZx9dVaai325OJ0aa7a3m5wx+9yhPqBu23jG2xPo5Q==

0 comments on commit b6e4bf9

Please sign in to comment.