From 78e15ec87e5887342e6e2905df1544b2516a4dd1 Mon Sep 17 00:00:00 2001 From: Potuz Date: Tue, 2 Jul 2024 10:11:55 -0300 Subject: [PATCH] use boolean instead of bool in forkchoice --- Makefile | 2 +- specs/_features/eipxxxx/fork-choice.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bdf4bdde7a..07dc301735 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ MARKDOWN_FILES = $(wildcard $(SPEC_DIR)/*/*.md) \ $(wildcard $(SPEC_DIR)/_features/*/*/*.md) \ $(wildcard $(SSZ_DIR)/*.md) -ALL_EXECUTABLE_SPEC_NAMES = phase0 altair bellatrix capella deneb electra whisk eip6800 +ALL_EXECUTABLE_SPEC_NAMES = phase0 altair bellatrix capella deneb electra whisk eip6800 eipxxxx # The parameters for commands. Use `foreach` to avoid listing specs again. COVERAGE_SCOPE := $(foreach S,$(ALL_EXECUTABLE_SPEC_NAMES), --cov=eth2spec.$S.$(TEST_PRESET_TYPE)) PYLINT_SCOPE := $(foreach S,$(ALL_EXECUTABLE_SPEC_NAMES), ./eth2spec/$S) diff --git a/specs/_features/eipxxxx/fork-choice.md b/specs/_features/eipxxxx/fork-choice.md index 2988a1798e..ae6113cb61 100644 --- a/specs/_features/eipxxxx/fork-choice.md +++ b/specs/_features/eipxxxx/fork-choice.md @@ -58,7 +58,7 @@ Auxiliary class to consider `(block, slot, bool)` LMD voting class ChildNode(Container): root: Root slot: Slot - is_payload_present: bool + is_payload_present: boolean ``` ## Helpers @@ -108,7 +108,7 @@ class Store(object): execution_payload_states: Dict[Root, BeaconState] = field(default_factory=dict) # [New in EIP-XXXX] ptc_vote: Dict[Root, Vector[uint8, PTC_SIZE]] = field(default_factory=dict) # [New in EIP-XXXX] payload_withhold_boost_root: Root # [New in EIP-XXXX] - payload_withhold_boost_full: bool # [New in EIP-XXXX] + payload_withhold_boost_full: boolean # [New in EIP-XXXX] payload_reveal_boost_root: Root # [New in EIP-XXXX] ```