From fb813752bde31aafe900e6de8c6a7cde2733c2be Mon Sep 17 00:00:00 2001 From: Tuan Tran Date: Tue, 10 Oct 2023 07:58:37 +0700 Subject: [PATCH] chore: lint --- src/contract.rs | 3 +-- src/state.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/contract.rs b/src/contract.rs index 8b0bb06..558c8f5 100644 --- a/src/contract.rs +++ b/src/contract.rs @@ -8,7 +8,6 @@ use crate::error::ContractError; use crate::msg::{ExecuteMsg, InstantiateMsg, QueryMsg, SocialResponse}; use crate::state::{Platform, ProfileId, SocialInfo, ADDRESS_TO_SOCIAL, OWNER, SOCIAL_TO_ADDRESS}; use cosmwasm_std::Addr; -use cw_storage_plus::{Item, Map}; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; @@ -26,7 +25,7 @@ pub fn instantiate( _deps: DepsMut, _env: Env, info: MessageInfo, - msg: InstantiateMsg, + _msg: InstantiateMsg, ) -> Result { set_contract_version(_deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?; OWNER.save(_deps.storage, &info.sender)?; diff --git a/src/state.rs b/src/state.rs index 59cc6a9..c84a965 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1,5 +1,4 @@ -use cosmwasm_schema::cw_serde; -use cosmwasm_std::{Addr, Uint128}; +use cosmwasm_std::Addr; use cw_storage_plus::{Item, Map}; pub type SocialInfo = (Platform, ProfileId);