Skip to content

Commit

Permalink
replace proto build
Browse files Browse the repository at this point in the history
  • Loading branch information
joldie777 committed Jul 15, 2024
1 parent 9aac376 commit 85ad80c
Show file tree
Hide file tree
Showing 258 changed files with 43,544 additions and 3,422 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ check_contracts:
build: schema clippy test fmt doc compile check_contracts

build-proto:
@cargo run --bin proto-build $(revision)
@cargo run --bin proto-build
1 change: 1 addition & 0 deletions contracts/ibc_transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ serde-json-wasm = { workspace = true }
cw-storage-plus = { workspace = true, features = ["iterator"]}
cosmwasm-schema = { workspace = true }
neutron-sdk = { path = "../../packages/neutron-sdk", default-features = false }
neutron-std = { path = "../../packages/neutron-std", default-features = false }

[dev-dependencies]
cosmwasm-schema = { workspace = true }
2 changes: 1 addition & 1 deletion contracts/ibc_transfer/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use cosmwasm_std::{
};
use cw2::set_contract_version;
use neutron_sdk::interchain_txs::helpers::decode_message_response;
use neutron_sdk::proto_types::neutron::transfer::MsgTransferResponse;
use neutron_sdk::{
bindings::{
msg::{IbcFee, NeutronMsg},
Expand All @@ -14,6 +13,7 @@ use neutron_sdk::{
sudo::msg::{RequestPacket, RequestPacketTimeoutHeight, TransferSudoMsg},
NeutronResult,
};
use neutron_std::types::neutron::transfer::MsgTransferResponse;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

Expand Down
1 change: 1 addition & 0 deletions contracts/neutron_interchain_txs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ serde-json-wasm = { workspace = true }
cw-storage-plus = { workspace = true }
cosmos-sdk-proto = { workspace = true }
neutron-sdk = { path = "../../packages/neutron-sdk", default-features = false }
neutron-std = { path = "../../packages/neutron-std", default-features = false }
prost-types = { workspace = true }
cosmwasm-schema = { workspace = true }
2 changes: 1 addition & 1 deletion contracts/neutron_interchain_txs/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use serde::{Deserialize, Serialize};

use crate::msg::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg};
use neutron_sdk::bindings::msg::IbcFee;
use neutron_sdk::proto_types::neutron::interchaintxs::v1::MsgSubmitTxResponse;
use neutron_sdk::{
bindings::{
msg::NeutronMsg,
Expand All @@ -26,6 +25,7 @@ use neutron_sdk::{
sudo::msg::{RequestPacket, SudoMsg},
NeutronError, NeutronResult,
};
use neutron_std::types::neutron::interchaintxs::v1::MsgSubmitTxResponse;

use crate::storage::{
add_error_to_queue, read_errors_from_queue, read_reply_payload, read_sudo_payload,
Expand Down
2 changes: 1 addition & 1 deletion packages/neutron-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://neutron.org"
readme = "README.md"

[dependencies]
cosmwasm-std = { workspace = true, features = ["stargate"] }
cosmwasm-std = { workspace = true }
cosmos-sdk-proto = { workspace = true }
serde = { workspace = true }
schemars = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions packages/neutron-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ pub mod bindings;
mod errors;
pub mod interchain_queries;
pub mod interchain_txs;
pub mod proto_types;
pub mod query;
pub mod stargate;
pub mod sudo;

pub use errors::error::{NeutronError, NeutronResult};
Expand Down
1 change: 0 additions & 1 deletion packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT

This file was deleted.

63 changes: 0 additions & 63 deletions packages/neutron-sdk/src/proto_types/gaia.globalfee.v1beta1.rs

This file was deleted.

45 changes: 0 additions & 45 deletions packages/neutron-sdk/src/proto_types/mod.rs

This file was deleted.

90 changes: 0 additions & 90 deletions packages/neutron-sdk/src/proto_types/neutron.contractmanager.rs

This file was deleted.

21 changes: 0 additions & 21 deletions packages/neutron-sdk/src/proto_types/neutron.contractmanager.v1.rs

This file was deleted.

Loading

0 comments on commit 85ad80c

Please sign in to comment.