@@ -558,22 +558,26 @@ export class LitCore {
558558 '❓ this.config.contractContext:' ,
559559 this . config . contractContext
560560 ) ;
561- const logAddresses = Object . entries ( this . config . contractContext ) . reduce (
562- ( output , [ key , val ] ) => {
563-
564- console . log ( '❓ key:' , key ) ;
565- console . log ( '❓ val:' , val ) ;
566-
567- // @ts -expect-error since the object hash returned by `getContractAddresses` is `any`, we have no types here
568- output [ key ] = val . address ;
569- return output ;
570- } ,
571- { }
561+ console . log (
562+ '? WHAT IS THIS:' ,
563+ JSON . stringify ( this . config . contractContext )
572564 ) ;
573- console . log ( '❓ logAddresses:' , logAddresses ) ;
574- if ( this . config . litNetwork === LIT_NETWORK . Custom ) {
575- log ( '❓ using custom contracts: ' , logAddresses ) ;
576- }
565+ // const logAddresses = Object.entries(this.config.contractContext).reduce(
566+ // (output, [key, val]) => {
567+
568+ // console.log('❓ key:', key);
569+ // console.log('❓ val:', val);
570+
571+ // // @ts -expect-error since the object hash returned by `getContractAddresses` is `any`, we have no types here
572+ // output[key] = val.address;
573+ // return output;
574+ // },
575+ // {}
576+ // );
577+ // console.log('❓ logAddresses:', logAddresses);
578+ // if (this.config.litNetwork === LIT_NETWORK.Custom) {
579+ // log('❓ using custom contracts: ', logAddresses);
580+ // }
577581 }
578582
579583 // Re-use staking contract instance from previous connect() executions that succeeded to improve performance
0 commit comments