@@ -170,7 +170,7 @@ describe("svm_spoke.fill", () => {
170170 updateRelayData ( initialRelayData ) ;
171171 } ) ;
172172
173- it ( "Fills a V3 relay and verifies balances" , async ( ) => {
173+ it ( "Fills a relay and verifies balances" , async ( ) => {
174174 // Verify recipient's balance before the fill
175175 let recipientAccount = await getAccount ( connection , recipientTA ) ;
176176 assertSE ( recipientAccount . amount , "0" , "Recipient's balance should be 0 before the fill" ) ;
@@ -226,7 +226,7 @@ describe("svm_spoke.fill", () => {
226226 assertSE ( event . relayer , otherRelayer . publicKey , "Repayment address should match" ) ;
227227 } ) ;
228228
229- it ( "Fails to fill a V3 relay after the fill deadline" , async ( ) => {
229+ it ( "Fails to fill a relay after the fill deadline" , async ( ) => {
230230 updateRelayData ( { ...relayData , fillDeadline : Math . floor ( Date . now ( ) / 1000 ) - 69 } ) ; // 69 seconds ago
231231
232232 const relayHash = Array . from ( calculateRelayHashUint8Array ( relayData , chainId ) ) ;
@@ -238,7 +238,7 @@ describe("svm_spoke.fill", () => {
238238 }
239239 } ) ;
240240
241- it ( "Fails to fill a V3 relay by non-exclusive relayer before exclusivity deadline" , async ( ) => {
241+ it ( "Fails to fill a relay by non-exclusive relayer before exclusivity deadline" , async ( ) => {
242242 accounts . signer = otherRelayer . publicKey ;
243243 accounts . relayerTokenAccount = otherRelayerTA ;
244244
@@ -280,7 +280,7 @@ describe("svm_spoke.fill", () => {
280280 ) ;
281281 } ) ;
282282
283- it ( "Fails to fill a V3 relay with the same deposit data multiple times" , async ( ) => {
283+ it ( "Fails to fill a relay with the same deposit data multiple times" , async ( ) => {
284284 const relayHash = Array . from ( calculateRelayHashUint8Array ( relayData , chainId ) ) ;
285285
286286 // First fill attempt
@@ -305,7 +305,7 @@ describe("svm_spoke.fill", () => {
305305 systemProgram : anchor . web3 . SystemProgram . programId ,
306306 } ;
307307
308- // Execute the fill_v3_relay call
308+ // Execute the fill_relay call
309309 await approvedFillRelay ( [ relayHash , relayData , new BN ( 1 ) , relayer . publicKey ] ) ;
310310
311311 // Verify the fill PDA exists before closing
@@ -335,20 +335,20 @@ describe("svm_spoke.fill", () => {
335335 assert . isNull ( fillStatusAccountAfter , "Fill PDA should be closed after closing" ) ;
336336 } ) ;
337337
338- it ( "Fetches FillStatusAccount before and after fillV3Relay " , async ( ) => {
338+ it ( "Fetches FillStatusAccount before and after fillRelay " , async ( ) => {
339339 const relayHash = calculateRelayHashUint8Array ( relayData , chainId ) ;
340340 const [ fillStatusPDA ] = PublicKey . findProgramAddressSync ( [ Buffer . from ( "fills" ) , relayHash ] , program . programId ) ;
341341
342- // Fetch FillStatusAccount before fillV3Relay
342+ // Fetch FillStatusAccount before fillRelay
343343 let fillStatusAccount = await program . account . fillStatusAccount . fetchNullable ( fillStatusPDA ) ;
344- assert . isNull ( fillStatusAccount , "FillStatusAccount should be uninitialized before fillV3Relay " ) ;
344+ assert . isNull ( fillStatusAccount , "FillStatusAccount should be uninitialized before fillRelay " ) ;
345345
346346 // Fill the relay
347347 await approvedFillRelay ( [ Array . from ( relayHash ) , relayData , new BN ( 1 ) , relayer . publicKey ] ) ;
348348
349- // Fetch FillStatusAccount after fillV3Relay
349+ // Fetch FillStatusAccount after fillRelay
350350 fillStatusAccount = await program . account . fillStatusAccount . fetch ( fillStatusPDA ) ;
351- assert . isNotNull ( fillStatusAccount , "FillStatusAccount should be initialized after fillV3Relay " ) ;
351+ assert . isNotNull ( fillStatusAccount , "FillStatusAccount should be initialized after fillRelay " ) ;
352352 assert . equal ( JSON . stringify ( fillStatusAccount . status ) , `{\"filled\":{}}` , "FillStatus should be Filled" ) ;
353353 assert . equal ( fillStatusAccount . relayer . toString ( ) , relayer . publicKey . toString ( ) , "Caller should be set as relayer" ) ;
354354 } ) ;
@@ -413,7 +413,7 @@ describe("svm_spoke.fill", () => {
413413 }
414414 } ) ;
415415
416- it ( "Fills a V3 relay from custom relayer token account" , async ( ) => {
416+ it ( "Fills a relay from custom relayer token account" , async ( ) => {
417417 // Create and mint to custom relayer token account
418418 const customKeypair = Keypair . generate ( ) ;
419419 const customRelayerTA = await createAccount ( connection , payer , mint , relayer . publicKey , customKeypair ) ;
0 commit comments