Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild protos with proto-build (cosmos-sdk rev: v0.43.0 wasmd rev: v0.17.0)) #117

Merged
merged 1 commit into from
Aug 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions cosmos-sdk-proto/src/prost/cosmos.base.store.v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
/// CommitInfo defines commit information used by the multi-store when committing
/// a version/height.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitInfo {
#[prost(int64, tag = "1")]
pub version: i64,
#[prost(message, repeated, tag = "2")]
pub store_infos: ::prost::alloc::vec::Vec<StoreInfo>,
}
/// StoreInfo defines store-specific commit information. It contains a reference
/// between a store name and the commit ID.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreInfo {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub commit_id: ::core::option::Option<CommitId>,
}
/// CommitID defines the committment information when a specific store is
/// committed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitId {
#[prost(int64, tag = "1")]
pub version: i64,
#[prost(bytes = "vec", tag = "2")]
pub hash: ::prost::alloc::vec::Vec<u8>,
}
/// SnapshotItem is an item contained in a rootmulti.Store snapshot.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotItem {
Expand Down Expand Up @@ -61,3 +34,30 @@ pub struct SnapshotIavlItem {
#[prost(int32, tag = "4")]
pub height: i32,
}
/// CommitInfo defines commit information used by the multi-store when committing
/// a version/height.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitInfo {
#[prost(int64, tag = "1")]
pub version: i64,
#[prost(message, repeated, tag = "2")]
pub store_infos: ::prost::alloc::vec::Vec<StoreInfo>,
}
/// StoreInfo defines store-specific commit information. It contains a reference
/// between a store name and the commit ID.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreInfo {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub commit_id: ::core::option::Option<CommitId>,
}
/// CommitID defines the committment information when a specific store is
/// committed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitId {
#[prost(int64, tag = "1")]
pub version: i64,
#[prost(bytes = "vec", tag = "2")]
pub hash: ::prost::alloc::vec::Vec<u8>,
}
20 changes: 10 additions & 10 deletions cosmos-sdk-proto/src/prost/ibc.applications.transfer.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ pub struct Params {
#[prost(bool, tag = "2")]
pub receive_enabled: bool,
}
/// GenesisState defines the ibc-transfer genesis state
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(string, tag = "1")]
pub port_id: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub denom_traces: ::prost::alloc::vec::Vec<DenomTrace>,
#[prost(message, optional, tag = "3")]
pub params: ::core::option::Option<Params>,
}
/// QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC
/// method
#[derive(Clone, PartialEq, ::prost::Message)]
Expand Down Expand Up @@ -124,13 +134,3 @@ pub struct QueryParamsResponse {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
/// GenesisState defines the ibc-transfer genesis state
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(string, tag = "1")]
pub port_id: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub denom_traces: ::prost::alloc::vec::Vec<DenomTrace>,
#[prost(message, optional, tag = "3")]
pub params: ::core::option::Option<Params>,
}