From 9da575fe357af4e3cd6873b287f480898ac0a4a5 Mon Sep 17 00:00:00 2001 From: h0ngcha0 Date: Sun, 18 Aug 2024 22:43:05 +0200 Subject: [PATCH] debug --- explorer-backend/transactions/evm.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/explorer-backend/transactions/evm.go b/explorer-backend/transactions/evm.go index 7c38e0df..61691070 100644 --- a/explorer-backend/transactions/evm.go +++ b/explorer-backend/transactions/evm.go @@ -37,6 +37,9 @@ func NewEVMWatcher( getEventIndex func(context.Context) (*uint32, error), blockTxsC chan<- []*BlockTransactions, ) (*EVMWatcher, error) { + logger.Info("start evm watcher 0") + logger.Info("start evm watcher 1", zap.String("governance", chainConfig.Contracts.Governance), zap.String("rpcUrl", rpcUrl)) + logger.Info("start evm watcher 2") contractAddress := ethCommon.HexToAddress(chainConfig.Contracts.Governance) namedLogger := logger.Named(chainId.String()) connector, err := ethereum.NewEthereumConnector(ctx, chainId.String(), rpcUrl, contractAddress, namedLogger)