Commit a4adaa12 authored by hezhengjun's avatar hezhengjun

add debug info

parent 7a878465
...@@ -588,7 +588,8 @@ func (ethRelayer *EthereumRelayer) filterLogEventsProc(logchan chan<- types.Log, ...@@ -588,7 +588,8 @@ func (ethRelayer *EthereumRelayer) filterLogEventsProc(logchan chan<- types.Log,
panic(errinfo) panic(errinfo)
} }
relayerLog.Info(title, "received logs", len(logs)) relayerLog.Info(title, "received logs with number", len(logs),
"start height", query.FromBlock.String(), "stop height", query.ToBlock.String())
for _, log := range logs { for _, log := range logs {
relayerLog.Info(title, "received log with topics", log.Topics[0].Hex(), "BlockNumber", log.BlockNumber) relayerLog.Info(title, "received log with topics", log.Topics[0].Hex(), "BlockNumber", log.BlockNumber)
if _, exist := eventSig[log.Topics[0].Hex()]; !exist { if _, exist := eventSig[log.Topics[0].Hex()]; !exist {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment