Release of v2-testnet-4.0.0
Summary by CodeRabbit
- New Features
- Configuration updates to improve Yarn's behavior, including a new
compressionLevelsetting and disabled global caching. - Upgraded Yarn version from
3.7.0to4.5.1.
- Configuration updates to improve Yarn's behavior, including a new
- Chores
- Adjusted the
.yarnrc.ymlconfiguration file for better plugin management and settings organization.
- Adjusted the
Deploy Preview for kleros-v2-university ready!
| Name | Link |
|---|---|
| Latest commit | 4dd363b2818d15b9bcfc259c34fcedb2f330037c |
| Latest deploy log | https://app.netlify.com/sites/kleros-v2-university/deploys/672b2a622c9a390008e4fc88 |
| Deploy Preview | https://deploy-preview-1709--kleros-v2-university.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
[!CAUTION]
Review failed
The pull request is closed.
Walkthrough
The pull request modifies the .yarnrc.yml configuration file, updating several settings related to Yarn's behavior. Key changes include the introduction of compressionLevel set to mixed, the addition of enableGlobalCache set to false, and an upgrade of the yarnPath from version 3.7.0 to 4.5.1. The nodeLinker setting is retained but repositioned, and the previous list of plugins has been completely removed. Additionally, several GitHub workflow files have been updated to enhance permissions and streamline actions, while new deployment scripts for blockchain arbitration systems have been introduced.
Changes
| File Path | Change Summary |
|---|---|
.yarnrc.yml |
- Added compressionLevel: mixed- Added enableGlobalCache: false- Updated yarnPath from 3.7.0 to 4.5.1- Retained nodeLinker: node-modules- Removed previous list of plugins. |
.github/workflows/contracts-testing.yml |
- Added permissions section for read access.- Updated action versions for harden-runner, setup-node, checkout, and cache.- Modified test command quotation marks. |
.github/workflows/dependabot-automerge.yml |
- Added permissions section for read access.- Updated job permissions to contents: write and pull-requests: write. |
.github/workflows/sonarcloud.yml |
- Added permissions section for read access.- Added Harden Runner step.- Updated action versions for checkout and SonarCloud scan. |
contracts/deploy/00-home-chain-arbitration-neo.ts |
- Introduced deployment script for blockchain arbitration, deploying multiple contracts. |
contracts/deploy/00-home-chain-arbitration-ruler.ts |
- Introduced deployment script for Kleros arbitration system, deploying ERC20 tokens and contracts. |
contracts/deploy/00-home-chain-arbitration-university.ts |
- Introduced deployment script for blockchain arbitration, deploying various contracts and tokens. |
contracts/deploy/00-home-chain-arbitration.ts |
- Modified deployment logic and currency rate handling, added error handling for currency rate changes. |
contracts/deploy/00-home-chain-pnk-faucet.ts |
- Simplified variable extraction and updated utility function access. |
contracts/deploy/01-foreign-gateway-on-ethereum.ts |
- Updated utility functions for hexadecimal operations and provider instantiation. |
contracts/deploy/01-foreign-gateway-on-gnosis.ts |
- Similar updates to imports and utility function usage as above. |
contracts/deploy/02-home-gateway-to-ethereum.ts |
- Updated feeToken argument to use ethers.ZeroAddress. |
contracts/deploy/03-vea-mock.ts |
- Updated utility functions and simplified contract instantiation. |
contracts/deploy/04-foreign-arbitrable.ts |
- Updated imports and handling of constants for numerical values. |
contracts/deploy/04-klerosliquid-to-v2-gnosis.ts |
- Similar updates to imports and handling of constants as above. |
contracts/deploy/05-arbitrable-dispute-template.ts |
- Modified event handling to focus on logs instead of events. |
contracts/deploy/fix1148.ts |
- Updated address handling for dispute kits to enhance clarity. |
contracts/deploy/upgrade-kleros-core.ts |
- Updated constant definitions and utility function usage. |
contracts/deploy/utils/deployTokens.ts |
- Introduced functions for deploying ERC20 and ERC721 tokens and a faucet. |
contracts/deploy/utils/getContractOrDeploy.ts |
- Enhanced contract deployment functionality with new upgradable option. |
contracts/deploy/utils/index.ts |
- Added utility functions for network handling and token conversion. |
contracts/deploy/utils/klerosCoreHelper.ts |
- Introduced changeCurrencyRate function for interacting with KlerosCore contracts. |
contracts/README.md |
- Added "V2 Neo (prelaunch)" section with deployment addresses. - Updated addresses in "Official Testnet" and "Devnet" sections. |
contracts/deploy/00-home-chain-arbitrable.ts |
- Commented out deployment of ArbitrableExample and Escrow contracts. |
contracts/deployments/arbitrumSepolia/ArbitrableExample.json |
- Deleted file containing ABI and deployment details for ArbitrableExample. |
contracts/deployments/arbitrumSepolia/BlockHashRNG.json |
- Updated contract address, transaction hash, and ABI parameters. |
contracts/deployments/arbitrumSepolia/DisputeKitClassic.json |
- Updated contract address, transaction hash, and various metadata fields. |
contracts/deployments/arbitrumSepolia/DisputeKitClassic_Proxy.json |
- Updated contract address and transaction hash, reflecting a complete redeployment. |
contracts/deployments/arbitrumSepolia/DisputeResolver.json |
- Updated contract address, transaction hash, and parameter names in ABI. |
contracts/deployments/arbitrumSepolia/DisputeTemplateRegistry.json |
- Updated contract address, transaction hash, and various metadata fields. |
contracts/deployments/arbitrumSepolia/DisputeTemplateRegistry_Implementation.json |
- Updated contract address, transaction hash, and metadata fields. |
contracts/deployments/arbitrumSepolia/DisputeTemplateRegistry_Proxy.json |
- Updated contract address, transaction hash, and various metadata fields. |
Poem
🐰 In the garden where yarns entwine,
New settings sprout, oh how they shine!
Compression mixed, and caches off,
With every change, we skip and scoff.
So let us hop, with joy we sing,
For Yarn's new tune, a delightful thing! 🌼
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaior@coderabbitai titleanywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Deploy Preview for kleros-v2-testnet ready!
| Name | Link |
|---|---|
| Latest commit | 4dd363b2818d15b9bcfc259c34fcedb2f330037c |
| Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet/deploys/672b2a61f568f40008035e3d |
| Deploy Preview | https://deploy-preview-1709--kleros-v2-testnet.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for kleros-v2-neo ready!
| Name | Link |
|---|---|
| Latest commit | 4dd363b2818d15b9bcfc259c34fcedb2f330037c |
| Latest deploy log | https://app.netlify.com/sites/kleros-v2-neo/deploys/672b2a62cf20ff0008474787 |
| Deploy Preview | https://deploy-preview-1709--kleros-v2-neo.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for kleros-v2-testnet-devtools ready!
| Name | Link |
|---|---|
| Latest commit | 4dd363b2818d15b9bcfc259c34fcedb2f330037c |
| Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet-devtools/deploys/672b2a626632eb000860e2b9 |
| Deploy Preview | https://deploy-preview-1709--kleros-v2-testnet-devtools.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
