From a07569cacc8c8f69f86ec871e8fae5a986c635d4 Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Tue, 24 Dec 2024 23:05:21 +0400 Subject: [PATCH] fix --- .../primitives/src/transaction/signed.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/crates/optimism/primitives/src/transaction/signed.rs b/crates/optimism/primitives/src/transaction/signed.rs index 1083c69b1868..3b28165c81c0 100644 --- a/crates/optimism/primitives/src/transaction/signed.rs +++ b/crates/optimism/primitives/src/transaction/signed.rs @@ -603,21 +603,7 @@ pub mod serde_bincode_compat { use reth_primitives_traits::{serde_bincode_compat::SerdeBincodeCompat, SignedTransaction}; use serde::{Deserialize, Serialize}; - /// Bincode-compatible [`super::Transaction`] serde implementation. - /// - /// Intended to use with the [`serde_with::serde_as`] macro in the following way: - /// ```rust - /// use reth_primitives::{serde_bincode_compat, Transaction}; - /// use serde::{Deserialize, Serialize}; - /// use serde_with::serde_as; - /// - /// #[serde_as] - /// #[derive(Serialize, Deserialize)] - /// struct Data { - /// #[serde_as(as = "serde_bincode_compat::transaction::Transaction")] - /// transaction: Transaction, - /// } - /// ``` + /// Bincode-compatible [`super::OpTypedTransaction`] serde implementation. #[derive(Debug, Serialize, Deserialize)] #[allow(missing_docs)] enum OpTypedTransaction<'a> {