Skip to content

Commit

Permalink
chore: replace Signature with PrimitiveSignature (#796)
Browse files Browse the repository at this point in the history
* chore: replace Signature with PrimitiveSignature

* fmt
  • Loading branch information
klkvr authored Oct 31, 2024
1 parent c8e3f97 commit 9856a37
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 1,294 deletions.
4 changes: 1 addition & 3 deletions crates/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ mod signed;
pub use signed::{BigIntConversionError, ParseSignedError, Sign, Signed};

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

pub mod utils;
pub use utils::{eip191_hash_message, keccak256, Keccak256};
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 9856a37

Please sign in to comment.