From ba10046cc1eab2e5baa7e66fcc31bcbf18f665c9 Mon Sep 17 00:00:00 2001 From: protolambda Date: Mon, 6 Jan 2020 00:49:32 +0100 Subject: [PATCH] minor lint fixes --- test_libs/pyspec/eth2spec/test/context.py | 3 ++- test_libs/pyspec/eth2spec/test/helpers/attestations.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_libs/pyspec/eth2spec/test/context.py b/test_libs/pyspec/eth2spec/test/context.py index 0add9f638..6134243df 100644 --- a/test_libs/pyspec/eth2spec/test/context.py +++ b/test_libs/pyspec/eth2spec/test/context.py @@ -29,7 +29,8 @@ class Phase0(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 diff --git a/test_libs/pyspec/eth2spec/test/helpers/attestations.py b/test_libs/pyspec/eth2spec/test/helpers/attestations.py index 0c64a0316..27014a347 100644 --- a/test_libs/pyspec/eth2spec/test/helpers/attestations.py +++ b/test_libs/pyspec/eth2spec/test/helpers/attestations.py @@ -95,7 +95,6 @@ def sign_indexed_attestation(spec, state, indexed_attestation): indexed_attestation.attestation.signature = sign_aggregate_attestation(spec, state, data, participants) - def sign_attestation(spec, state, attestation): participants = spec.get_attesting_indices( state,