Skip to content

Commit

Permalink
chore: rm bad non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jan 31, 2025
1 parent 9b734a2 commit 93891cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/consensus/src/receipt/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use alloy_rlp::{length_of_length, BufMut, Decodable, Encodable};
#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(tag = "type"))]
#[non_exhaustive]
pub enum OpReceiptEnvelope<T = Log> {
/// Receipt envelope with no type flag.
#[cfg_attr(feature = "serde", serde(rename = "0x0", alias = "0x00"))]
Expand Down
1 change: 0 additions & 1 deletion crates/consensus/src/transaction/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ use alloy_rlp::{Decodable, Encodable};
serde(into = "serde_from::TaggedTxEnvelope", from = "serde_from::MaybeTaggedTxEnvelope")
)]
#[cfg_attr(all(any(test, feature = "arbitrary"), feature = "k256"), derive(arbitrary::Arbitrary))]
#[non_exhaustive]
pub enum OpTxEnvelope {
/// An untagged [`TxLegacy`].
Legacy(Signed<TxLegacy>),
Expand Down
1 change: 0 additions & 1 deletion crates/rpc-types/src/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ impl From<OpTransactionReceipt> for OpReceiptEnvelope<alloy_primitives::Log> {
};
Self::Deposit(consensus_receipt)
}
_ => unreachable!("Unsupported OpReceiptEnvelope variant"),
}
}
}
Expand Down

0 comments on commit 93891cc

Please sign in to comment.