Skip to content

Commit

Permalink
fix: block id none
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 31, 2024
1 parent 8339818 commit 07f6bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ape_titanoboa/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ def env(self) -> "Env":
def fork(self) -> "Open":
from boa import fork # type: ignore

return fork(self.fork_url, block_identifier=self.block_identifier, allow_dirty=True)
block_id = self.block_identifier or "safe"
return fork(self.fork_url, block_identifier=block_id, allow_dirty=True)

@cached_property
def fork_config(self) -> "BoaForkConfig":
Expand Down

0 comments on commit 07f6bf1

Please sign in to comment.