Skip to content

Commit

Permalink
Update Interchain Security protos to include Permissionless ICS chang…
Browse files Browse the repository at this point in the history
…es (#234)

* Update Interchain Security protos to include Permissionless ICS changes

* Re-export well-known-types from tendermint-proto

* Update ICS protos

* Add changelog entry

* Fix tonic to v0.12.3 and remove unnecessary Cargo.lock

---------

Co-authored-by: Luca Joss <luca@informal.systems>
  • Loading branch information
romac and ljoss17 authored Oct 23, 2024
1 parent 95de83e commit 46f2727
Show file tree
Hide file tree
Showing 32 changed files with 4,963 additions and 3,079 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update `interchain-security` to v6.1.0
([\#245](https://github.com/cosmos/ibc-proto-rs/issues/245))
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ all-features = true
[dependencies]
prost = { version = "0.13", default-features = false, features = ["prost-derive"] }
bytes = { version = "1.2", default-features = false }
tonic = { version = "0.12", default-features = false, optional = true }
tonic = { version = "0.12.3", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
schemars = { version = "0.8", optional = true }
subtle-encoding = { version = "0.5", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/INTERCHAIN_SECURITY_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ea545b490b53b8e6f422492b4fb2820ab0bc140b
1e60637f9d8f3505208282416abfbb87fabc4795
29 changes: 29 additions & 0 deletions src/prost/cosmos.evidence.v1beta1.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// This file is @generated by prost-build.
/// Equivocation implements the Evidence interface and defines evidence of double
/// signing misbehavior.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Equivocation {
/// height is the equivocation height.
#[prost(int64, tag = "1")]
pub height: i64,
/// time is the equivocation time.
#[prost(message, optional, tag = "2")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
/// power is the equivocation validator power.
#[prost(int64, tag = "3")]
pub power: i64,
/// consensus_address is the equivocation validator consensus address.
#[prost(string, tag = "4")]
pub consensus_address: ::prost::alloc::string::String,
}
impl ::prost::Name for Equivocation {
const NAME: &'static str = "Equivocation";
const PACKAGE: &'static str = "cosmos.evidence.v1beta1";
fn full_name() -> ::prost::alloc::string::String {
"cosmos.evidence.v1beta1.Equivocation".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/cosmos.evidence.v1beta1.Equivocation".into()
}
}
Loading

0 comments on commit 46f2727

Please sign in to comment.