Merge branch 'dev' into phase1-tests
This commit is contained in:
commit
721f605a91
|
@ -317,13 +317,11 @@ def update_latest_messages(store: Store, attesting_indices: Sequence[ValidatorIn
|
|||
```python
|
||||
def on_tick(store: Store, time: uint64) -> None:
|
||||
previous_slot = get_current_slot(store)
|
||||
print(previous_slot)
|
||||
|
||||
# update store time
|
||||
store.time = time
|
||||
|
||||
current_slot = get_current_slot(store)
|
||||
print(current_slot)
|
||||
# Not a new epoch, return
|
||||
if not (current_slot > previous_slot and compute_slots_since_epoch_start(current_slot) == 0):
|
||||
return
|
||||
|
|
|
@ -544,9 +544,6 @@ def is_valid_indexed_attestation(state: BeaconState, indexed_attestation: Indexe
|
|||
AttestationCustodyBitWrapper(hash_tree_root(attestation.data), i, cbit), domain))
|
||||
else:
|
||||
assert not cbit
|
||||
print(all_pubkeys)
|
||||
print(all_signing_roots)
|
||||
print(attestation.signature)
|
||||
return bls.AggregateVerify(zip(all_pubkeys, all_signing_roots), signature=attestation.signature)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue