chore: Upgrade revm (#8870)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Quentin V
2024-06-16 18:58:07 +02:00
committed by GitHub
parent 038d48fd18
commit 35f7e0b000
5 changed files with 43 additions and 52 deletions

View File

@ -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()))
}
}