returnfmt.Errorf("failed to fetch block by number: %w",err)
}
safeBlockHash=safeBlock.Hash()
}
ifsafeBlockHash==blockId.Hash{
log.Info("Transaction included at safe block","block",blockId,"txHash",txHash.String())
}else{
log.Error("Transaction included block is reorged","blockNum",blockId.Number,"prevHash",blockId.Hash,"currBlock",safeBlockHash,"txHash",txHash.String())