From 93d1a6350f09976907a957815637625f8d166198 Mon Sep 17 00:00:00 2001 From: maancham Date: Fri, 2 Aug 2024 16:16:37 -0400 Subject: [PATCH 1/2] refactor: remove unused config from service-registry --- contracts/service-registry/src/state.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/contracts/service-registry/src/state.rs b/contracts/service-registry/src/state.rs index fdf54123f..36ce4f2f3 100644 --- a/contracts/service-registry/src/state.rs +++ b/contracts/service-registry/src/state.rs @@ -1,17 +1,10 @@ use cosmwasm_schema::cw_serde; use cosmwasm_std::{Addr, Storage, Timestamp, Uint128}; -use cw_storage_plus::{Item, Map}; +use cw_storage_plus::Map; use router_api::ChainName; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; -#[cw_serde] -pub struct Config { - pub governance: Addr, -} - -pub const CONFIG: Item = Item::new("config"); - use axelar_wasm_std::nonempty; use axelar_wasm_std::snapshot::Participant; From 1ec72a89d022a100cab94a54d67615015814fe63 Mon Sep 17 00:00:00 2001 From: maancham Date: Fri, 2 Aug 2024 16:21:17 -0400 Subject: [PATCH 2/2] fix: reformat the state imports --- contracts/service-registry/src/state.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contracts/service-registry/src/state.rs b/contracts/service-registry/src/state.rs index 36ce4f2f3..974241b53 100644 --- a/contracts/service-registry/src/state.rs +++ b/contracts/service-registry/src/state.rs @@ -1,3 +1,5 @@ +use axelar_wasm_std::nonempty; +use axelar_wasm_std::snapshot::Participant; use cosmwasm_schema::cw_serde; use cosmwasm_std::{Addr, Storage, Timestamp, Uint128}; use cw_storage_plus::Map; @@ -5,9 +7,6 @@ use router_api::ChainName; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; -use axelar_wasm_std::nonempty; -use axelar_wasm_std::snapshot::Participant; - use crate::ContractError; #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]