From b86fa7a66d64b29ba23453047cd4016576b7a851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Florkiewicz?= Date: Sat, 14 Dec 2024 08:43:04 +0100 Subject: [PATCH] Update types/src/extended_header.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yiannis Marangos Signed-off-by: MikoĊ‚aj Florkiewicz --- types/src/extended_header.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/types/src/extended_header.rs b/types/src/extended_header.rs index 7f0d07fa..e4741596 100644 --- a/types/src/extended_header.rs +++ b/types/src/extended_header.rs @@ -70,28 +70,12 @@ const VERIFY_CLOCK_DRIFT: Duration = Duration::from_secs(10); #[cfg(not(all(feature = "wasm-bindgen", target_arch = "wasm32")))] pub struct ExtendedHeader { /// Tendermint block header. - #[cfg_attr( - all(feature = "wasm-bindgen", target_arch = "wasm32"), - wasm_bindgen(skip) - )] pub header: Header, /// Commit metadata and signatures from validators committing the block. - #[cfg_attr( - all(feature = "wasm-bindgen", target_arch = "wasm32"), - wasm_bindgen(skip) - )] pub commit: Commit, /// Information about the set of validators commiting the block. - #[cfg_attr( - all(feature = "wasm-bindgen", target_arch = "wasm32"), - wasm_bindgen(skip) - )] pub validator_set: ValidatorSet, /// Header of the block data availability. - #[cfg_attr( - all(feature = "wasm-bindgen", target_arch = "wasm32"), - wasm_bindgen(getter_with_clone) - )] pub dah: DataAvailabilityHeader, }