From 7aeeb372a782c0fea47720afcce65f2fafc26562 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 6 Feb 2020 16:03:40 -0800 Subject: [PATCH 1/2] [validator-guide] typo fix --- specs/phase0/validator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase0/validator.md b/specs/phase0/validator.md index a61524f1b..c10b2442a 100644 --- a/specs/phase0/validator.md +++ b/specs/phase0/validator.md @@ -354,7 +354,7 @@ def get_block_signature(state: BeaconState, header: BeaconBlockHeader, privkey: A validator is expected to create, sign, and broadcast an attestation during each epoch. The `committee`, assigned `index`, and assigned `slot` for which the validator performs this role during an epoch are defined by `get_committee_assignment(state, epoch, validator_index)`. -A validator should create and broadcast the `attestation` to the associated attestation subnet when either (a) the validator has received a valid block from the expected block proposer for the assigned `slot` or (b) one-third of the `slot` hash transpired (`SECONDS_PER_SLOT / 3` seconds after the start of `slot`) -- whichever comes _first_. +A validator should create and broadcast the `attestation` to the associated attestation subnet when either (a) the validator has received a valid block from the expected block proposer for the assigned `slot` or (b) one-third of the `slot` has transpired (`SECONDS_PER_SLOT / 3` seconds after the start of `slot`) -- whichever comes _first_. *Note*: Although attestations during `GENESIS_EPOCH` do not count toward FFG finality, these initial attestations do give weight to the fork choice, are rewarded, and should be made. From b398e42439e1d608f4ccb51cecd3f6047c016f8d Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 6 Feb 2020 16:41:53 -0800 Subject: [PATCH 2/2] another typo in pubsub channel name --- specs/phase0/validator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase0/validator.md b/specs/phase0/validator.md index c10b2442a..be151447d 100644 --- a/specs/phase0/validator.md +++ b/specs/phase0/validator.md @@ -411,7 +411,7 @@ def get_signed_attestation_data(state: BeaconState, attestation: IndexedAttestat #### Broadcast attestation -Finally, the validator broadcasts `attestation` to the associated attestation subnet -- the `index{attestation.data.index % ATTESTATION_SUBNET_COUNT}_beacon_attestation` pubsub topic. +Finally, the validator broadcasts `attestation` to the associated attestation subnet -- the `committee_index{attestation.data.index % ATTESTATION_SUBNET_COUNT}_beacon_attestation` pubsub topic. ### Attestation aggregation