Skip to content

Commit 9a3a6b7

Browse files
authored
feat: add ZKsync contract verification tests with constructor arguments (#1169)
* Add ZKsync contract verification tests with constructor arguments Adds comprehensive test coverage for ZKsync Era contract verification workflows that include constructor arguments. Tests both deployment and verification steps using the real ZKsync Sepolia testnet. - Tests deployment with struct and address constructor parameters - Tests create-then-verify workflow that matches real user patterns - Includes proper ABI encoding for constructor arguments - Supports ZKsync explorer verification endpoints - Handles deployment address parsing from ZKsync output format * Clean up unused helper functions in ZKsync verification tests * fix names * fix cargo deny * Update alloy-chains version to 0.2.9 and fix unimplemented cases in hardfork functions * Enhance ZKsync verification tests with improved constructor argument handling and refactor code for clarity - Introduced a function to encode constructor arguments in hex format. - Replaced hardcoded verifier URL with a constant for better maintainability. - Added broadcasting option to relevant commands to align with user workflows. - Improved error handling and output parsing for verification processes. - Updated sleep duration for indexing wait to a constant for consistency.
1 parent 362c9aa commit 9a3a6b7

File tree

5 files changed

+638
-448
lines changed

5 files changed

+638
-448
lines changed

0 commit comments

Comments
 (0)