Skip to content

Releases: txfusion/hyperlane-monorepo

ZKsync Integration

10 Feb 09:11
Compare
Choose a tag to compare
ZKsync Integration Pre-release
Pre-release

v1.0.0-rc.1: ZKsync Integration & Compiler Support

📦 Installation Steps

  1. Initial Setup

    • Run yarn install in the root directory
    • Run yarn build to build the initial packages
  2. ZKsync Build Process

    • Navigate to the solidity directory
    • Execute yarn build:zk to build ZKsync-specific artifacts

    Important: Do not run yarn build after this step as it will override ZKsync exports

  3. Package Rebuilding
    Rebuild these packages in sequence:

    • Navigate to typescript/sdk and run yarn build
    • Navigate to typescript/cli and run yarn build

🔄 What's Changed

⚡ ZKsync Integration

  • Added zksolc compiler support for compiling contracts
  • Integrated ZKsync provider and signer functionality
  • Enabled contract verification on ZKsync explorer
  • Core & warp contract deployment and setup via CLI for ZKsync environment

🛠️ Technical Improvements

  • Decoupled Hardhat configuration for EVM and ZKsync
  • Refactored contract artifacts export system
  • Verified cross-chain compatibility components
  • Optimized gas limit handling for ZKsync deployments

⚠️ Known Limitations

  • Static factory contracts are currently unsupported on ZKsync and have been blacklisted

📝 Notes

This release focuses on establishing ZKsync support within the codebase, enabling deployment and verification processes while maintaining compatibility with existing hyperlane features.