Skip to content

Commit

Permalink
start reader in ccip delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
Farber98 committed Aug 15, 2024
1 parent b0c3305 commit 46d0c84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/capabilities/ccip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ func (d *Delegate) getHomeChainContractReader(
return nil, fmt.Errorf("failed to create home chain contract reader: %w", err)
}

err = reader.Start(ctx)
if err != nil {
return nil, err
}

reader, err = bindReader(ctx, reader, d.capabilityConfig.ExternalRegistry().Address(), capabilityLabelledName, capabilityVersion)
if err != nil {
return nil, fmt.Errorf("failed to bind home chain contract reader: %w", err)
Expand Down

0 comments on commit 46d0c84

Please sign in to comment.