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..18c4464 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);