Skip to content

Commit

Permalink
Remove useless logging modulo
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmode committed Nov 29, 2024
1 parent 86918c6 commit 5181f86
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/validate-epoch-sealing.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ def validate_epoch_seal_calls_locations(web3, first_block, last_block):
expected_nonce += 2
if ln != expected_nonce:
raise Exception(f"Error: block {r[1]} nonce expected: {expected_nonce} got: {ln}")
if i % 1 == 0:
print(
f"Progress: {round((r[1] - first_block) / (last_block - first_block) * 100, 2)}% - epoch {i} - block {r[1]}")
print(
f"Progress: {round((r[1] - first_block) / (last_block - first_block) * 100, 2)}% - epoch {i} - block {r[1]}")
i += 1


Expand Down

0 comments on commit 5181f86

Please sign in to comment.