From d76db7a0757fabf11372a3f668a0857320f4cb5e Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 26 Jul 2024 12:32:48 -0500 Subject: [PATCH] fix: also set evm-version global in fork --- ape_foundry/provider.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ape_foundry/provider.py b/ape_foundry/provider.py index 9b5d719..93c571f 100644 --- a/ape_foundry/provider.py +++ b/ape_foundry/provider.py @@ -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