Skip to content
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 verification classes #5210

Open
wants to merge 344 commits into
base: main
Choose a base branch
from

Conversation

mshojaei-txfusion
Copy link
Collaborator

@mshojaei-txfusion mshojaei-txfusion commented Jan 20, 2025

Description

This PR adds support for ZKSync contract verification with custom compiler options. Key changes include:

  • Added ZKSyncContractVerifier class to handle ZKSync-specific contract verification
  • Extended PostDeploymentContractVerifier to support ZKSync explorer family
  • Added ZKSync-specific compiler options and types
  • Implemented constructor arguments retrieval for ZKSync contracts
  • Added utility functions for ZKSync contract verification

PR to feat/zksync-deployment-functions

Drive-by changes

  • Refactored contract verification classes to better support different types of verifications
  • Extracted common verification logic into BaseContractVerifier
  • Added verification delay times for different explorer families
  • Improved error handling and logging for verification processes

Related issues

N/A

Backward compatibility

Yes - These changes are backward compatible. The existing contract verification functionality for other chains refactored with same interface.

Testing

Build passing

ljankovic-txfusion and others added 30 commits October 31, 2024 16:33
ljankovic-txfusion and others added 30 commits January 27, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

4 participants