Skip to content

Commit

Permalink
fix compile and warning errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverHappened committed Oct 11, 2024
1 parent 9791793 commit 6da2278
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 3,236 deletions.
9 changes: 3 additions & 6 deletions contracts/ibc_transfer/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
use cosmwasm_std::{
coin, entry_point, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Reply, Response,
StdError, StdResult, SubMsg,
entry_point, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Reply, Response, StdError,
StdResult, SubMsg,
};
use cw2::set_contract_version;
use neutron_sdk::interchain_txs::helpers::decode_message_response;
use neutron_sdk::{
sudo::msg::{RequestPacket, RequestPacketTimeoutHeight, TransferSudoMsg},
NeutronResult,
};
use neutron_sdk::sudo::msg::{RequestPacket, TransferSudoMsg};
use neutron_std::types::neutron::transfer::{MsgTransfer, MsgTransferResponse};
// TODO: rename
use neutron_std::types::cosmos::base::v1beta1::Coin as SuperCoin;
Expand Down
4 changes: 1 addition & 3 deletions contracts/neutron_interchain_queries/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ use cosmwasm_std::{
};
use cw2::set_contract_version;
use neutron_sdk::interchain_queries::v047::register_queries::new_register_validators_signing_infos_query_msg;
use neutron_std::types::neutron::interchainqueries::{
InterchainqueriesQuerier, KvKey, QueryResult, RegisteredQuery,
};
use neutron_std::types::neutron::interchainqueries::{KvKey, RegisteredQuery};
// TODO: fix name
use neutron_sdk::interchain_queries::v045::register_queries::{
remove_interchain_query as helpers_remove_interchain_query,
Expand Down
7 changes: 3 additions & 4 deletions contracts/neutron_interchain_txs/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cosmos_sdk_proto::traits::Message;
use cosmwasm_std::{
to_json_binary, Addr, Binary, Coin as CoinSDK, CosmosMsg, CustomQuery, Deps, DepsMut, Env,
MessageInfo, Reply, Response, StdError, StdResult, SubMsg,
to_json_binary, Addr, Binary, CosmosMsg, CustomQuery, Deps, DepsMut, Env, MessageInfo, Reply,
Response, StdError, StdResult, SubMsg,
};
use cw2::set_contract_version;
use neutron_std::shim::Timestamp;
Expand All @@ -12,10 +12,9 @@ use crate::storage::{
save_reply_payload, save_sudo_payload, AcknowledgementResult, SudoPayload,
ACKNOWLEDGEMENT_RESULTS, INTERCHAIN_ACCOUNTS, SUDO_PAYLOAD_REPLY_ID,
};
use neutron_sdk::bindings::msg::{ChannelOrdering, IbcFee};
use neutron_sdk::bindings::msg::ChannelOrdering;
use neutron_sdk::interchain_queries::v045::register_queries::register_interchain_account;
use neutron_sdk::{
bindings::types::ProtobufAny,
interchain_txs::helpers::{decode_message_response, get_port_id},
interchain_txs::v047::helpers::decode_acknowledgement_response,
sudo::msg::{RequestPacket, SudoMsg},
Expand Down
Loading

0 comments on commit 6da2278

Please sign in to comment.