Node/gwrelayer: Log wormchain txhash (#3746)

This commit is contained in:
bruce-riley 2024-01-26 09:13:46 -06:00 committed by GitHub
parent 0c15b07f32
commit a445287f38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

View File

@ -407,7 +407,15 @@ func SubmitVAAToContract(
return txResp, fmt.Errorf("submit failed: %s", txResp.TxResponse.RawLog)
}
logger.Info("done sending broadcast", zap.String("msgId", v2p.V.MessageID()), zap.String("contract", v2p.ContractAddress), zap.Uint8("vaaType", uint8(v2p.VType)), zap.Int64("gasUsed", txResp.TxResponse.GasUsed), zap.Stringer("elapsedTime", time.Since(start)))
logger.Info("done sending broadcast",
zap.String("msgId", v2p.V.MessageID()),
zap.String("contract", v2p.ContractAddress),
zap.Uint8("vaaType", uint8(v2p.VType)),
zap.Int64("gasUsed", txResp.TxResponse.GasUsed),
zap.Stringer("elapsedTime", time.Since(start)),
zap.String("txHash", txResp.TxResponse.TxHash),
)
logger.Debug("in SubmitVAAToContract, done sending broadcast", zap.String("resp", wormchainConn.BroadcastTxResponseToString(txResp)))
return txResp, nil