Skip to content

Commit 8a48d55

Browse files
committed
Fix tests
1 parent 76822e7 commit 8a48d55

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

chains/evm/message/lifiEscrow_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ func (s *LifiEscrowMessageHandlerTestSuite) SetupTest() {
5555

5656
tokens := make(map[uint64]map[string]config.TokenConfig)
5757
tokens[42161] = make(map[string]config.TokenConfig)
58-
tokens[42161]["WETH"] = config.TokenConfig{
59-
Address: common.HexToAddress("0x036CbD53842c5426634e7929541eC2318f3dCF7e"),
60-
Decimals: 18,
58+
tokens[42161]["USDC"] = config.TokenConfig{
59+
Address: common.HexToAddress("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"),
60+
Decimals: 6,
6161
}
6262
tokens[8453] = make(map[string]config.TokenConfig)
63-
tokens[8453]["WETH"] = config.TokenConfig{
64-
Address: common.HexToAddress("0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"),
65-
Decimals: 18,
63+
tokens[8453]["USDC"] = config.TokenConfig{
64+
Address: common.HexToAddress("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"),
65+
Decimals: 6,
6666
}
6767
tokenStore := config.TokenStore{
6868
Tokens: tokens,
@@ -150,7 +150,7 @@ func (s *LifiEscrowMessageHandlerTestSuite) Test_HandleMessage_BorrowAmountExcee
150150
ErrChn: errChn,
151151
Nonce: big.NewInt(101),
152152
LiquidityPool: common.HexToAddress("0xe59aaf21c4D9Cf92d9eD4537f4404BA031f83b23"),
153-
BorrowAmount: big.NewInt(20001),
153+
BorrowAmount: big.NewInt(100001),
154154
OrderID: "orderID",
155155
}
156156
s.mockOrderFetcher.EXPECT().GetOrder("orderID").Return(s.mockOrder, nil)

0 commit comments

Comments
 (0)