diff --git a/boa/contracts/vvm/vvm_contract.py b/boa/contracts/vvm/vvm_contract.py index 299ad6bc..5c2afd45 100644 --- a/boa/contracts/vvm/vvm_contract.py +++ b/boa/contracts/vvm/vvm_contract.py @@ -88,9 +88,7 @@ def deploy_as_blueprint(self, env=None, blueprint_preamble=None, **kwargs): if env is None: env = Env.get_singleton() - address, computation = env.deploy_code(bytecode=self._blueprint_bytecode) - if computation.is_error: - raise computation.error + address, _ = env.deploy_code(bytecode=self._blueprint_bytecode) ret = self._blueprint_deployer.at(address) env.register_blueprint(self.bytecode, ret)