Skip to content

bump solana with anchor 0.31 support#21376

Merged
ilija42 merged 12 commits intodevelopfrom
bump_cl-solana
Apr 22, 2026
Merged

bump solana with anchor 0.31 support#21376
ilija42 merged 12 commits intodevelopfrom
bump_cl-solana

Conversation

@Unheilbar
Copy link
Copy Markdown
Collaborator

Requires

Supports

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

CORA - Pending Reviewers

All codeowners have approved! ✅

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@github-actions
Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 21, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@Unheilbar Unheilbar marked this pull request as ready for review April 21, 2026 22:21
Copilot AI review requested due to automatic review settings April 21, 2026 22:21
@Unheilbar Unheilbar requested review from a team as code owners April 21, 2026 22:21
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

Risk Rating: HIGH

This PR bumps Solana-related dependencies/config to support Anchor 0.31, updating Chainlink Solana plugin references, generated-instruction call sites, and several system/integration-test Go modules to align with the new dependency set.

Changes:

  • Bump github.com/smartcontractkit/chainlink-solana (and contracts) refs across repo, plus related dependency upgrades (selectors, protos, crypto/sys/term, etc.).
  • Update Solana deployment operations to match the newer instruction-generation style (no ValidateAndBuild(); different ProgramID handling).
  • Adjust CRE Solana v2 system test to collect/validate workflow execution via CHiP sink logs; update Solana config/testdata defaults (e.g., LogPollerSlotsBatchSize).

Reviewed changes

Copilot reviewed 44 out of 76 changed files in this pull request and generated no comments.

