Skip to content

Commit

Permalink
fix: also set evm-version global in fork
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jul 26, 2024
1 parent b1639a8 commit d76db7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ape_foundry/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,8 @@ def build_command(self) -> list[str]:

if self._fork_config.evm_version is not None:
cmd.extend(("--hardfork", self._fork_config.evm_version))
elif self.settings.evm_version is not None:
cmd.extend(("--hardfork", self.settings.evm_version))

return cmd

Expand Down

0 comments on commit d76db7a

Please sign in to comment.