Skip to content

Commit

Permalink
e2e: fix TestBlocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Mar 19, 2024
1 parent 8799c23 commit 91b482a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autopilot/autopilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func New(id string, bus Bus, workers []Worker, logger *zap.Logger, heartbeat tim
}

ap.s = scanner
ap.c = contractor.New(bus, ap.logger, revisionSubmissionBuffer, revisionBroadcastInterval)
ap.c = contractor.New(bus, bus, ap.logger, revisionSubmissionBuffer, revisionBroadcastInterval)
ap.m = newMigrator(ap, migrationHealthCutoff, migratorParallelSlabsPerWorker)
ap.a = newAccounts(ap, ap.bus, ap.bus, ap.workers, ap.logger, accountsRefillInterval)

Expand Down
3 changes: 2 additions & 1 deletion autopilot/contractor/contractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,11 @@ type (
}
)

func New(alerter alerts.Alerter, logger *zap.SugaredLogger, revisionSubmissionBuffer uint64, revisionBroadcastInterval time.Duration) *Contractor {
func New(bus Bus, alerter alerts.Alerter, logger *zap.SugaredLogger, revisionSubmissionBuffer uint64, revisionBroadcastInterval time.Duration) *Contractor {
logger = logger.Named("contractor")
ctx, cancel := context.WithCancel(context.Background())
return &Contractor{
bus: bus,
alerter: alerter,
churn: newAccumulatedChurn(),
logger: logger,
Expand Down

0 comments on commit 91b482a

Please sign in to comment.