@@ -151,10 +151,10 @@ test.skip('should parse executeFastOrderCctp', async () => {
151
151
} ) ;
152
152
} ) ;
153
153
154
- test . skip ( 'should parse settleAuctionComplete' , async ( ) => {
154
+ test ( 'should parse settleAuctionComplete' , async ( ) => {
155
155
const watcher = new FastTransferSolanaWatcher ( 'Testnet' , true ) ;
156
156
const txHash =
157
- '59LKdrZ4cdHq9hnyZttxP1ZkbYGNNbMpUFM8A68UCtk8qE9y4eUkMm9bkxbwj7WM6i29YxfJ3pb19EUYC2SXCVmp ' ;
157
+ '5L2tBfpE35gHBTRmqet4UUGoUJrwYZe6LVCLomVkEDU1TBXNbWW2Xs8pPT5Zz2JQgX2vS8pE4bxmyDEZxL9fBVbs ' ;
158
158
const tx = await watcher . getConnection ( ) . getTransaction ( txHash , {
159
159
maxSupportedTransactionVersion : 0 ,
160
160
} ) ;
@@ -163,20 +163,20 @@ test.skip('should parse settleAuctionComplete', async () => {
163
163
throw new Error ( 'Unable to get transaction' ) ;
164
164
}
165
165
166
- const ix = tx . transaction . message . compiledInstructions [ 3 ] ;
166
+ const ix = tx . transaction . message . compiledInstructions [ 1 ] ;
167
167
168
- const info = await watcher . parseSettleAuctionComplete ( tx , ix , 3 ) ;
168
+ const info = await watcher . parseSettleAuctionComplete ( tx , ix , 1 ) ;
169
169
expect ( info ) . toEqual ( {
170
170
id : {
171
- auction_pubkey : 'FS4EAzWA2WuMKyGBy2C7EBvHL9W63NDX9JR4CPveAiDK ' ,
171
+ auction_pubkey : 'CpDnbzqqnWv2ww6FNgxxnWADFnHG1sEM537GMTBiq7rf ' ,
172
172
} ,
173
173
info : {
174
- repayment : 10000000n ,
175
- settle_payer : '9FPvGxE1cNVTrDgHhSdYi2i12HFiepeqNM9Q1kEXgiX2 ' ,
176
- settle_slot : 298315989n ,
177
- settle_time : new Date ( '2024-05-12T06:15:56 .000Z' ) ,
174
+ repayment : 1000000n ,
175
+ settle_payer : '6H68dreG5qZHUVjBwf4kCGQYmW3hULedbezwzPasTr68 ' ,
176
+ settle_slot : 302130744n ,
177
+ settle_time : new Date ( '2024-05-29T08:09:11 .000Z' ) ,
178
178
settle_tx_hash :
179
- '59LKdrZ4cdHq9hnyZttxP1ZkbYGNNbMpUFM8A68UCtk8qE9y4eUkMm9bkxbwj7WM6i29YxfJ3pb19EUYC2SXCVmp ' ,
179
+ '5L2tBfpE35gHBTRmqet4UUGoUJrwYZe6LVCLomVkEDU1TBXNbWW2Xs8pPT5Zz2JQgX2vS8pE4bxmyDEZxL9fBVbs ' ,
180
180
status : 'settled' ,
181
181
} ,
182
182
} ) ;
0 commit comments