Closed seolaoh closed 1 month ago
The changes involve updates across multiple files in a blockchain-related project, including version upgrades for the pnpm
package in GitHub Actions workflows, enhancements to smart contracts for asset and validator management, modifications to testing frameworks, and improvements to error handling in validator operations. Notably, new features are added to contracts, and existing functions are updated to improve functionality and control flow.
Files | Change Summary |
---|---|
.github/workflows/ci.yml , .github/workflows/test.yml |
Updated pnpm version from 8 to 9; modified environment variables for testing, including enabling parallel execution and removing a deprecated variable. |
Makefile |
Modified comment to clarify that tests require a maximum of 30 minutes in a CI environment. |
kroma-bindings/bindings/*.go |
Introduced new files and updated existing bindings for asset management, governance tokens, and output oracles, enhancing functionality and storage layouts. |
kroma-validator/validator.go |
Improved error handling and control flow in the Validator struct's methods, adding checks for component initialization. |
op-e2e/actions/*.go |
Refactored methods in L1Miner , L2Validator , and L2Challenger to enhance block handling and challenge creation logic. |
op-e2e/actions/l2_validator_test.go , op-e2e/actions/user_test.go |
Restructured test functions for better modularity and clarity, focusing on validator pool and manager tests. |
packages/contracts/.gas-snapshot , packages/contracts/.storage-layout |
Added new test cases and updated storage layouts for various contracts, enhancing coverage and functionality. |
packages/contracts/contracts/L1/AssetManager.sol |
Introduced a new AssetManager contract for managing asset delegation and rewards distribution. |
sequenceDiagram
participant User
participant ValidatorManager
participant AssetManager
participant L2Validator
User->>ValidatorManager: Request to delegate assets
ValidatorManager->>AssetManager: Process delegation
AssetManager-->>ValidatorManager: Confirm delegation
ValidatorManager-->>User: Confirmation of delegation
sequenceDiagram
participant L2Validator
participant L2OutputOracle
participant User
User->>L2Validator: Submit output
L2Validator->>L2OutputOracle: Validate output
L2OutputOracle-->>L2Validator: Output valid
L2Validator-->>User: Confirmation of output submission
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
This PR is for
v2.0.0
release.