Skip to content

Commit

Permalink
Log when we're falling back to internal MedianContract
Browse files Browse the repository at this point in the history
We had this before, at some point it accidentally got dropped
  • Loading branch information
reductionista committed Nov 23, 2023
1 parent 3ac341c commit 879e286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/services/relay/evm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ func (r *Relayer) NewMedianProvider(rargs commontypes.RelayArgs, pargs commontyp
if err != nil {
if errors.Is(err, errors.ErrUnsupported) {
// ignore for now, until we can remove old MedianContract code from MedianProvider
lggr.Info("ChainReader missing from RelayConfig; falling back to internal MedianContract")
medianProvider.chainReader = nil
return &medianProvider, nil
}
Expand Down

0 comments on commit 879e286

Please sign in to comment.