Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed Jul 9, 2024
1 parent a86eeb3 commit 82fe862
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/core/pyspec/eth2spec/test/helpers/light_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ def create_update(spec,

if with_next:
update.next_sync_committee = attested_state.next_sync_committee
update.next_sync_committee_branch = spec.compute_merkle_proof(attested_state, latest_next_sync_committee_gindex(spec))
update.next_sync_committee_branch = spec.compute_merkle_proof(
attested_state, latest_next_sync_committee_gindex(spec))

if with_finality:
update.finalized_header = spec.block_to_light_client_header(finalized_block)
update.finality_branch = spec.compute_merkle_proof(attested_state, latest_finalized_root_gindex(spec))
update.finality_branch = spec.compute_merkle_proof(
attested_state, latest_finalized_root_gindex(spec))

update.sync_aggregate, update.signature_slot = get_sync_aggregate(
spec, attested_state, num_participants)
Expand Down

0 comments on commit 82fe862

Please sign in to comment.