Closed 32byte closed 2 years ago
I needed to add the following patch in order to run the tests:
diff --git a/local-setup-testing/hardhat.config.ts b/local-setup-testing/hardhat.config.ts
index bbffc8b..52c74e0 100644
--- a/local-setup-testing/hardhat.config.ts
+++ b/local-setup-testing/hardhat.config.ts
@@ -26,4 +26,10 @@ module.exports = {
solidity: {
version: "0.8.11",
},
+ networks: {
+ // To compile with zksolc, this must be the default network.
+ hardhat: {
+ zksync: true,
+ }
+ },
};
I needed to add the following patch in order to run the tests:
diff --git a/local-setup-testing/hardhat.config.ts b/local-setup-testing/hardhat.config.ts index bbffc8b..52c74e0 100644 --- a/local-setup-testing/hardhat.config.ts +++ b/local-setup-testing/hardhat.config.ts @@ -26,4 +26,10 @@ module.exports = { solidity: { version: "0.8.11", }, + networks: { + // To compile with zksolc, this must be the default network. + hardhat: { + zksync: true, + } + }, };
Thanks for noticing! We will fix it!
As the local node docker image now supports the latest zksync-web3 version the project should use the latest version.