Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/chisel/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use alloy_json_abi::EventParam;
use alloy_primitives::{hex, Address, U256};
use core::fmt::Debug;
use eyre::{Result, WrapErr};
use foundry_common::types::ToEthers;
use foundry_compilers::Artifact;
use foundry_evm::{
backend::Backend, decode::decode_console_logs, executors::ExecutorBuilder,
Expand Down Expand Up @@ -237,7 +236,7 @@ impl SessionSource {

// the file compiled correctly, thus the last stack item must be the memory offset of
// the `bytes memory inspectoor` value
let mut offset = stack.data().last().unwrap().to_ethers().as_usize();
let mut offset = stack.data().last().unwrap().to::<usize>();
let mem_offset = &memory[offset..offset + 32];
let len = U256::try_from_be_slice(mem_offset).unwrap().to::<usize>();
offset += 32;
Expand Down