Skip to content

fix tp devenv#1020

Merged
stackman27 merged 11 commits intomainfrom
sish/fix-tp-devenv
Apr 14, 2026
Merged

fix tp devenv#1020
stackman27 merged 11 commits intomainfrom
sish/fix-tp-devenv

Conversation

@stackman27
Copy link
Copy Markdown
Contributor

No description provided.

@stackman27 stackman27 marked this pull request as ready for review April 13, 2026 17:26
@stackman27 stackman27 requested review from a team and skudasov as code owners April 13, 2026 17:26
Copilot AI review requested due to automatic review settings April 13, 2026 17:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates the devenv token-transfer auto-configuration flow to correctly handle mixed EVM/Canton lanes by changing how token transfer configs are filtered and grouped before applying ConfigureTokensForTransfers.

Changes:

  • Group TokenTransferConfigs by full lane pair (local+remote pool refs) instead of only the local pool identity to avoid splitting mixed EVM/Canton lanes.
  • Update EVM token-transfer config generation to keep topology-based combinations while deferring datastore existence checks to per-chain/per-remote logic.
  • Add additional per-remote configuration fields in EVM transfer config generation (including token ref and outbound rate limiter settings).

Reviewed changes

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

File Description
build/devenv/implcommon.go Reworks grouping of token transfer configs to be lane-pair based and adds mixed-lane conflict resolution.
build/devenv/evm/impl.go Adjusts token combo filtering/existence checks for mixed lanes and updates generated remote-chain config fields.

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

Comment thread build/devenv/evm/impl.go Outdated
Comment thread build/devenv/evm/impl.go Outdated
Comment thread build/devenv/implcommon.go Outdated
if candidate.TokenPoolRef.Type == datastore.ContractType(devenvcommon.BurnMintTokenPoolType) {
return candidate, nil
}
case chainsel.FamilyCanton:
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.

we took this offline but we shouldn't be using chain specific switches. We should fix the filtering mechanism

@stackman27 stackman27 requested a review from tt-cll April 14, 2026 03:54
@stackman27 stackman27 added this pull request to the merge queue Apr 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 14, 2026
@stackman27 stackman27 added this pull request to the merge queue Apr 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 14, 2026
@github-actions
Copy link
Copy Markdown

Code coverage report:

Package main sish/fix-tp-devenv diff
github.com/smartcontractkit/chainlink-ccv/aggregator 48.44% 48.46% +0.02%
github.com/smartcontractkit/chainlink-ccv/bootstrap 39.56% 39.56% +0.00%
github.com/smartcontractkit/chainlink-ccv/cli 65.13% 65.13% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 50.74% 50.74% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 45.74% 45.74% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 37.50% 37.55% +0.05%
github.com/smartcontractkit/chainlink-ccv/integration 48.07% 48.07% +0.00%
github.com/smartcontractkit/chainlink-ccv/pkg 38.00% 38.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 65.19% 65.19% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 32.43% 32.43% +0.00%

@stackman27 stackman27 enabled auto-merge April 14, 2026 18:48
@stackman27 stackman27 added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit e41e205 Apr 14, 2026
29 of 30 checks passed
@stackman27 stackman27 deleted the sish/fix-tp-devenv branch April 14, 2026 19:16
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