Skip to content

Commit

Permalink
additional logs to check post receive confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jun 13, 2023
1 parent 84d45cb commit ff21488
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ func (ob *EVMChainClient) IsSendOutTxProcessed(sendHash string, nonce int, coint
}
sendID := fmt.Sprintf("%s-%d", ob.chain.String(), nonce)
logger = logger.With().Str("sendID", sendID).Logger()
logger.Info().Msgf("Found TX and Receipt %s | %d ", transaction.Hash().Hex(), receipt.Status)
logger.Info().Msgf("nonce %d ", nonce)
logger.Info().Msgf("Found TX %s |Receipt Hash %s", transaction.Hash().Hex(), receipt.TxHash.Hex())
logger.Info().Msgf("ReceiptStatus %d | block number %s ", receipt.Status, receipt.BlockNumber.String())
if cointype == common.CoinType_Gas { // the outbound is a regular Ether/BNB/Matic transfer; no need to check events
if receipt.Status == 1 {
zetaHash, err := ob.zetaClient.PostReceiveConfirmation(
Expand Down

0 comments on commit ff21488

Please sign in to comment.