Skip to content

Commit 70268e7

Browse files
authored
An attempt to fix flaky zksync test (#898)
- Upgraded several development dependencies related to Hardhat and zkSync: - `@matterlabs/hardhat-zksync-deploy` from `^1.5.0` to `^1.6.0` - `@matterlabs/hardhat-zksync-node` from `^1.1.1` to `^1.2.1` - `@matterlabs/hardhat-zksync-verify` from `^1.6.0` to `^1.7.1` - `zksync-ethers` from `6.12.1` to `6.15.3` - Refactored the test setup in `SafeToL2Setup.spec.ts` to retrieve the deployed contract instance using `getContractAt` instead of deploying a new instance, enhancing test reliability and efficiency.
1 parent 7e760ef commit 70268e7

File tree

4 files changed

+1062
-977
lines changed

4 files changed

+1062
-977
lines changed

hardhat.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ const userConfig: HardhatUserConfig = {
8989
compilers: [{ version: primarySolidityVersion, settings: soliditySettings }, { version: defaultSolidityVersion }],
9090
},
9191
zksolc: {
92-
version: "1.5.3",
93-
settings: {},
92+
version: "1.5.9",
93+
settings: {
94+
suppressedErrors: ["assemblycreate"],
95+
},
9496
},
9597
networks: {
9698
hardhat: {

0 commit comments

Comments
 (0)