mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Linter fixes
This commit is contained in:
parent
b574a58109
commit
8ed638bb84
@ -311,7 +311,8 @@ def test_empty_aggregation_bitfield(spec, state):
|
||||
attestation = get_valid_attestation(spec, state)
|
||||
state.slot += spec.MIN_ATTESTATION_INCLUSION_DELAY
|
||||
|
||||
attestation.aggregation_bitfield = Bitlist[spec.MAX_INDICES_PER_ATTESTATION](*([0] * len(attestation.aggregation_bitfield)))
|
||||
attestation.aggregation_bitfield = Bitlist[spec.MAX_INDICES_PER_ATTESTATION](
|
||||
*([0b0] * len(attestation.aggregation_bitfield)))
|
||||
|
||||
sign_attestation(spec, state, attestation)
|
||||
|
||||
|
@ -369,6 +369,7 @@ class Bitvector(BaseBitfield):
|
||||
def default(cls):
|
||||
return cls(0 for _ in range(cls.length))
|
||||
|
||||
|
||||
class List(BaseList):
|
||||
|
||||
@classmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user