We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387ded4 commit 3fd08f2Copy full SHA for 3fd08f2
chains/evm/message/lifiEscrow.go
@@ -2,6 +2,7 @@ package message
2
3
import (
4
"context"
5
+ "encoding/hex"
6
"encoding/json"
7
"fmt"
8
"math/big"
@@ -132,6 +133,23 @@ func (h *LifiEscrowMessageHandler) HandleMessage(m *message.Message) (*proposal.
132
133
return nil, err
134
}
135
136
+ log.Debug().Msgf(`
137
+ Siging lifi unlock hash.
138
+ Calldata: %s
139
+ Amount: %s
140
+ Borrow token: %s,
141
+ Target: %s
142
+ Nonce: %s
143
+ Filldeadline: %d
144
+ `,
145
+ hex.EncodeToString(calldata),
146
+ data.BorrowAmount,
147
+ borrowToken.Hex(),
148
+ h.lifiAddresses[destChainID].Hex(),
149
+ data.Nonce,
150
+ big.NewInt(order.Order.FillDeadline.Unix()).Uint64(),
151
+ )
152
+
153
unlockHash, err := borrowUnlockHash(
154
calldata,
155
data.BorrowAmount,
0 commit comments