Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Oct 29, 2024
1 parent 1760313 commit 94d4bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cheatcodes/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ pub struct Cheatcodes {
pub startup_zk: bool,

/// Factory deps stored through `zkUseFactoryDep`
pub contracts_as_factory_deps: Vec<String>, // Changed from Option<String> to Vec<String>
pub contracts_as_factory_deps: Vec<String>,

/// The list of factory_deps seen so far during a test or script execution.
/// Ideally these would be persisted in the storage, but since modifying [revm::JournaledState]
Expand Down Expand Up @@ -606,7 +606,7 @@ impl Cheatcodes {
record_next_create_address: Default::default(),
persisted_factory_deps: Default::default(),
paymaster_params: None,
contracts_as_factory_deps: Vec::new(), // Changed from Option<String> to Vec<String>
contracts_as_factory_deps: Vec::new(),
}
}

Expand Down Expand Up @@ -1276,7 +1276,7 @@ impl Cheatcodes {
}
}

// Clean up broadcast
// Clean up broadcasts
if let Some(broadcast) = &self.broadcast {
if ecx.journaled_state.depth() == broadcast.depth {
ecx.env.tx.caller = broadcast.original_origin;
Expand Down

0 comments on commit 94d4bf4

Please sign in to comment.