Skip to content

Commit

Permalink
Only import precompile if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer9 committed Jan 15, 2025
1 parent cd3c1d7 commit 2d3e797
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/optimism/src/handler/precompiles.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use crate::{OpSpec, OpSpecId};
use once_cell::race::OnceBox;
use precompile::{bls12_381, secp256r1, PrecompileErrors, Precompiles};
use precompile::{secp256r1, PrecompileErrors, Precompiles};
#[cfg(feature = "blst")]
use precompile::bls12_381;
use revm::{
context::Cfg, context_interface::CfgGetter, handler::EthPrecompileProvider,
handler_interface::PrecompileProvider, interpreter::InterpreterResult,
Expand Down

0 comments on commit 2d3e797

Please sign in to comment.