-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add L1 token, L1 bridge and L2 bridge contracts #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1c4f2ea to
ca843ff
Compare
ca843ff to
712885f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds L1 token, L1 bridge and L2 bridge contracts to support cross-chain bridging between L1 Ethereum and L2 zkSync Era. It also upgrades the Solidity version from 0.8.23 to 0.8.26 and updates dependencies.
- Creates a complete bridge system with L1Nodl token, L1Bridge, and L2Bridge contracts for cross-chain token transfers
- Upgrades Solidity version from 0.8.23 to 0.8.26 across all contracts and configuration files
- Adds comprehensive test coverage and deployment scripts for the new bridge infrastructure
Reviewed Changes
Copilot reviewed 63 out of 74 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/L1Nodl.sol | New L1 NODL token contract with governance features (ERC20Votes, AccessControl) |
| src/bridge/L1Bridge.sol | Main L1 bridge contract handling deposits to L2 and withdrawal finalizations |
| src/bridge/L2Bridge.sol | L2 bridge contract for finalizing deposits and initiating withdrawals |
| src/bridge/interfaces/* | Interface definitions for bridge contracts and withdrawal messages |
| test/bridge/* | Comprehensive test suites for L1 and L2 bridge functionality |
| script/Deploy*.s.sol | Deployment scripts for L1/L2 tokens and bridges |
| ops/*.sh | Operational scripts for deployment orchestration and withdrawal finalization |
| package.json | Dependency updates for zkSync tooling and Node.js version requirements |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.