Skip to content

Create changeset to removepool from tar solana#22272

Open
agusaldasoro wants to merge 3 commits intodevelopfrom
fix/set-pool
Open

Create changeset to removepool from tar solana#22272
agusaldasoro wants to merge 3 commits intodevelopfrom
fix/set-pool

Conversation

@agusaldasoro
Copy link
Copy Markdown
Contributor

Requires

Supports

@github-actions
Copy link
Copy Markdown
Contributor

👋 agusaldasoro, 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

github-actions Bot commented Apr 30, 2026

✅ No conflicts with other open PRs targeting develop

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

Adds a new Solana v0.1.1 deployments-framework changeset to remove (unset) the token pool association in the Token Admin Registry, supporting LINK-777.

Changes:

  • Register a new RemovePool changeset in the Solana v0.1.1 token admin registry changeset package.
  • Introduce RemovePoolConfig validation and execution logic that clears the registry’s lookup table by setting it to the default pubkey.
  • Add MCMS/timelock proposal path support when the registry admin is the timelock signer PDA.

Comment thread deployment/ccip/changeset/solana_v0_1_1/cs_token_admin_registry.go Outdated
zeroAddress,
currentAdmin,
)
base.AccountMetaSlice = append(base.AccountMetaSlice, solana.Meta(zeroAddress))
Comment on lines +814 to +817
// RemovePool sets the token pool lookup table to the zero address, effectively removing the pool association.
func RemovePool(e cldf.Environment, cfg RemovePoolConfig) (cldf.ChangesetOutput, error) {
e.Logger.Infow("Removing pool config", "cfg", cfg)
state, err := stateview.LoadOnchainState(e)
athegaul
athegaul previously approved these changes Apr 30, 2026
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 30, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@agusaldasoro agusaldasoro enabled auto-merge April 30, 2026 19:00
@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
67.2% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

// remote chain setup
func TestAddRemoteChainWithMcms(t *testing.T) {
t.Parallel()
skipInCI(t)
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.

These seem really easy to lose track of. @kalverra Do we have an idiomatic way of doing this that is not overlooked by our other flake & release tooling?

func skipInCI(t *testing.T) {
	ci := os.Getenv("CI") == "true"
	if ci {
		t.Skip("Skipping in CI")
	}
}

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.

7 participants