Skip to content

fix: add EVM standalone migration safety guards - #1618

Closed
tt-cll wants to merge 3 commits into
mainfrom
tt/v0.22.0-migration-followups
Closed

tt-cll wants to merge 3 commits into
mainfrom
tt/v0.22.0-migration-followups

Conversation

@tt-cll

@tt-cll tt-cll commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enforce exact standalone EVM bootstrap chain inventories and add offline migration preflight reporting
  • report dropped conversion fields and redacted before/after broadcast redundancy
  • add finalized-height initial_start_blocks handoff support with restart/disabled-state preservation and signed gap coverage
  • normalize and validate Mantle gas_estimator_limit_multiplier = 1, including the 694,835-gas regression
  • add CCV-owned balance dashboards, threshold-driven low/absent/stale alert generation, and migration runbooks

Validation

  • Race-enabled tests passed for migration CLI, executor, EVM config/register/constructors, config docs, commit verifier, and verifier types.
  • Focused race-enabled bootstrap inventory and source-reader handoff tests passed.
  • Standalone executor and committee verifier binaries built successfully.
  • Deployment observability tests, including synthetic 51-chain rule generation, passed with the race detector.
  • just config-docs completed and generated docs are included.
  • Docker-backed bootstrap, service-factory, and recovery database tests could not run locally because rootless Docker is unavailable; the full suite is left to CI.

@tt-cll
tt-cll requested review from a team as code owners November 20, 2026 11:45
@github-actions

Copy link
Copy Markdown
Contributor

👋 tt-cll, 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!

@github-actions

Copy link
Copy Markdown
Contributor

Code coverage report:

Package main tt/v0.22.0-migration-followups Diff
github.com/smartcontractkit/chainlink-ccv/aggregator 46.21% 46.21% +0.00%
github.com/smartcontractkit/chainlink-ccv/bootstrap 65.35% 67.96% +2.61%
github.com/smartcontractkit/chainlink-ccv/cli 53.16% 56.35% +3.19%
github.com/smartcontractkit/chainlink-ccv/cmd 51.74% 51.74% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 47.60% 47.59% -0.01%
github.com/smartcontractkit/chainlink-ccv/docs 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 44.51% 44.51% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 36.66% 36.66% +0.00%
github.com/smartcontractkit/chainlink-ccv/integration 70.45% 71.14% +0.69%
github.com/smartcontractkit/chainlink-ccv/internal 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/migration 78.70% 78.70% +0.00%
github.com/smartcontractkit/chainlink-ccv/pkg 84.62% 84.62% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 18.67% 18.67% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 61.72% 61.72% +0.00%
github.com/smartcontractkit/chainlink-ccv/tools 49.79% 52.65% +2.86%
github.com/smartcontractkit/chainlink-ccv/verifier 45.09% 45.45% +0.36%
Total 48.60% 49.00% +0.40%

Files added (in tt/v0.22.0-migration-followups):

  • github.com/smartcontractkit/chainlink-ccv/integration/pkg/accessors/evmconfig/broadcast.go
  • github.com/smartcontractkit/chainlink-ccv/integration/pkg/accessors/evmconfig/inventory.go

@tt-cll

tt-cll commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Closing unmerged after review. The immediate migration safeguards will remain operator-config and runbook procedures: Mantle has a loud, recoverable one-line config workaround, while the other runtime changes either need CLD integration or have upgrade/observability tradeoffs. The branch is retained for future design work.

@tt-cll tt-cll closed this Nov 20, 2026
@tt-cll
tt-cll deleted the tt/v0.22.0-migration-followups branch November 20, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant