From 712a4f9cf1cc17f5309604675baa07ad0eb6f730 Mon Sep 17 00:00:00 2001 From: Caspar Schwarz-Schilling Date: Mon, 9 May 2022 15:05:05 +0200 Subject: [PATCH] Fix linting --- specs/phase0/fork-choice.md | 58 ++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/specs/phase0/fork-choice.md b/specs/phase0/fork-choice.md index 0f6dd1931..2c33768e5 100644 --- a/specs/phase0/fork-choice.md +++ b/specs/phase0/fork-choice.md @@ -5,36 +5,34 @@ -- [Phase 0 -- Beacon Chain Fork Choice](#phase-0----beacon-chain-fork-choice) - - [Table of contents](#table-of-contents) - - [Introduction](#introduction) - - [Fork choice](#fork-choice) - - [Constant](#constant) - - [Preset](#preset) - - [Configuration](#configuration) - - [Helpers](#helpers) - - [`LatestMessage`](#latestmessage) - - [`Store`](#store) - - [`get_forkchoice_store`](#get_forkchoice_store) - - [`get_slots_since_genesis`](#get_slots_since_genesis) - - [`get_current_slot`](#get_current_slot) - - [`compute_slots_since_epoch_start`](#compute_slots_since_epoch_start) - - [`get_ancestor`](#get_ancestor) - - [`get_latest_attesting_balance`](#get_latest_attesting_balance) - - [`filter_block_tree`](#filter_block_tree) - - [`get_filtered_block_tree`](#get_filtered_block_tree) - - [`get_head`](#get_head) - - [`should_update_justified_checkpoint`](#should_update_justified_checkpoint) - - [`on_attestation` helpers](#on_attestation-helpers) - - [`validate_target_epoch_against_current_time`](#validate_target_epoch_against_current_time) - - [`validate_on_attestation`](#validate_on_attestation) - - [`store_target_checkpoint_state`](#store_target_checkpoint_state) - - [`update_latest_messages`](#update_latest_messages) - - [Handlers](#handlers) - - [`on_tick`](#on_tick) - - [`on_block`](#on_block) - - [`on_attestation`](#on_attestation) - - [`on_attester_slashing`](#on_attester_slashing) +- [Introduction](#introduction) +- [Fork choice](#fork-choice) + - [Constant](#constant) + - [Preset](#preset) + - [Configuration](#configuration) + - [Helpers](#helpers) + - [`LatestMessage`](#latestmessage) + - [`Store`](#store) + - [`get_forkchoice_store`](#get_forkchoice_store) + - [`get_slots_since_genesis`](#get_slots_since_genesis) + - [`get_current_slot`](#get_current_slot) + - [`compute_slots_since_epoch_start`](#compute_slots_since_epoch_start) + - [`get_ancestor`](#get_ancestor) + - [`get_latest_attesting_balance`](#get_latest_attesting_balance) + - [`filter_block_tree`](#filter_block_tree) + - [`get_filtered_block_tree`](#get_filtered_block_tree) + - [`get_head`](#get_head) + - [`should_update_justified_checkpoint`](#should_update_justified_checkpoint) + - [`on_attestation` helpers](#on_attestation-helpers) + - [`validate_target_epoch_against_current_time`](#validate_target_epoch_against_current_time) + - [`validate_on_attestation`](#validate_on_attestation) + - [`store_target_checkpoint_state`](#store_target_checkpoint_state) + - [`update_latest_messages`](#update_latest_messages) + - [Handlers](#handlers) + - [`on_tick`](#on_tick) + - [`on_block`](#on_block) + - [`on_attestation`](#on_attestation) + - [`on_attester_slashing`](#on_attester_slashing)