From 51e7073bafbff1d38eba0e877621101763e88e08 Mon Sep 17 00:00:00 2001 From: patrickhuie19 Date: Fri, 31 May 2024 13:20:36 -0400 Subject: [PATCH] Added NewCCIPCommitProvider + NewCCIPExecProvider to relay --- integration-tests/go.mod | 2 +- integration-tests/go.sum | 4 ++-- pkg/solana/relay.go | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/integration-tests/go.mod b/integration-tests/go.mod index ceb775d6a..82a6ecc48 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -14,7 +14,7 @@ require ( github.com/lib/pq v1.10.9 github.com/pelletier/go-toml/v2 v2.1.1 github.com/rs/zerolog v1.30.0 - github.com/smartcontractkit/chainlink-common v0.1.7-0.20240524173852-a74b009c7303 + github.com/smartcontractkit/chainlink-common v0.1.7-0.20240531164135-2537dc9ad8fe github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240524201401-88d0b3763b20 github.com/smartcontractkit/chainlink-testing-framework v1.28.17 github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240528175738-765a1e8107d6 diff --git a/integration-tests/go.sum b/integration-tests/go.sum index c5c00c91a..98c18da7a 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1406,8 +1406,8 @@ github.com/smartcontractkit/chain-selectors v1.0.10 h1:t9kJeE6B6G+hKD0GYR4kGJSCq github.com/smartcontractkit/chain-selectors v1.0.10/go.mod h1:d4Hi+E1zqjy9HqMkjBE5q1vcG9VGgxf5VxiRHfzi2kE= github.com/smartcontractkit/chainlink-automation v1.0.3 h1:h/ijT0NiyV06VxYVgcNfsE3+8OEzT3Q0Z9au0z1BPWs= github.com/smartcontractkit/chainlink-automation v1.0.3/go.mod h1:RjboV0Qd7YP+To+OrzHGXaxUxoSONveCoAK2TQ1INLU= -github.com/smartcontractkit/chainlink-common v0.1.7-0.20240524173852-a74b009c7303 h1:iyLE5c2YFxy89t2v5u+aQOHqRE4c+sCMze70KIo07mI= -github.com/smartcontractkit/chainlink-common v0.1.7-0.20240524173852-a74b009c7303/go.mod h1:DUZccDEW98n+J1mhdWGO7wr/Njad9p9Fzks839JN7Rs= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240531164135-2537dc9ad8fe h1:tHbN/qDCiv3uDAEBg9jdj5T3lvIeHr/7NO7455KtAJM= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240531164135-2537dc9ad8fe/go.mod h1:JQVppvs/TMugKiW69lR1udilCUJMjIDo8SA8bRyM1UM= github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240524214833-c362c2ebbd2d h1:5tgMC5Gi2UAOKZ+m28W8ubjLeR0pQCAcrz6eQ0rW510= github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240524214833-c362c2ebbd2d/go.mod h1:0UNuO3nDt9MFsZPaHJBEUolxVkN0iC69j1ccDp95e8k= github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240220203239-09be0ea34540 h1:xFSv8561jsLtF6gYZr/zW2z5qUUAkcFkApin2mnbYTo= diff --git a/pkg/solana/relay.go b/pkg/solana/relay.go index 91057e123..ee553a5b8 100644 --- a/pkg/solana/relay.go +++ b/pkg/solana/relay.go @@ -81,6 +81,14 @@ func (r *Relayer) NewLLOProvider(rargs relaytypes.RelayArgs, pargs relaytypes.Pl return nil, errors.New("data streams is not supported for solana") } +func (r *Relayer) NewCCIPCommitProvider(rargs relaytypes.RelayArgs, pargs relaytypes.PluginArgs) (relaytypes.CCIPCommitProvider, error) { + return nil, errors.New("ccip.commit is not supported for solana") +} + +func (r *Relayer) NewCCIPExecProvider(rargs relaytypes.RelayArgs, pargs relaytypes.PluginArgs) (relaytypes.CCIPExecProvider, error) { + return nil, errors.New("ccip.exec is not supported for solana") +} + func (r *Relayer) NewConfigProvider(args relaytypes.RelayArgs) (relaytypes.ConfigProvider, error) { ctx, cancel := r.stopCh.NewCtx() defer cancel()