-
Notifications
You must be signed in to change notification settings - Fork 423
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
feat: zksync support #4725
base: main
Are you sure you want to change the base?
feat: zksync support #4725
Conversation
… in favor of MultiChainResolver
feat: zksync post verifier
refactor: consolidate ISM compatibility logic and static deployment c…
…r' into feat/zksync-support
It seems like most issues were resolved and/or outdated
networks: { | ||
zkSyncNetwork: { | ||
url: 'http://127.0.0.1:8011', | ||
ethNetwork: '', | ||
zksync: true, | ||
}, |
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.
Is this needed for building the zk-sync artifacts or can it be removed?
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.
Would keep it there, removing the zksync network reference has been know to cause issues for some reason
### Description ZKSync PR 1 This PR introduces ZKSync support for Solidity contracts and restructures build files directory structure. ### Drive-by changes - Added ZKSync compilation support using zksolc via `@matterlabs/hardhat-zksync-solc` - Restructured typechain directory location to `core-utils/typechain` - Decoupled Hardhat configuration for ZKSync from EVM. - Updated build process to handle both standard and ZKSync contract artifacts ### Related issues None ### Backward compatibility Yes ### Testing Testing was previously in [feat: zksync support](#4725) PR --------- Co-authored-by: Morteza Shojaei <[email protected]> Co-authored-by: mshojaei-txfusion <[email protected]> Co-authored-by: Le Yu <[email protected]>
Description
This PR introduces a series of changes aimed at enhancing zkSync support within the codebase. Key updates include the addition of the zksolc compiler for zkSync, integration of contract artifacts, CLI automation for core deployment, and compatibility adjustments in tests for the zkSync environment. It also includes improvements in contract verification on zkSync explorer and handling gas limits for zkSync deployments.
Drive-by changes
Related issues
No related issue
Backward compatibility
Yes
Testing
Manual testing and some automated tests were performed, including end-to-end tests on zkSync for warp read and apply functionalities.