@@ -138,19 +138,22 @@ func (s *AcrossMessageHandlerTestSuite) Test_HandleMessage_ValidDeposit() {
138138 s .mockHost .EXPECT ().Peerstore ().Return (p )
139139
140140 deposit := & events.AcrossDeposit {
141- InputToken : fillBytes32 ("input_token_address_1234567890" ),
142- OutputToken : fillBytes32 ("output_token_address_0987654321" ),
143- InputAmount : big .NewInt (1000000000000000000 ), // 1e18
144- OutputAmount : big .NewInt (990000000000000000 ), // 0.99e18
145- DestinationChainId : big .NewInt (137 ), // Polygon chain ID
146- DepositId : big .NewInt (123456789 ),
147- QuoteTimestamp : uint32 (time .Now ().Unix ()),
141+ InputToken : fillBytes32 ("input_token_address_1234567890" ),
142+ OutputToken : fillBytes32 ("output_token_address_0987654321" ),
143+ InputAmount : big .NewInt (1000000000000000000 ), // 1e18
144+ OutputAmount : big .NewInt (990000000000000000 ), // 0.99e18
145+ DestinationChainId : big .NewInt (137 ), // Polygon chain ID
146+ DepositId : big .NewInt (123456789 ),
147+ //nolint:gosec
148+ QuoteTimestamp : uint32 (time .Now ().Unix ()),
149+ //nolint:gosec
148150 ExclusivityDeadline : uint32 (time .Now ().Add (10 * time .Minute ).Unix ()),
149- FillDeadline : uint32 (time .Now ().Add (1 * time .Hour ).Unix ()),
150- Depositor : fillBytes32 ("depositor_address_abcdef123456" ),
151- Recipient : fillBytes32 ("recipient_address_654321fedcba" ),
152- ExclusiveRelayer : fillBytes32 ("relayer_address_112233445566" ),
153- Message : []byte ("Sample message for AcrossDeposit" ),
151+ //nolint:gosec
152+ FillDeadline : uint32 (time .Now ().Add (1 * time .Hour ).Unix ()),
153+ Depositor : fillBytes32 ("depositor_address_abcdef123456" ),
154+ Recipient : fillBytes32 ("recipient_address_654321fedcba" ),
155+ ExclusiveRelayer : fillBytes32 ("relayer_address_112233445566" ),
156+ Message : []byte ("Sample message for AcrossDeposit" ),
154157 }
155158 s .mockDepositFetcher .EXPECT ().Deposit (gomock .Any (), gomock .Any (), gomock .Any ()).Return (deposit , nil )
156159
0 commit comments