diff --git a/evm/src/cpu/kernel/interpreter.rs b/evm/src/cpu/kernel/interpreter.rs index ebd4b949..0634b864 100644 --- a/evm/src/cpu/kernel/interpreter.rs +++ b/evm/src/cpu/kernel/interpreter.rs @@ -36,7 +36,7 @@ impl InterpreterMemory { } // TODO: Remove `code` and `stack` fields as they are contained in `memory`. -pub(crate) struct Interpreter<'a> { +pub struct Interpreter<'a> { code: &'a [u8], jumpdests: Vec, offset: usize, @@ -468,8 +468,6 @@ fn find_jumpdests(code: &[u8]) -> Vec { mod tests { use std::collections::HashMap; - use hex_literal::hex; - use crate::cpu::kernel::interpreter::{run, Interpreter}; use crate::memory::segments::Segment;