From e140a2bc1c90fa2522109c9da021c3085ed9268d Mon Sep 17 00:00:00 2001 From: Nick Corin Date: Tue, 9 Jul 2024 16:53:56 +0200 Subject: [PATCH] relay: Add chain writer method onto the dummy relayer (#13789) --- .changeset/good-paws-switch.md | 5 +++++ core/services/relay/dummy/relayer.go | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/good-paws-switch.md diff --git a/.changeset/good-paws-switch.md b/.changeset/good-paws-switch.md new file mode 100644 index 00000000000..76758a2c86e --- /dev/null +++ b/.changeset/good-paws-switch.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +#internal add `NewChainWriter` method onto the dummy relayer. diff --git a/core/services/relay/dummy/relayer.go b/core/services/relay/dummy/relayer.go index 9818eabb201..cf3aa732c47 100644 --- a/core/services/relay/dummy/relayer.go +++ b/core/services/relay/dummy/relayer.go @@ -31,6 +31,10 @@ func NewRelayer(lggr logger.Logger, chainID string) loop.Relayer { return &relayer{lggr, chainID} } +func (r *relayer) NewChainWriter(ctx context.Context, chainWriterConfig []byte) (types.ChainWriter, error) { + return nil, nil +} + func (r *relayer) NewContractReader(ctx context.Context, contractReaderConfig []byte) (types.ContractReader, error) { return nil, nil }