Skip to content

Commit

Permalink
chore: replace Signature with PrimitiveSignature
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Oct 30, 2024
1 parent ce59660 commit e4905ac
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 1,293 deletions.
2 changes: 1 addition & 1 deletion crates/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub use signed::{BigIntConversionError, ParseSignedError, Sign, Signed};

mod signature;
pub use signature::{
normalize_v, to_eip155_v, Parity, PrimitiveSignature, Signature, SignatureError,
normalize_v, to_eip155_v, Signature, SignatureError,
};

pub mod utils;
Expand Down
6 changes: 0 additions & 6 deletions crates/primitives/src/signature/mod.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
mod error;
pub use error::SignatureError;

mod parity;
pub use parity::Parity;

mod sig;
pub use sig::Signature;

mod utils;
pub use utils::{normalize_v, to_eip155_v};

mod primitive_sig;
pub use primitive_sig::PrimitiveSignature;
280 changes: 0 additions & 280 deletions crates/primitives/src/signature/parity.rs

This file was deleted.

Loading

0 comments on commit e4905ac

Please sign in to comment.