From 53dd908ccada6127bd6fd38c2a70dbd85816696b Mon Sep 17 00:00:00 2001 From: hangleang Date: Thu, 12 Dec 2024 18:24:13 +0200 Subject: [PATCH] Remove unused consolidation request root from post electra body trait --- types/src/traits.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/types/src/traits.rs b/types/src/traits.rs index a56e30d9..3b82f9c0 100644 --- a/types/src/traits.rs +++ b/types/src/traits.rs @@ -1258,7 +1258,6 @@ pub trait PostElectraBeaconBlockBody: PostDenebBeaconBlockBody

{ fn attester_slashings( &self, ) -> &ContiguousList, P::MaxAttesterSlashingsElectra>; - fn consolidation_requests_root(&self) -> H256; fn execution_requests(&self) -> &ExecutionRequests

; } @@ -1273,10 +1272,6 @@ impl PostElectraBeaconBlockBody

for ElectraBeaconBlockBody

{ &self.attester_slashings } - fn consolidation_requests_root(&self) -> H256 { - self.execution_requests.consolidations.hash_tree_root() - } - fn execution_requests(&self) -> &ExecutionRequests

{ &self.execution_requests } @@ -1293,10 +1288,6 @@ impl PostElectraBeaconBlockBody

for ElectraBlindedBeaconBlockBody< &self.attester_slashings } - fn consolidation_requests_root(&self) -> H256 { - self.execution_requests.consolidations.hash_tree_root() - } - fn execution_requests(&self) -> &ExecutionRequests

{ &self.execution_requests }