mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-27 10:54:47 +00:00
minor lint fixes
This commit is contained in:
parent
68d93f945c
commit
ba10046cc1
@ -29,7 +29,8 @@ class Phase0(Spec):
|
|||||||
|
|
||||||
|
|
||||||
class Phase1(Spec):
|
class Phase1(Spec):
|
||||||
def upgrade_to_phase1(self, state: spec_phase0.BeaconState) -> spec_phase1.BeaconState: ...
|
def upgrade_to_phase1(self, state: spec_phase0.BeaconState) -> spec_phase1.BeaconState:
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
# add transfer, bridge, etc. as the spec evolves
|
# add transfer, bridge, etc. as the spec evolves
|
||||||
|
@ -95,7 +95,6 @@ def sign_indexed_attestation(spec, state, indexed_attestation):
|
|||||||
indexed_attestation.attestation.signature = sign_aggregate_attestation(spec, state, data, participants)
|
indexed_attestation.attestation.signature = sign_aggregate_attestation(spec, state, data, participants)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def sign_attestation(spec, state, attestation):
|
def sign_attestation(spec, state, attestation):
|
||||||
participants = spec.get_attesting_indices(
|
participants = spec.get_attesting_indices(
|
||||||
state,
|
state,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user