Skip to content
Merged
Show file tree
Hide file tree
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
62 changes: 31 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ members = [
resolver = "2"

[workspace.package]
version = "1.3.5"
version = "1.3.6"
edition = "2024"
# Remember to update clippy.toml as well
rust-version = "1.88"
Expand Down
4 changes: 4 additions & 0 deletions crates/cheatcodes/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,8 @@ impl Cheatcodes {
let is_fixed_gas_limit = check_if_fixed_gas_limit(&ecx, call.gas_limit);

let input = TransactionInput::new(call.input.bytes(ecx));
// Ensure account is touched.
ecx.journaled_state.touch(broadcast.new_origin);

let account =
ecx.journaled_state.inner.state().get_mut(&broadcast.new_origin).unwrap();
Expand Down Expand Up @@ -1597,6 +1599,8 @@ impl Inspector<EthEvmContext<&mut dyn DatabaseExt>> for Cheatcodes {
if curr_depth == broadcast.depth {
input.set_caller(broadcast.new_origin);
let is_fixed_gas_limit = check_if_fixed_gas_limit(&ecx, input.gas_limit());
// Ensure account is touched.
ecx.journaled_state.touch(broadcast.new_origin);

let account = &ecx.journaled_state.inner.state()[&broadcast.new_origin];
self.broadcastable_transactions.push_back(BroadcastableTransaction {
Expand Down
Loading