From 84ce698cfb827d99fb8d3f9c4bd122b576a80beb Mon Sep 17 00:00:00 2001 From: Vincent Geddes <117534+vgeddes@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:01:23 +0200 Subject: [PATCH] Add websocket heartbeat for ethereum relay (#1303) --- relayer/relays/execution/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relayer/relays/execution/main.go b/relayer/relays/execution/main.go index df152cf335..a06631d9ee 100644 --- a/relayer/relays/execution/main.go +++ b/relayer/relays/execution/main.go @@ -50,7 +50,7 @@ func (r *Relay) Start(ctx context.Context, eg *errgroup.Group) error { paraconn := parachain.NewConnection(r.config.Sink.Parachain.Endpoint, r.keypair.AsKeyringPair()) ethconn := ethereum.NewConnection(&r.config.Source.Ethereum, nil) - err := paraconn.Connect(ctx) + err := paraconn.ConnectWithHeartBeat(ctx, 20*time.Second) if err != nil { return err }