From 5b2f60221e07a61addfbf7885cae1cc94a4603ca Mon Sep 17 00:00:00 2001 From: NC Date: Tue, 16 Apr 2024 19:41:28 +0800 Subject: [PATCH 1/3] Add modified AttesterSlashing --- specs/electra/beacon-chain.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specs/electra/beacon-chain.md b/specs/electra/beacon-chain.md index 23aa0553fb..341efe3353 100644 --- a/specs/electra/beacon-chain.md +++ b/specs/electra/beacon-chain.md @@ -98,6 +98,16 @@ class ExecutionLayerExit(Container): validator_pubkey: BLSPubkey ``` +### Modified Containers + +#### `AttesterSlashing` + +```python +class AttesterSlashing(Container): + attestation_1: IndexedAttestation # [Modified in Electra:EIP7549] + attestation_2: IndexedAttestation # [Modified in Electra:EIP7549] +``` + ### Extended Containers #### `Attestation` From 373baa85aae79bf5f721297b18cb4e86393eec93 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Wed, 17 Apr 2024 00:20:52 +0600 Subject: [PATCH 2/3] Update toc --- specs/electra/beacon-chain.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specs/electra/beacon-chain.md b/specs/electra/beacon-chain.md index 341efe3353..8502156066 100644 --- a/specs/electra/beacon-chain.md +++ b/specs/electra/beacon-chain.md @@ -17,7 +17,9 @@ - [New containers](#new-containers) - [`DepositReceipt`](#depositreceipt) - [`ExecutionLayerExit`](#executionlayerexit) - - [Extended Containers](#extended-containers) +- [Modified Containers](#modified-containers) + - [`AttesterSlashing`](#attesterslashing) +- [Extended Containers](#extended-containers) - [`Attestation`](#attestation) - [`IndexedAttestation`](#indexedattestation) - [`BeaconBlockBody`](#beaconblockbody) From fea074e7c540c56b99cfe9210faddb15d0a6062d Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Wed, 17 Apr 2024 01:07:52 +0600 Subject: [PATCH 3/3] Fix toc: attempt 2 --- specs/electra/beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/electra/beacon-chain.md b/specs/electra/beacon-chain.md index 109e82ba66..703e713c92 100644 --- a/specs/electra/beacon-chain.md +++ b/specs/electra/beacon-chain.md @@ -30,9 +30,9 @@ - [`Consolidation`](#consolidation) - [`SignedConsolidation`](#signedconsolidation) - [`PendingConsolidation`](#pendingconsolidation) -- [Modified Containers](#modified-containers) + - [Modified Containers](#modified-containers) - [`AttesterSlashing`](#attesterslashing) -- [Extended Containers](#extended-containers) + - [Extended Containers](#extended-containers) - [`Attestation`](#attestation) - [`IndexedAttestation`](#indexedattestation) - [`BeaconBlockBody`](#beaconblockbody)