@@ -362,6 +362,7 @@ func NewSmeshingService(cfg *config.Config, logger *zap.Logger) (*SmeshingServic
362
362
grpcPostService .AllowConnections (isCoinbaseSet )
363
363
grpcServices [grpcserver .Post ] = grpcPostService
364
364
365
+ postStates := activation .NewPostStates (loggers .add (PostLogger , logger ))
365
366
nipostBuilder , err := activation .NewNIPostBuilder (
366
367
localDB ,
367
368
grpcPostService ,
@@ -370,6 +371,7 @@ func NewSmeshingService(cfg *config.Config, logger *zap.Logger) (*SmeshingServic
370
371
clock ,
371
372
validator ,
372
373
activation .NipostbuilderWithIdentityStates (idStates ),
374
+ activation .NipostbuilderWithPostStates (postStates ),
373
375
activation .WithPoetServices (poetClients ... ),
374
376
)
375
377
if err != nil {
@@ -395,6 +397,7 @@ func NewSmeshingService(cfg *config.Config, logger *zap.Logger) (*SmeshingServic
395
397
activation .WithPoetConfig (cfg .POET ),
396
398
// TODO(dshulyak) makes no sense. how we ended using it?
397
399
activation .WithPoetRetryInterval (cfg .HARE3 .PreroundDelay ),
400
+ activation .WithPostStates (postStates ),
398
401
activation .WithIdentityStates (idStates ),
399
402
activation .WithPoets (poetClients ... ),
400
403
activation .BuilderAtxVersions (cfg .AtxVersions ),
0 commit comments