diff --git a/chains/evm/message/lifiEscrow.go b/chains/evm/message/lifiEscrow.go index 1cbfee51..392067af 100644 --- a/chains/evm/message/lifiEscrow.go +++ b/chains/evm/message/lifiEscrow.go @@ -2,6 +2,7 @@ package message import ( "context" + "encoding/hex" "encoding/json" "fmt" "math/big" @@ -132,6 +133,23 @@ func (h *LifiEscrowMessageHandler) HandleMessage(m *message.Message) (*proposal. return nil, err } + log.Debug().Msgf(` + Siging lifi unlock hash. + Calldata: %s + Amount: %s + Borrow token: %s, + Target: %s + Nonce: %s + Filldeadline: %d + `, + hex.EncodeToString(calldata), + data.BorrowAmount, + borrowToken.Hex(), + h.lifiAddresses[destChainID].Hex(), + data.Nonce, + big.NewInt(order.Order.FillDeadline.Unix()).Uint64(), + ) + unlockHash, err := borrowUnlockHash( calldata, data.BorrowAmount,