|
1 |
| -use crate::{ |
2 |
| - handler::register::EvmHandler, Context, EvmWiring, FrameOrResult, FrameResult, Inspector, |
3 |
| - JournalEntry, |
4 |
| -}; |
| 1 | +use crate::Inspector; |
5 | 2 | use core::cell::RefCell;
|
6 |
| -use interpreter::{opcode, opcode::DynInstruction, InstructionResult, Interpreter}; |
| 3 | +use revm::{ |
| 4 | + handler::register::EvmHandler, |
| 5 | + interpreter::{opcode, opcode::DynInstruction, InstructionResult, Interpreter}, |
| 6 | + wiring::result::EVMResultGeneric, |
| 7 | + Context, EvmWiring, FrameOrResult, FrameResult, JournalEntry, |
| 8 | +}; |
7 | 9 | use std::{rc::Rc, sync::Arc, vec::Vec};
|
8 |
| -use wiring::result::EVMResultGeneric; |
9 | 10 |
|
10 | 11 | /// Provides access to an `Inspector` instance.
|
11 | 12 | pub trait GetInspector<EvmWiringT: EvmWiring> {
|
@@ -261,15 +262,16 @@ fn inspector_instruction<EvmWiringT>(
|
261 | 262 | #[cfg(test)]
|
262 | 263 | mod tests {
|
263 | 264 | use super::*;
|
264 |
| - use crate::{ |
265 |
| - inspector::inspector_handle_register, inspectors::NoOpInspector, Evm, EvmContext, EvmWiring, |
266 |
| - }; |
267 |
| - use bytecode::Bytecode; |
| 265 | + use crate::{inspector_handle_register, inspectors::NoOpInspector}; |
268 | 266 | use database::BenchmarkDB;
|
269 |
| - use database_interface::EmptyDB; |
270 |
| - use interpreter::{opcode, CallInputs, CallOutcome, CreateInputs, CreateOutcome}; |
271 |
| - use primitives::{address, Bytes, TxKind}; |
272 |
| - use wiring::{DefaultEthereumWiring, EthereumWiring, EvmWiring as PrimitiveEvmWiring}; |
| 267 | + use revm::{ |
| 268 | + bytecode::Bytecode, |
| 269 | + database_interface::EmptyDB, |
| 270 | + interpreter::{opcode, CallInputs, CallOutcome, CreateInputs, CreateOutcome}, |
| 271 | + primitives::{address, Bytes, TxKind}, |
| 272 | + wiring::{DefaultEthereumWiring, EthereumWiring, EvmWiring as PrimitiveEvmWiring}, |
| 273 | + Evm, EvmContext, EvmWiring, |
| 274 | + }; |
273 | 275 |
|
274 | 276 | type TestEvmWiring = DefaultEthereumWiring;
|
275 | 277 |
|
|
0 commit comments