Show a summary per file
File Description
system-tests/tests/smoke/cre/vaultsecret/go.mod Bump chainlink-protos/cre dependency for system test module.
system-tests/tests/smoke/cre/vaultsecret/go.sum Update sums for bumped chainlink-protos/cre.
system-tests/tests/smoke/cre/v2_solana_capability_test.go Add CHiP sink log watching to assert Solana workflow execution.
system-tests/tests/smoke/cre/solana/solwrite/go.mod Bump solana-related deps (chain-selectors, compress, x/*, chainlink-protos/cre).
system-tests/tests/smoke/cre/solana/solwrite/go.sum Refresh sums for upgraded dependencies.
system-tests/tests/smoke/cre/httpaction/go.mod Bump chainlink-protos/cre dependency for test module.
system-tests/tests/smoke/cre/httpaction/go.sum Update sums for bumped chainlink-protos/cre.
system-tests/tests/smoke/cre/evm/logtrigger/go.mod Bump chainlink-protos/cre and x/sys.
system-tests/tests/smoke/cre/evm/logtrigger/go.sum Update sums for bumped deps.
system-tests/tests/smoke/cre/evm/evmread/go.mod Bump chainlink-protos/cre and indirect deps (pyroscope/compress/x/*).
system-tests/tests/smoke/cre/evm/evmread/go.sum Update sums for bumped deps.
system-tests/tests/smoke/cre/aptos/aptoswriteroundtrip/go.mod Bump Go patch version + chainlink-protos/cre + mapstructure.
system-tests/tests/smoke/cre/aptos/aptoswriteroundtrip/go.sum Update sums for bumped deps.
system-tests/tests/smoke/cre/aptos/aptoswrite/go.mod Bump Go patch version + chainlink-protos/cre + mapstructure.
system-tests/tests/smoke/cre/aptos/aptoswrite/go.sum Update sums for bumped deps.
system-tests/tests/smoke/cre/aptos/aptosread/go.mod Bump Go patch version + chainlink-protos/cre + mapstructure.
system-tests/tests/smoke/cre/aptos/aptosread/go.sum Update sums for bumped deps.
system-tests/tests/regression/cre/httpaction-negative/go.mod Bump chainlink-protos/cre dependency.
system-tests/tests/regression/cre/httpaction-negative/go.sum Update sums for bumped chainlink-protos/cre.
system-tests/tests/regression/cre/http/go.mod Bump chainlink-protos/cre dependency.
system-tests/tests/regression/cre/http/go.sum Update sums for bumped chainlink-protos/cre.
system-tests/tests/regression/cre/evm/logtrigger-negative/go.mod Bump chainlink-protos/cre dependency.
system-tests/tests/regression/cre/evm/logtrigger-negative/go.sum Update sums for bumped chainlink-protos/cre.
system-tests/tests/regression/cre/evm/evmwrite-negative/go.mod Bump chainlink-protos/cre and x/sys.
system-tests/tests/regression/cre/evm/evmwrite-negative/go.sum Update sums for bumped deps.
system-tests/tests/regression/cre/evm/evmread-negative/go.mod Bump chainlink-protos/cre and indirect deps (pyroscope/compress/x/*).
system-tests/tests/regression/cre/evm/evmread-negative/go.sum Update sums for bumped deps.
system-tests/tests/regression/cre/consensus/go.mod Bump chainlink-protos/cre and x/sys.
system-tests/tests/regression/cre/consensus/go.sum Update sums for bumped deps.
system-tests/tests/go.mod Add indirect anchor-go; bump chainlink-solana (+ contracts).
system-tests/tests/go.sum Update sums for anchor-go, chainlink-solana, and other bumped deps.
system-tests/tests/canaries_sentinels/proof-of-reserve/cron-based/go.mod Bump chain-selectors, chainlink-common, validator, mimetype, libocr, etc.
system-tests/tests/canaries_sentinels/proof-of-reserve/cron-based/go.sum Update sums for bumped deps.
system-tests/lib/go.mod Bump chainlink-solana (+ contracts), add anchor-go, and pin moby/go-archive via replace.
system-tests/lib/go.sum Update sums for anchor-go, chainlink-solana, and moby/go-archive versioning.
system-tests/lib/cre/types.go Switch Solana forwarder import path from keystone changeset to CRE forwarder module.
system-tests/lib/cre/features/solana/v2/solana.go Add deltaStage into Solana capability config template and runtime values.
system-tests/lib/cre/environment/blockchains/solana/solana.go Update pinned contracts artifact SHA used for Solana program downloads.
plugins/plugins.public.yaml Bump public Solana plugin gitRef to newer chainlink-solana.
plugins/plugins.private.yaml Bump private Solana capability plugin gitRef.
integration-tests/load/go.mod Bump indirect chainlink-solana.
integration-tests/load/go.sum Update sums for bumped chainlink-solana.
integration-tests/go.mod Bump indirect chainlink-solana.
integration-tests/go.sum Update sums for bumped chainlink-solana.
go.mod Bump root chainlink-solana version.
go.sum Update sums for bumped deps (incl. chainlink-solana, libocr, etc.).
devenv/go.mod Bump dev dependencies (retry-go, selectors, common, libocr, testcontainers, etc.).
devenv/go.sum Update sums for bumped dev dependencies.
devenv/fakes/go.mod Bump fake/dev dependencies to match devenv upgrades.
devenv/fakes/go.sum Update sums for bumped fake/dev dependencies.
deployment/keystone/changeset/solana/sequence/operation/operation.go Update keystone forwarder ops to new instruction-generation API style.
deployment/data-feeds/changeset/solana/sequence/operation/operation.go Update data-feeds Solana ops for new instruction API; fix remaining-accounts handling.
deployment/cre/forwarder/solana/sequence/operation/operation.go Update CRE forwarder Solana ops to new instruction-generation API style.
deployment/go.mod Bump chainlink-solana (+ contracts) and add anchor-go.
deployment/go.sum Update sums for bumped deployment deps.
core/web/resolver/testdata/config-multi-chain-effective.toml Update Solana config testdata LogPollerSlotsBatchSize default.
core/web/chains_controller_test.go Keep controller test expectations in sync with LogPollerSlotsBatchSize change.
core/services/chainlink/testdata/config-multi-chain-effective.toml Update chainlink service config testdata for new LogPollerSlotsBatchSize.
core/scripts/go.mod Add anchor-go, bump chainlink-solana (+ contracts), and pin moby/go-archive via replace.
core/scripts/go.sum Update sums for bumped script deps and pinned moby/go-archive.
core/scripts/cre/environment/examples/workflows/v2/time_consensus/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/time_consensus/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v2/time/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/time/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v2/proof-of-reserve/cron-based/go.mod Bump chainlink-common, chainlink-protos/cre, and several indirect deps.
core/scripts/cre/environment/examples/workflows/v2/proof-of-reserve/cron-based/go.sum Update sums for bumped deps.
core/scripts/cre/environment/examples/workflows/v2/node-mode/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/node-mode/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v2/http_simple/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/http_simple/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v2/http/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/http/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v2/cron/go.mod Bump chainlink-protos/cre dependency.
core/scripts/cre/environment/examples/workflows/v2/cron/go.sum Update sums for bumped chainlink-protos/cre.
core/scripts/cre/environment/examples/workflows/v1/proof-of-reserve/cron-based/go.mod Bump chainlink-common, reorganize indirect requires, bump validator/mimetype/libocr/etc.
core/scripts/cre/environment/examples/workflows/v1/proof-of-reserve/cron-based/go.sum Update sums for bumped deps.

@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

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

See analysis details on SonarQube

@ilija42 ilija42 enabled auto-merge April 22, 2026 12:18
gopkg.in/yaml.v3 v3.0.1
)

require github.com/pkg/errors v0.9.1 // indirect
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.

This one escaped

module github.com/smartcontractkit/chainlink/system-tests/tests/smoke/cre/aptos/aptoswriteroundtrip

go 1.25.5
go 1.25.7
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.

1.25.9 is latest

Suggested change
go 1.25.7
go 1.25.9

@ilija42 ilija42 added this pull request to the merge queue Apr 22, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 22, 2026
@ilija42 ilija42 added this pull request to the merge queue Apr 22, 2026
Merged via the queue into develop with commit 8d40f34 Apr 22, 2026
230 of 231 checks passed
@ilija42 ilija42 deleted the bump_cl-solana branch April 22, 2026 13:13
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