Skip to content

Implement disable remote chain#627

Open
matYang wants to merge 2 commits intomainfrom
stub-disable-remote-chain
Open

Implement disable remote chain#627
matYang wants to merge 2 commits intomainfrom
stub-disable-remote-chain

Conversation

@matYang
Copy link

@matYang matYang commented Feb 26, 2026

No description provided.

@matYang matYang requested a review from a team as a code owner February 26, 2026 01:15
Copilot AI review requested due to automatic review settings February 26, 2026 01:15
@github-actions
Copy link

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

Copy link
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 implements the DisableRemoteChain method for the TON lane adapter by adding a panic placeholder, indicating that this functionality is not yet supported for TON chains.

Changes:

  • Added DisableRemoteChain method to TonLaneAdapter that panics with a "not implemented" message

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

}

func (a *TonLaneAdapter) DisableRemoteChain() *cldf_ops.Sequence[lanes.DisableRemoteChainInput, sequences.OnChainOutput, cldfChain.BlockChains] {
panic("DisableRemoteChain not implemented for TON")
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

The panic message should follow Go conventions by starting with a lowercase letter and including the method/type context. Consider changing to 'tonLaneAdapter.DisableRemoteChain: not implemented' for consistency with standard Go error formatting.

Suggested change
panic("DisableRemoteChain not implemented for TON")
panic("tonLaneAdapter.DisableRemoteChain: not implemented")

Copilot uses AI. Check for mistakes.
@tt-cll
Copy link
Contributor

tt-cll commented Feb 26, 2026

@ma33r is also modifying the MCMS interface to allow updating configs, so we'll want to add that API call here too

@archseer
Copy link
Collaborator

I think you also need to bump github.com/smartcontractkit/chainlink-ccip/deployment

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