Skip to content

Commit

Permalink
Merge pull request #34 from vyperlang/PatrickAlphaC-patch-1
Browse files Browse the repository at this point in the history
Update pyproject.toml
  • Loading branch information
charles-cooper authored Nov 23, 2024
2 parents 0c33688 + ff29987 commit 74b370a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions boa_zksync/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ def to_deployment(
rpc: str,
):
contract_name = getattr(contract, "contract_name", None)
if (filename := getattr(contract, "filename", None)) is not None:
filename = str(filename) # can be Path sometimes
try:
source_bundle = get_verification_bundle(contract)
except Exception as e:
Expand All @@ -216,6 +218,7 @@ def to_deployment(
return Deployment(
contract_address=create_address,
contract_name=contract_name,
filename=filename,
rpc=rpc,
deployer=Address(self.sender),
tx_hash=receipt["transactionHash"],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ classifiers = [
]

dependencies = [
"titanoboa==0.2.5b1"
"titanoboa>=0.2.5",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 74b370a

Please sign in to comment.