@@ -133,6 +133,7 @@ export class StarshipClient implements StarshipClientI {
133133 depsChecked : boolean = false ;
134134 config : StarshipConfig ;
135135 podPorts : PodPorts = defaultPorts ;
136+
136137 private verificationRegistry : VerificationRegistry =
137138 new VerificationRegistry ( ) ;
138139
@@ -961,38 +962,7 @@ export class StarshipClient implements StarshipClientI {
961962 public async verify ( ) : Promise < void > {
962963 this . log ( chalk . blue ( 'Starting verification of deployed services...' ) ) ;
963964
964- // Get all forwarded ports
965- const localPorts = new Map < string , number > ( ) ;
966-
967- // Add chain ports
968- this . config . chains . forEach ( ( chain ) => {
969- if ( chain . ports ) {
970- Object . entries ( chain . ports ) . forEach ( ( [ key , port ] ) => {
971- localPorts . set ( `${ chain . id } -${ key } ` , port ) ;
972- } ) ;
973- }
974- } ) ;
975-
976- // Add registry ports
977- if ( this . config . registry ?. ports ) {
978- Object . entries ( this . config . registry . ports ) . forEach ( ( [ key , port ] ) => {
979- localPorts . set ( `registry-${ key } ` , port ) ;
980- } ) ;
981- }
982-
983- // Add explorer ports
984- if ( this . config . explorer ?. ports ) {
985- Object . entries ( this . config . explorer . ports ) . forEach ( ( [ key , port ] ) => {
986- localPorts . set ( `explorer-${ key } ` , port ) ;
987- } ) ;
988- }
989-
990- const context = {
991- config : this . config ,
992- localPorts
993- } ;
994-
995- const results = await this . verificationRegistry . run ( context ) ;
965+ const results = await this . verificationRegistry . run ( this . config ) ;
996966
997967 // Display results
998968 this . log ( '\nVerification Results:' ) ;
0 commit comments