Skip to content

Commit 0a6b1ad

Browse files
ibc-go: bump to v8.4.0 (#492)
1 parent 26b102b commit 0a6b1ad

File tree

49 files changed

+15991
-4144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+15991
-4144
lines changed

cosmos-sdk-proto/src/lib.rs

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ pub mod cosmos {
160160
}
161161
}
162162

163+
/// ICS23 protobuf definitions.
164+
pub mod ics23 {
165+
pub mod v1 {
166+
include!("prost/ibc-go/cosmos.ics23.v1.rs");
167+
}
168+
}
169+
163170
/// Messages and services handling minting
164171
pub mod mint {
165172
pub mod v1beta1 {
@@ -304,28 +311,28 @@ pub mod ibc {
304311
/// IBC light clients.
305312
pub mod lightclients {
306313
pub mod localhost {
307-
pub mod v1 {
308-
include!("prost/ibc-go/ibc.lightclients.localhost.v1.rs");
314+
pub mod v2 {
315+
include!("prost/ibc-go/ibc.lightclients.localhost.v2.rs");
309316
}
310317
}
311318
pub mod solomachine {
312-
pub mod v1 {
313-
include!("prost/ibc-go/ibc.lightclients.solomachine.v1.rs");
314-
}
315-
316319
pub mod v2 {
317320
include!("prost/ibc-go/ibc.lightclients.solomachine.v2.rs");
318321
}
322+
323+
pub mod v3 {
324+
include!("prost/ibc-go/ibc.lightclients.solomachine.v3.rs");
325+
}
319326
}
320327
pub mod tendermint {
321328
pub mod v1 {
322329
include!("prost/ibc-go/ibc.lightclients.tendermint.v1.rs");
323330
}
324331
}
332+
pub mod wasm {
333+
pub mod v1 {
334+
include!("prost/ibc-go/ibc.lightclients.wasm.v1.rs");
335+
}
336+
}
325337
}
326338
}
327-
328-
/// ICS23 protobuf definitions.
329-
pub mod ics23 {
330-
include!("prost/ibc-go/ics23.rs");
331-
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v6.3.1
1+
v8.4.0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// @generated
2+
// @@protoc_insertion_point(module)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// @generated
2+
/// Capability defines an implementation of an object capability. The index
3+
/// provided to a Capability must be globally unique.
4+
#[allow(clippy::derive_partial_eq_without_eq)]
5+
#[derive(Clone, PartialEq, ::prost::Message)]
6+
pub struct Capability {
7+
#[prost(uint64, tag = "1")]
8+
pub index: u64,
9+
}
10+
/// Owner defines a single capability owner. An owner is defined by the name of
11+
/// capability and the module name.
12+
#[allow(clippy::derive_partial_eq_without_eq)]
13+
#[derive(Clone, PartialEq, ::prost::Message)]
14+
pub struct Owner {
15+
#[prost(string, tag = "1")]
16+
pub module: ::prost::alloc::string::String,
17+
#[prost(string, tag = "2")]
18+
pub name: ::prost::alloc::string::String,
19+
}
20+
/// CapabilityOwners defines a set of owners of a single Capability. The set of
21+
/// owners must be unique.
22+
#[allow(clippy::derive_partial_eq_without_eq)]
23+
#[derive(Clone, PartialEq, ::prost::Message)]
24+
pub struct CapabilityOwners {
25+
#[prost(message, repeated, tag = "1")]
26+
pub owners: ::prost::alloc::vec::Vec<Owner>,
27+
}
28+
/// GenesisOwners defines the capability owners with their corresponding index.
29+
#[allow(clippy::derive_partial_eq_without_eq)]
30+
#[derive(Clone, PartialEq, ::prost::Message)]
31+
pub struct GenesisOwners {
32+
/// index is the index of the capability owner.
33+
#[prost(uint64, tag = "1")]
34+
pub index: u64,
35+
/// index_owners are the owners at the given index.
36+
#[prost(message, optional, tag = "2")]
37+
pub index_owners: ::core::option::Option<CapabilityOwners>,
38+
}
39+
/// GenesisState defines the capability module's genesis state.
40+
#[allow(clippy::derive_partial_eq_without_eq)]
41+
#[derive(Clone, PartialEq, ::prost::Message)]
42+
pub struct GenesisState {
43+
/// index is the capability global index.
44+
#[prost(uint64, tag = "1")]
45+
pub index: u64,
46+
/// owners represents a map from index to owners of the capability index
47+
/// index key is string to allow amino marshalling.
48+
#[prost(message, repeated, tag = "2")]
49+
pub owners: ::prost::alloc::vec::Vec<GenesisOwners>,
50+
}
51+
include!("capability.v1.serde.rs");
52+
// @@protoc_insertion_point(module)

0 commit comments

Comments
 (0)