@@ -101,6 +101,16 @@ export class ValidatorsService {
101
101
await unblock ( ) ;
102
102
}
103
103
104
+ this . logger . debug (
105
+ 'found validators' ,
106
+ {
107
+ indexedValidatorsCount : indexedValidators . length ,
108
+ activeValidatorsCount : activeValidatorCount ,
109
+ service : ValidatorsService . SERVICE_LOG_NAME ,
110
+ } ,
111
+ { } ,
112
+ ) ;
113
+
104
114
this . validatorsStorageService . setActiveValidatorsCount ( activeValidatorCount ) ;
105
115
this . validatorsStorageService . setTotalValidatorsCount ( indexedValidators . length ) ;
106
116
this . validatorsStorageService . setMaxExitEpoch ( latestEpoch ) ;
@@ -114,8 +124,20 @@ export class ValidatorsService {
114
124
115
125
protected async findAndSetLidoValidatorsWithdrawableBalances ( validators : IndexedValidator [ ] ) {
116
126
const keysData = await this . lidoKeys . fetchLidoKeysData ( ) ;
127
+ this . logger . debug ( 'fetchLidoKeysData' , {
128
+ keysDataLength : keysData . data . length ,
129
+ service : ValidatorsService . SERVICE_LOG_NAME ,
130
+ } ) ;
117
131
const lidoValidators = await this . lidoKeys . getLidoValidatorsByKeys ( keysData . data , validators ) ;
132
+ this . logger . debug ( 'lidoValidators' , {
133
+ lidoValidatorsLength : lidoValidators . length ,
134
+ service : ValidatorsService . SERVICE_LOG_NAME ,
135
+ } ) ;
118
136
const lastWithdrawalValidatorIndex = await this . getLastWithdrawalValidatorIndex ( ) ;
137
+ this . logger . debug ( 'lastWithdrawalValidatorIndex' , {
138
+ lastWithdrawalValidatorIndex,
139
+ service : ValidatorsService . SERVICE_LOG_NAME ,
140
+ } ) ;
119
141
const frameBalances = { } ;
120
142
121
143
const withdrawableLidoValidatorIds : string [ ] = [ ] ;
0 commit comments