Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def run(self):
uids=self.metagraph.uids,
weights=weights,
wait_for_inclusion=True,
era={
"period": 144,
},
Comment on lines +158 to +160

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly that for non-fast blocks the wait will take 144*12 seconds? That is, almost 29 minutes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. It would be valid for 29 minutes, but would not take 29 minutes.

)
self.metagraph.sync()
time.sleep(5)
Expand Down