Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Dec 5, 2023
1 parent c5ddf40 commit 3e6b62a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/exits/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async def _update_exit_signatures(
break
except NotEnoughOracleApprovalsError as e:
logger.error(
'Not enough votes for exit signature update: %d. Threshold is %d',
'Not enough oracle approvals for exit signature update: %d. Threshold is %d',
e.num_votes,
e.threshold,
)
Expand Down
4 changes: 2 additions & 2 deletions src/exits/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ async def send_signature_rotation_requests(
approvals[address] = response

logger.info(
'Fetched oracle approvals for signature update: validators count = %d. '
'Received: %d out of %d.',
'Fetched oracle approvals for signatures update of %d validators. '
'Received approvals: %d out of %d',
len(request.public_keys),
len(approvals),
len(oracles.endpoints),
Expand Down
2 changes: 1 addition & 1 deletion src/validators/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def register_validators(
break
except NotEnoughOracleApprovalsError as e:
logger.error(
'Not enough votes for validator registration: %d. Threshold is %d',
'Not enough oracle approvals for validator registration: %d. Threshold is %d.',
e.num_votes,
e.threshold,
)
Expand Down
2 changes: 1 addition & 1 deletion src/validators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def send_approval_requests(oracles: Oracles, request: ApprovalRequest) ->

logger.info(
'Fetched oracle approvals for validator registration: '
'deadline=%d, start index=%d. Received %d out of %d.',
'deadline=%d, start index=%d. Received %d out of %d approvals.',
request.deadline,
request.validator_index,
len(approvals),
Expand Down

0 comments on commit 3e6b62a

Please sign in to comment.