Ran
|
Files
9
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
github
Migrate to `hardhat-toolbox` and Ethers.js v6 (#103) Supersedes #100 This PR implements the suggestion from https://github.com/safe-global/safe-modules/pull/100#pullrequestreview-1687802400 (thanks @mmv08 for the suggestion!), and migrates the 4337 package to use the latest `hardhat` with `@nomicfoundation/hardhat-toolbox` in order to simplify dependency management (it also removes a lot of extra dependencies that were pulled in by `ethereal-waffle` 🎉). Note that, in order to use the latest version of `hardhat` and `hardhat-toolbox`, the codebase needed to migrate to Ethers.js v6 which caused some fairly small changes to the existing TypeScript codebase. Some additional dependency version changes that may seem unrelated but worth clarifying: * `solc`: A follow up to https://github.com/safe-global/safe-modules/pull/99, where the direct `solc` version didn't change to reflect the hardhat compiler settings * `@types/node`: Updated to the LTS version of node, which we intend to use. Additionally, for testing I was able to execute the `runOp` script ([tx](https://goerli.etherscan.io/tx/0xc1edbf6ebbf114278718276379bc75ace)).
44 of 80 branches covered (0.0%)
Branch coverage included in aggregate %.
102 of 129 relevant lines covered (79.07%)
5.07 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|