mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: Upgrade revm (#8870)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -12,7 +12,7 @@ use reth::{
|
||||
revm::{
|
||||
handler::register::EvmHandler,
|
||||
inspector_handle_register,
|
||||
precompile::{Precompile, PrecompileSpecId, Precompiles},
|
||||
precompile::{Precompile, PrecompileOutput, PrecompileSpecId, Precompiles},
|
||||
Database, Evm, EvmBuilder, GetInspector,
|
||||
},
|
||||
tasks::TaskManager,
|
||||
@ -56,7 +56,7 @@ impl MyEvmConfig {
|
||||
|
||||
/// A custom precompile that does nothing
|
||||
fn my_precompile(_data: &Bytes, _gas: u64, _env: &Env) -> PrecompileResult {
|
||||
Ok((0, Bytes::new()))
|
||||
Ok(PrecompileOutput::new(0, Bytes::new()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user