@@ -416,6 +416,96 @@ module.exports.nockEthLikeRecovery = function (bitgo, nockData = nockEthData) {
416416  } ) ; 
417417} ; 
418418
419+ module . exports . nockVetRecovery  =  function  ( bitgo ,  baseAddress )  { 
420+   // nock for account balance 
421+   const  url  =  Environments [ bitgo . getEnv ( ) ] . vetNodeUrl ; 
422+   nock ( url ) . get ( `/accounts/${ baseAddress }  ) . reply ( 200 ,  { 
423+     balance : '0x8ac7230489e80000' , 
424+     energy : '0x5969b539627800' , 
425+     hasCode : false , 
426+   } ) ; 
427+ 
428+   nock ( url ) . get ( '/blocks/best' ) . reply ( 200 ,  { 
429+     number : 23107826 , 
430+     id : '0x016098f2a6779c3ad2bb52ef0a3f57c770af55a77bfa1b2837266f752118ad8d' , 
431+     size : 368 , 
432+     parentID : '0x016098f1acffb0125ffeca9b3e2491d31574d14b55a15e912e45e8081e063e0e' , 
433+     timestamp : 1761116630 , 
434+     gasLimit : 40000000 , 
435+     beneficiary : '0xae99cb89767a09d53e589a40cb4016974aba4b94' , 
436+     gasUsed : 0 , 
437+     totalScore : 218523577 , 
438+     txsRoot : '0x45b0cfc220ceec5b7c1c62c4d4193d38e4eba48e8815729ce75f9c0ab0e4c1c0' , 
439+     txsFeatures : 1 , 
440+     stateRoot : '0x7a5e7b3b8b89958e7fdd5e14acbc79dbc419672e84d02376a43b3beebe555e33' , 
441+     receiptsRoot : '0x45b0cfc220ceec5b7c1c62c4d4193d38e4eba48e8815729ce75f9c0ab0e4c1c0' , 
442+     com : true , 
443+     signer : '0xae99cb89767a09d53e589a40cb4016974aba4b94' , 
444+     isTrunk : true , 
445+     isFinalized : false , 
446+     baseFeePerGas : '0x9184e72a000' , 
447+     transactions : [ ] , 
448+   } ) ; 
449+ 
450+   nock ( url ) 
451+     . post ( '/accounts/*' ,  { 
452+       clauses : [ 
453+         { 
454+           to : '0xac05da78464520aa7c9d4c19bd7a440b111b3054' , 
455+           value : '10000000000000000000' , 
456+           data : '0x' , 
457+         } , 
458+       ] , 
459+       caller : `${ baseAddress }  , 
460+     } ) 
461+     . reply ( 200 ,  [ 
462+       { 
463+         data : '0x' , 
464+         events : [ ] , 
465+         transfers : [ 
466+           { 
467+             sender : `${ baseAddress }  , 
468+             recipient : '0xac05da78464520aa7c9d4c19bd7a440b111b3054' , 
469+             amount : '0x8ac7230489e80000' , 
470+           } , 
471+         ] , 
472+         gasUsed : 0 , 
473+         reverted : false , 
474+         vmError : '' , 
475+       } , 
476+     ] ) ; 
477+   // nock for vtho balance for gas 
478+   nock ( url ) 
479+     . post ( '/accounts/*' ,  { 
480+       clauses : [ 
481+         { 
482+           to : '0x0000000000000000000000000000456E65726779' , 
483+           value : '0x0' , 
484+           data : `0x70a08231000000000000000000000000${ baseAddress . slice ( 2 ) }  , 
485+         } , 
486+       ] , 
487+     } ) 
488+     . reply ( 200 ,  [ 
489+       { 
490+         data : '0x000000000000000000000000000000000000000000000007e982789f8fe0cf0a' , 
491+         events : [ ] , 
492+         transfers : [ ] , 
493+         gasUsed : 870 , 
494+         reverted : false , 
495+         vmError : '' , 
496+       } , 
497+     ] ) ; 
498+ 
499+   nock ( url ) 
500+     . post ( '/transactions' ,  { 
501+       raw : / ^ 0 x [ 0 - 9 a - f ] + $ / i, 
502+     } ) 
503+     . reply ( 200 ,  { 
504+       id : '0x'  +  'a' . repeat ( 64 ) ,  // A fake transaction ID 
505+       reverted : false , 
506+     } ) ; 
507+ } ; 
508+ 
419509module . exports . nockEtherscanRateLimitError  =  function  ( )  { 
420510  const  response  =  { 
421511    status : '0' , 
0 commit comments