Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ngcha0 committed Aug 18, 2024
1 parent 14a961e commit 52cb391
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions explorer-backend/transactions/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 52cb391

Please sign in to comment.