Skip to content

Commit

Permalink
fix: cargo fmt (#1044)
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa authored Jul 12, 2024
1 parent 594a271 commit bec6098
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crates/eips/src/eip7702/auth_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ use core::hash::{Hash, Hasher};
#[derive(Debug, Clone, Hash, RlpEncodable, RlpDecodable, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
#[cfg_attr(
any(test, feature = "arbitrary"),
derive(arbitrary::Arbitrary)
)]
#[cfg_attr(any(test, feature = "arbitrary"), derive(arbitrary::Arbitrary))]
pub struct Authorization {
/// The chain ID of the authorization.
pub chain_id: ChainId,
Expand Down Expand Up @@ -233,10 +230,7 @@ impl Deref for RecoveredAuthorization {
/// The wrapper type is used for RLP encoding and decoding.
#[derive(Default, Debug, Copy, Clone, Hash, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(
any(test, feature = "arbitrary"),
derive(arbitrary::Arbitrary)
)]
#[cfg_attr(any(test, feature = "arbitrary"), derive(arbitrary::Arbitrary))]
pub struct OptionalNonce(Option<u64>);

impl OptionalNonce {
Expand Down

0 comments on commit bec6098

Please sign in to comment.