diff --git a/boa/contracts/vvm/vvm_contract.py b/boa/contracts/vvm/vvm_contract.py index 6ee18b93..2c028be0 100644 --- a/boa/contracts/vvm/vvm_contract.py +++ b/boa/contracts/vvm/vvm_contract.py @@ -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. @@ -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)