Skip to content

Fix TestRouter message send in lane sanity checker#2141

Merged
AnieeG merged 13 commits into
mainfrom
enable-ff
Jun 17, 2026
Merged

Fix TestRouter message send in lane sanity checker#2141
AnieeG merged 13 commits into
mainfrom
enable-ff

Conversation

@AnieeG

@AnieeG AnieeG commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

👋 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!

tt-cll
tt-cll previously approved these changes Jun 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to make the lane sanity checker successfully send CCIP messages when using an EVM TestRouter, by selecting the TestRouter address and enabling a “finality” extra-args path for message sends.

Changes:

  • Added a finalityEnabled extra-arg option and started passing it during lane sanity message sends.
  • Updated the EVM v2.0.0 test adapter to select Router vs TestRouter via TestRouter env var and adjusted token approval behavior.
  • Updated the EVM lane sanity provider to resolve Router/TestRouter addresses and to resolve lane versions from TestRouter when enabled.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
deployment/testadapters/adapters.go Adds ExtraArgFinality and a helper constructor for it.
deployment/hooks/lane_sanity_hook.go Passes NewFinalityExtraArg(1) when building extra args for message probes.
chains/evm/deployment/v2_0_0/testadapter/test_adapter.go Adds v3 extra-args serialization path and TestRouter-aware router resolution; adjusts approvals.
chains/evm/deployment/hooks/lane_sanity_provider.go Adds TestRouter-aware lane version lookup and TestRouter-aware router address resolution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread chains/evm/deployment/v2_0_0/testadapter/test_adapter.go
Comment thread chains/evm/deployment/hooks/lane_sanity_provider.go Outdated
Comment thread chains/evm/deployment/hooks/lane_sanity_provider.go
Comment thread chains/evm/deployment/hooks/lane_sanity_provider.go Outdated
Comment thread chains/evm/deployment/v2_0_0/testadapter/test_adapter.go
Comment thread chains/evm/deployment/hooks/lane_sanity_provider.go
Comment thread chains/evm/deployment/v2_0_0/testadapter/test_adapter.go
AnieeG and others added 3 commits June 16, 2026 18:28
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Metric enable-ff main
Coverage 70.1% 69.8%

@AnieeG AnieeG enabled auto-merge June 17, 2026 01:53
@AnieeG AnieeG added this pull request to the merge queue Jun 17, 2026
Merged via the queue into main with commit d210fde Jun 17, 2026
58 checks passed
@AnieeG AnieeG deleted the enable-ff branch June 17, 2026 02:21
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.

4 participants