Skip to content

Commit

Permalink
add kwargs back in
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 3, 2024
1 parent 1acc965 commit c2094d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa/contracts/vvm/vvm_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _blueprint_deployer(self):
# TODO: add filename
return ABIContractFactory.from_abi_dict([])

def deploy_as_blueprint(self, env=None, blueprint_preamble=None):
def deploy_as_blueprint(self, env=None, blueprint_preamble=None, **kwargs):
"""
Deploy a new blueprint from this contract.
:param blueprint_preamble: The preamble to use for the blueprint.
Expand All @@ -87,7 +87,7 @@ def deploy_as_blueprint(self, env=None, blueprint_preamble=None):
blueprint_bytecode = generate_blueprint_bytecode(
self.bytecode, blueprint_preamble
)
address, _ = env.deploy_code(bytecode=blueprint_bytecode)
address, _ = env.deploy_code(bytecode=blueprint_bytecode, **kwargs)

ret = self._blueprint_deployer.at(address)

Expand Down

0 comments on commit c2094d2

Please sign in to comment.