diff --git a/relayer/go.mod b/relayer/go.mod index cd6aafc4..a72aac14 100644 --- a/relayer/go.mod +++ b/relayer/go.mod @@ -10,7 +10,7 @@ require ( github.com/ethereum/go-ethereum v1.13.8 github.com/hashicorp/go-plugin v1.6.0 github.com/pelletier/go-toml/v2 v2.1.1 - github.com/smartcontractkit/chainlink-common v0.1.7-0.20240524173852-a74b009c7303 + github.com/smartcontractkit/chainlink-common v0.1.7-0.20240614192253-77cca30c8a12 github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c github.com/stretchr/testify v1.9.0 go.uber.org/zap v1.26.0 diff --git a/relayer/go.sum b/relayer/go.sum index d666b5da..34247126 100644 --- a/relayer/go.sum +++ b/relayer/go.sum @@ -445,8 +445,8 @@ github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMT github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -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.20240614192253-77cca30c8a12 h1:L+sWJRyl7veCiHeOAjEaiahodvU+ACRzVKhfVsfQMdg= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240614192253-77cca30c8a12/go.mod h1:IZaCD+a40hs6uL7s5r1gBwL5G+hP3LU6lfOVh21c6T8= github.com/smartcontractkit/go-plugin v0.0.0-20231003134350-e49dad63b306 h1:ko88+ZznniNJZbZPWAvHQU8SwKAdHngdDZ+pvVgB5ss= github.com/smartcontractkit/go-plugin v0.0.0-20231003134350-e49dad63b306/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJif132UCdjo8u43i7iPN1/MFnu49hv7lFGFftCHKU= diff --git a/relayer/pkg/chainlink/ocr2/providers.go b/relayer/pkg/chainlink/ocr2/providers.go index 343ab359..af581802 100644 --- a/relayer/pkg/chainlink/ocr2/providers.go +++ b/relayer/pkg/chainlink/ocr2/providers.go @@ -152,7 +152,7 @@ func (p *medianProvider) OnchainConfigCodec() median.OnchainConfigCodec { return medianreport.OnchainConfigCodec{} } -func (p *medianProvider) ChainReader() relaytypes.ContractReader { +func (p *medianProvider) ChainReader() relaytypes.ChainReader { return nil } diff --git a/relayer/pkg/chainlink/relay.go b/relayer/pkg/chainlink/relay.go index fbc94391..31383616 100644 --- a/relayer/pkg/chainlink/relay.go +++ b/relayer/pkg/chainlink/relay.go @@ -54,10 +54,6 @@ func (r *relayer) HealthReport() map[string]error { return map[string]error{r.Name(): r.Healthy()} } -func (r *relayer) NewContractReader(_ []byte) (relaytypes.ContractReader, error) { - return nil, errors.New("contract reader is not supported for starknet") -} - func (r *relayer) NewConfigProvider(args relaytypes.RelayArgs) (relaytypes.ConfigProvider, error) { var relayConfig RelayConfig @@ -122,7 +118,3 @@ func (r *relayer) NewAutomationProvider(rargs relaytypes.RelayArgs, pargs relayt func (r *relayer) NewPluginProvider(rargs relaytypes.RelayArgs, pargs relaytypes.PluginArgs) (relaytypes.PluginProvider, error) { return nil, errors.New("plugin provider is not supported for starknet") } - -func (r *relayer) NewOCR3CapabilityProvider(rargs relaytypes.RelayArgs, pargs relaytypes.PluginArgs) (relaytypes.OCR3CapabilityProvider, error) { - return nil, errors.New("ocr3 capability provider is not supported for starknet") -}