kleros-v2
kleros-v2 copied to clipboard
Chore(hardhat)/hardhat ether version update
PR-Codex overview
This PR updates various parts of the codebase to use ethers v6, fix styling in components, and improve contract deployment scripts.
Detailed summary
- Updated
ethersimports and usage to version 6. - Fixed styling in
Timestampcomponent. - Refactored contract deployment scripts for consistency and efficiency.
The following files were skipped due to too many changes:
contracts/deploy/utils/getContractOrDeploy.ts,contracts/deploy/utils/deployTokens.ts,contracts/deploy/01-foreign-gateway-on-ethereum.ts,contracts/deploy/upgrade-kleros-core.ts,contracts/deploy/fix1148.ts,contracts/deploy/03-vea-mock.ts,contracts/deploy/01-foreign-gateway-on-gnosis.ts,contracts/test/proxy/index.ts,contracts/deploy/00-home-chain-arbitration.ts,contracts/test/rng/index.ts,contracts/scripts/simulations/utils.ts,contracts/deploy/00-home-chain-arbitration-neo.ts,contracts/deploy/00-home-chain-arbitration-university.ts,contracts/scripts/populateCourts.ts,contracts/test/arbitration/index.ts,contracts/test/integration/index.ts,contracts/test/evidence/index.ts,contracts/test/arbitration/staking.ts,contracts/scripts/simulations/tasks.ts,contracts/test/arbitration/draw.ts,contracts/scripts/keeperBot.ts,contracts/test/arbitration/staking-neo.ts,yarn.lock
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
Summary by CodeRabbit
-
Refactor
- Updated various scripts and deployment files to replace
AddressZerowithZeroAddressfor consistency. - Modified import statements and function calls to improve code clarity and alignment with the latest
etherslibrary version. - Enhanced event handling and logging mechanisms across deployment scripts.
- Updated various scripts and deployment files to replace
-
Chores
- Updated dependencies in
package.jsonto their latest versions for better performance and security. - Adjusted test command specification in GitHub Actions workflow for contracts testing.
- Updated dependencies in