diff --git a/core/services/relay/evm/chain_reader.go b/core/services/relay/evm/chain_reader.go index 04b6a32be11..0b651fa8e79 100644 --- a/core/services/relay/evm/chain_reader.go +++ b/core/services/relay/evm/chain_reader.go @@ -82,10 +82,10 @@ func (cr *chainReader) GetLatestValue(ctx context.Context, contractName, method } func (cr *chainReader) getLatestValueFromLogPoller(ctx context.Context, contractName, method string, hash common.Hash, returnVal any) error { - cr.lggr.Infof("!!!!!!!!!!\nEVM latest from log poller\n!!!!!!!!!!\n") + cr.lggr.Infof("!!!!!!!!!!\nlp: EVM latest from log poller\n!!!!!!!!!!\n") ae, err := cr.bindings.getBinding(contractName, method, false) if err != nil { - cr.lggr.Errorf("!!!!!!!!!!\nEVM no binding err:\n%v\n!!!!!!!!!!\n", err) + cr.lggr.Errorf("!!!!!!!!!!\nlp: EVM no binding err:\n%v\n!!!!!!!!!!\n", err) return err } @@ -93,17 +93,17 @@ func (cr *chainReader) getLatestValueFromLogPoller(ctx context.Context, contract if err != nil { errStr := err.Error() if strings.Contains(errStr, "not found") || strings.Contains(errStr, "no rows") { - cr.lggr.Infof("!!!!!!!!!!\nReturning no error when nothing is found\n!!!!!!!!!!\n") + cr.lggr.Infof("!!!!!!!!!!\nlp: Returning no error when nothing is found\n!!!!!!!!!!\n") return nil } - cr.lggr.Errorf("!!!!!!!!!!\nNo sig err:\n%v\n!!!!!!!!!!\n", err) + cr.lggr.Errorf("!!!!!!!!!!\nlp: No sig err:\n%v\n!!!!!!!!!!\n", err) return fmt.Errorf("%w: %w", commontypes.ErrInternal, err) } err = cr.codec.Decode(ctx, log.Data, returnVal, wrapItemType(contractName, method, false)) if err != nil { - cr.lggr.Errorf("!!!!!!!!!!\nEVM decode err:\n%v\n!!!!!!!!!!\n", err) + cr.lggr.Errorf("!!!!!!!!!!\nlp: EVM decode err:\n%v\n!!!!!!!!!!\n", err) } else { - cr.lggr.Infof("!!!!!!!!!!\nEVM decode success\n%#v\n!!!!!!!!!!\n", returnVal) + cr.lggr.Infof("!!!!!!!!!!\nlp: EVM decode success\n%#v\n!!!!!!!!!!\n", returnVal) } return err } diff --git a/core/services/relay/evm/codec.go b/core/services/relay/evm/codec.go index 09dc23c5035..1739be11dff 100644 --- a/core/services/relay/evm/codec.go +++ b/core/services/relay/evm/codec.go @@ -37,7 +37,7 @@ func NewCodec(conf types.CodecConfig) (commontypes.RemoteCodec, error) { for k, v := range conf.ChainCodecConfigs { args := abi.Arguments{} if err := json.Unmarshal(([]byte)(v.TypeAbi), &args); err != nil { - fmt.Printf("!!!!!!!!!!\nNewCodec json abi/n%s/n err\n%#v\n!!!!!!!!!!\n%", v.TypeAbi, err) + fmt.Printf("!!!!!!!!!!\nNewCodec json abi/n%s/n err\n%#v\n!!!!!!!!!!\n", v.TypeAbi, err) return nil, err }