diff --git a/framework/packages/abstract-interface/src/deployment.rs b/framework/packages/abstract-interface/src/deployment.rs index 9fd701606..842bd26df 100644 --- a/framework/packages/abstract-interface/src/deployment.rs +++ b/framework/packages/abstract-interface/src/deployment.rs @@ -205,45 +205,6 @@ impl Abstract { } } - pub fn instantiate(&mut self, admin: String) -> Result<(), AbstractInterfaceError> { - let admin = Addr::unchecked(admin); - - self.ans_host.instantiate( - &abstract_std::ans_host::InstantiateMsg { - admin: admin.to_string(), - }, - Some(&admin), - &[], - )?; - - self.registry.instantiate( - &abstract_std::registry::InstantiateMsg { - admin: admin.to_string(), - #[cfg(feature = "integration")] - security_enabled: Some(false), - #[cfg(not(feature = "integration"))] - security_enabled: Some(true), - namespace_registration_fee: None, - }, - Some(&admin), - &[], - )?; - - self.module_factory.instantiate( - &abstract_std::module_factory::InstantiateMsg { - admin: admin.to_string(), - }, - Some(&admin), - &[], - )?; - - // We also instantiate ibc contracts - self.ibc.instantiate(&admin)?; - self.ibc.register(&self.registry)?; - - Ok(()) - } - pub fn contracts(&self) -> Vec<(&cw_orch::contract::Contract, String)> { vec![ (