Skip to content

Support solana denv#862

Draft
ogtownsend wants to merge 11 commits intomainfrom
ogt/support-solana-devenv
Draft

Support solana denv#862
ogtownsend wants to merge 11 commits intomainfrom
ogt/support-solana-devenv

Conversation

@ogtownsend
Copy link

@ogtownsend ogtownsend force-pushed the ogt/support-solana-devenv branch from 7bf9c99 to e829f78 Compare March 9, 2026 20:12
Comment on lines +81 to +85
CantonConfigs util.OpaqueConfig `toml:"canton_configs"`

// SolanaConfigs is the map of chain selectors to Solana configurations to pass onto the verifier,
// only used in standalone mode and if Solana is enabled.
SolanaConfigs util.OpaqueConfig `toml:"solana_configs"`
Copy link

Choose a reason for hiding this comment

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

@makramkd WDYT if we type this as

Configs map[string]util.OpaqueConfig `toml:"configs"`

with string mapping to chain family? This FooConfigs approach leaked through from the relayer implementation in core where each family's config was strongly typed

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh yeah that sounds like a better approach eh

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also means you don't have to update devenv to support a new family, which is preferred.

@ogtownsend ogtownsend marked this pull request as ready for review March 10, 2026 13:20
@ogtownsend ogtownsend requested review from a team and skudasov as code owners March 10, 2026 13:20
Comment on lines -861 to -863
if in.Blockchains[i].Type == blockchain.TypeCanton {
continue
}
Copy link
Author

@ogtownsend ogtownsend Mar 13, 2026

Choose a reason for hiding this comment

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

@makramkd is this really needed? I don't see Pricer in any of the canton env tomls. Would love to clean up the if <chainFamily>...s wherever possible :D

@ogtownsend ogtownsend marked this pull request as draft March 13, 2026 04:43
@ogtownsend ogtownsend force-pushed the ogt/support-solana-devenv branch from 288cd09 to cf32cd3 Compare March 13, 2026 04:50
@github-actions
Copy link

Code coverage report:

Package main ogt/support-solana-devenv diff
github.com/smartcontractkit/chainlink-ccv/aggregator 48.01% 48.04% +0.03%
github.com/smartcontractkit/chainlink-ccv/bootstrap 51.13% 51.13% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/committee 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 52.96% 52.89% -0.07%
github.com/smartcontractkit/chainlink-ccv/executor 48.05% 48.05% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 36.80% 36.67% -0.13%
github.com/smartcontractkit/chainlink-ccv/integration 45.57% 45.68% +0.11%
github.com/smartcontractkit/chainlink-ccv/pkg 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 65.26% 65.26% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 39.38% 39.38% +0.00%

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