mirror of https://github.com/nucypher/nucypher.git
Respond to RFCs in PR #1283.
parent
307bfe3ad6
commit
63d941117d
|
@ -629,9 +629,9 @@ class Worker(NucypherTokenActor):
|
|||
if check_active_worker and not len(self.stakes):
|
||||
raise self.DetachedWorker(f"{self.__worker_address} is not bonded to {self.checksum_address}.")
|
||||
|
||||
self.period_tracker = work_tracker or WorkTracker(worker=self)
|
||||
self.work_tracker = work_tracker or WorkTracker(worker=self)
|
||||
if start_working_now:
|
||||
self.period_tracker.start(act_now=False)
|
||||
self.work_tracker.start(act_now=False)
|
||||
|
||||
@property
|
||||
def last_active_period(self) -> int:
|
||||
|
|
|
@ -1069,9 +1069,9 @@ class Teacher:
|
|||
|
||||
def verify_node(self,
|
||||
network_middleware,
|
||||
certificate_filepath: str = None,
|
||||
force: bool = False,
|
||||
registry: BaseContractRegistry = None,
|
||||
certificate_filepath: str = None,
|
||||
force: bool = False
|
||||
) -> bool:
|
||||
"""
|
||||
Three things happening here:
|
||||
|
|
|
@ -46,7 +46,7 @@ def test_worker_auto_confirmations(testerchain,
|
|||
def start():
|
||||
# Start running the worker
|
||||
start_pytest_ursula_services(ursula=ursula)
|
||||
ursula.period_tracker.start()
|
||||
ursula.work_tracker.start()
|
||||
|
||||
def time_travel(_):
|
||||
testerchain.time_travel(periods=1)
|
||||
|
|
Loading…
Reference in New Issue