Ccip-9778 Adding EVM contract verification metadata#1937
Conversation
AnieeG
commented
Apr 6, 2026
- Changed input type to chain family for VerifyDeployContracts post hook
…o ccip-9780-req-sender
…o ccip-9778-metadata
|
👋 AnieeG, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
There was a problem hiding this comment.
Pull request overview
This PR updates the deployment contract-verification plumbing to operate on chain families (e.g., EVM) and seeds additional EVM contract verification metadata so deployed contracts can be verified against explorers more consistently.
Changes:
- Update contract verification registry + multifamily post-hook to key off chain family strings rather than chain selectors.
- Extend verified-env pre-hook to scope verification by selectors, and consolidate hook/concurrency tests into a single test file.
- Register additional EVM contract metadata (type/version → standard JSON input, bytecode, contract name) used by the EVM verification provider.
Reviewed changes
Copilot reviewed 15 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| deployment/utils/common.go | Adds more contract type identifiers (notably pools/modules) for metadata/lookup. |
| deployment/testadapters/adapters.go | Import ordering only. |
| deployment/hooks/verification.go | Switches registry lookup + post-hook to chain family; adds selector-scoped pre-hook filtering and supported-family checks. |
| deployment/hooks/hooks_test.go | Consolidates multifamily + verifier iteration parallelism tests into one file and updates for new APIs. |
| deployment/hooks/verification_multifamily_test.go | Removed (replaced by consolidated tests). |
| deployment/hooks/iterate_verifiers_parallel_test.go | Removed (replaced by consolidated tests). |
| chains/evm/deployment/v1_6_0/testadapter/test_adapter.go | Adds ERC20 fee/token approvals before sending CCIP messages. |
| chains/evm/deployment/v1_6_0/sequences/adapter.go | Extracts FeeQuoter address+version discovery via OnRamp into a helper. |
| chains/evm/deployment/v1_6_0/operations/ccip_home/ccip_home.go | Introduces CCIPHome ContractType constant. |
| chains/evm/deployment/utils/verification/hooks_test.go | Updates pre-hook/post-hook calls for new signatures. |
| chains/evm/deployment/utils/verification/hooks_provider.go | Auto-registers EVM verification provider; makes raw metadata fields unexported. |
| chains/evm/deployment/go.mod / go.sum | Adds ccip-owner-contracts dependency. |
| ccv/chains/evm/deployment/v1_7_0/adapters/init.go | Registers verification metadata for v2.0.0 CCV/EVM contracts at init. |
| ccv/chains/evm/deployment/go.mod / go.sum | Dependency updates (indirect additions). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|