Skip to content

Commit

Permalink
An attempt to fix flaky zksync test (#898)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
mmv08 authored Jan 14, 2025
1 parent 7e760ef commit 70268e7
Show file tree
Hide file tree
Showing 4 changed files with 1,062 additions and 977 deletions.
6 changes: 4 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ const userConfig: HardhatUserConfig = {
compilers: [{ version: primarySolidityVersion, settings: soliditySettings }, { version: defaultSolidityVersion }],
},
zksolc: {
version: "1.5.3",
settings: {},
version: "1.5.9",
settings: {
suppressedErrors: ["assemblycreate"],
},
},
networks: {
hardhat: {
Expand Down
Loading

0 comments on commit 70268e7

Please sign in to comment.