The following items only affect the repository around the contracts, and are harmless (but great for the health of the repository) to complete.
[x] Node.js version 20.12.2
[x] Upgrade project to use current Hardhat 2.22.2.
[x] Tests now run in 20 seconds instead of 2 mins yay.
[x] Update all tests from ethers-v5 to ethers-v6.
[x] Remove a lot of extra configuration tools and files.
[x] Trim down published NPM code to just a single deployments.json file and the contracts
[x] Remove a bunch of autogenerated stuff from the repo.
The following items will affect smart contract compilation / logic / behavior. Updates here should be approached cautiously. I actually think we should handle these changes in separate PRs.
Update @gnosis.pm/zodiac package
Re-include @gnosis.pm/safe-contracts package (gives error if in package.json at the version it has been at, but doesn't seem needed in there, everything compiles fine)
Compiling the smart contracts via npm run compile (npx hardhat compile) still produces the exact same bytecode for all contracts which are currently deployed on all networks.
The following functionality / features are being removed from the NPM package:
TypeChain typing and objects
Test files
Deployment scripts
Only Contract addresses and ABIs (per network), and the solidity source code, will remain in the NPM package. However, the format of this data will change.
Closes #78
The following items only affect the repository around the contracts, and are harmless (but great for the health of the repository) to complete.
deployments.json
file and the contractsThe following items will affect smart contract compilation / logic / behavior. Updates here should be approached cautiously. I actually think we should handle these changes in separate PRs.
@gnosis.pm/zodiac
package@gnosis.pm/safe-contracts
package (gives error if inpackage.json
at the version it has been at, but doesn't seem needed in there, everything compiles fine)@openzeppelin/contracts[-upgradeable]
package[s]Some important notes:
npm run compile
(npx hardhat compile
) still produces the exact same bytecode for all contracts which are currently deployed on all networks.