node/pkg/ethereum: log blockhash for new message publications (#910)
This commit is contained in:
parent
3e51512aec
commit
d40a70a37f
|
@ -324,8 +324,11 @@ func (e *Watcher) Run(ctx context.Context) error {
|
||||||
ConsistencyLevel: ev.ConsistencyLevel,
|
ConsistencyLevel: ev.ConsistencyLevel,
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Info("found new message publication transaction", zap.Stringer("tx", ev.Raw.TxHash),
|
logger.Info("found new message publication transaction",
|
||||||
zap.Uint64("block", ev.Raw.BlockNumber), zap.String("eth_network", e.networkName))
|
zap.Stringer("tx", ev.Raw.TxHash),
|
||||||
|
zap.Uint64("block", ev.Raw.BlockNumber),
|
||||||
|
zap.Stringer("blockhash", ev.Raw.BlockHash),
|
||||||
|
zap.String("eth_network", e.networkName))
|
||||||
|
|
||||||
ethMessagesObserved.WithLabelValues(e.networkName).Inc()
|
ethMessagesObserved.WithLabelValues(e.networkName).Inc()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue