Skip to content

Commit

Permalink
reexport ecrecover
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Mar 16, 2024
1 parent 808eb76 commit 746039d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/precompile/src/secp256k1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ pub const ECRECOVER: PrecompileWithAddress = PrecompileWithAddress(
Precompile::Standard(ec_recover_run),
);

pub use self::secp256k1::ecrecover;

#[cfg(not(feature = "secp256k1"))]
#[allow(clippy::module_inception)]
mod secp256k1 {
Expand Down Expand Up @@ -40,7 +42,7 @@ mod secp256k1 {

#[cfg(feature = "secp256k1")]
#[allow(clippy::module_inception)]
pub mod secp256k1 {
mod secp256k1 {
use revm_primitives::{alloy_primitives::B512, keccak256, B256};
use secp256k1::{
ecdsa::{RecoverableSignature, RecoveryId},
Expand Down

0 comments on commit 746039d

Please sign in to comment.