From 7066307a0fbd97d149cca63acc3b48ead244f3fd Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Wed, 21 Sep 2022 16:36:27 -0500 Subject: [PATCH 1/2] Fix section name for withdraw_balance --- specs/capella/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/capella/beacon-chain.md b/specs/capella/beacon-chain.md index 36d8984a3d..86408db88c 100644 --- a/specs/capella/beacon-chain.md +++ b/specs/capella/beacon-chain.md @@ -266,7 +266,7 @@ class BeaconState(Container): ### Beacon state mutators -#### `withdraw` +#### `withdraw_balance` ```python def withdraw_balance(state: BeaconState, validator_index: ValidatorIndex, amount: Gwei) -> None: From 5517729859110240ce5fb09754e683b40c32bcb9 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Wed, 21 Sep 2022 16:41:33 -0500 Subject: [PATCH 2/2] Fix TOC with check_toc --- specs/capella/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/capella/beacon-chain.md b/specs/capella/beacon-chain.md index 86408db88c..ec8cad982e 100644 --- a/specs/capella/beacon-chain.md +++ b/specs/capella/beacon-chain.md @@ -29,7 +29,7 @@ - [`BeaconState`](#beaconstate) - [Helpers](#helpers) - [Beacon state mutators](#beacon-state-mutators) - - [`withdraw`](#withdraw) + - [`withdraw_balance`](#withdraw_balance) - [Predicates](#predicates) - [`has_eth1_withdrawal_credential`](#has_eth1_withdrawal_credential) - [`is_fully_withdrawable_validator`](#is_fully_withdrawable_validator)