Skip to content

Commit

Permalink
script/runner: set inspector.create2_deployer with evm_opts
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa committed Nov 9, 2024
1 parent 084faaf commit 918f485
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/script/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ impl ScriptRunner {
) -> Result<(Address, ScriptResult)> {
trace!(target: "script", "executing setUP()");

// set CREATE2 deployer from EvmOpts.
self.executor.inspector_mut().set_create2_deployer(self.evm_opts.create2_deployer);

if !is_broadcast {
if self.evm_opts.sender == Config::DEFAULT_SENDER {
// We max out their balance so that they can deploy and make calls.
Expand Down

0 comments on commit 918f485

Please sign in to comment.