Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 29, 2024
1 parent 362a6f1 commit 8b96fce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions boa_zksync/deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def _compile(
def from_abi_dict(cls, abi, name="<anonymous contract>", filename=None):
raise NotImplementedError("ZksyncDeployer does not support loading from ABI")

def deploy(self, *args, contract_name: Optional[str]=None, **kwargs) -> ZksyncContract:
def deploy(
self, *args, contract_name: Optional[str] = None, **kwargs
) -> ZksyncContract:
return ZksyncContract(
self.zkvyper_data,
contract_name or self._name,
Expand All @@ -59,7 +61,9 @@ def at(self, address: Address | str) -> ZksyncContract:
"""
return self.deploy(override_address=Address(address), skip_initcode=True)

def deploy_as_blueprint(self, contract_name: Optional[str]=None, **kwargs) -> ZksyncContract:
def deploy_as_blueprint(
self, contract_name: Optional[str] = None, **kwargs
) -> ZksyncContract:
"""
In zkSync, any contract can be used as a blueprint.
The only difference here is that we don't need to run the constructor.
Expand Down

0 comments on commit 8b96fce

Please sign in to comment.