Merge pull request #2601 from etan-status/sync-proto-slot-consistency

pass sync committee sig consistently in tests
This commit is contained in:
Danny Ryan 2021-09-15 16:35:35 -06:00 committed by GitHub
commit 49c7fbb2d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def test_process_light_client_update_not_updated(spec, state):
sync_committee_signature = compute_aggregate_sync_committee_signature( sync_committee_signature = compute_aggregate_sync_committee_signature(
spec, spec,
state, state,
block.slot, block_header.slot,
committee, committee,
) )
next_sync_committee_branch = [spec.Bytes32() for _ in range(spec.floorlog2(spec.NEXT_SYNC_COMMITTEE_INDEX))] next_sync_committee_branch = [spec.Bytes32() for _ in range(spec.floorlog2(spec.NEXT_SYNC_COMMITTEE_INDEX))]