Skip to content

Commit

Permalink
Update ICS protos to commit e734e5375ec7b6872be35ce60a8fae5e0142f9fe
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Aug 10, 2023
1 parent 0cfe0f8 commit 2459d36
Show file tree
Hide file tree
Showing 7 changed files with 531 additions and 555 deletions.
4 changes: 2 additions & 2 deletions scripts/sync-protobuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ mkdir -p src/prost

cd tools/proto-compiler

cargo build --locked
cargo build

# Run the proto-compiler twice,
# once for std version with --build-tonic set to true
# and once for no-std version with --build-tonic set to false

cargo run --locked -- compile \
cargo run -- compile \
--ics "$ICS_DIR/proto-include" \
--sdk "$COSMOS_SDK_DIR/proto-include" \
--ibc "$IBC_GO_DIR/proto-include" \
Expand Down
2 changes: 1 addition & 1 deletion src/ICS_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
68e69a417685f670177940e143bcf1627e4b5202
e734e5375ec7b6872be35ce60a8fae5e0142f9fe
324 changes: 305 additions & 19 deletions src/prost/google.protobuf.rs

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion src/prost/interchain_security.ccv.consumer.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
/// TODO: Remove enabled flag and find a better way to setup e2e tests
/// TODO: Remove enabled flag and find a better way to setup integration tests
/// See: <https://github.com/cosmos/interchain-security/issues/339>
#[prost(bool, tag = "1")]
pub enabled: bool,
Expand Down Expand Up @@ -47,6 +47,18 @@ pub struct Params {
pub unbonding_period: ::core::option::Option<
super::super::super::super::google::protobuf::Duration,
>,
/// The threshold for the percentage of validators at the bottom of the set who
/// can opt out of running the consumer chain without being punished. For example, a
/// value of 0.05 means that the validators in the bottom 5% of the set can opt out
#[prost(string, tag = "10")]
pub soft_opt_out_threshold: ::prost::alloc::string::String,
/// Reward denoms. These are the denominations which are allowed to be sent to the provider as rewards.
#[prost(string, repeated, tag = "11")]
pub reward_denoms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Provider-originated reward denoms. These are denoms coming from the provider
/// which are allowed to be used as rewards. e.g. "uatom"
#[prost(string, repeated, tag = "12")]
pub provider_reward_denoms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// LastTransmissionBlockHeight is the last time validator holding
/// pools were transmitted to the provider chain
Expand Down Expand Up @@ -130,6 +142,9 @@ pub struct GenesisState {
pub last_transmission_block_height: ::core::option::Option<
LastTransmissionBlockHeight,
>,
/// flag indicating whether the consumer CCV module starts in pre-CCV state
#[prost(bool, tag = "13")]
pub pre_ccv: bool,
}
/// HeightValsetUpdateID defines the genesis information for the mapping
/// of each block height to a valset update id
Expand Down
303 changes: 207 additions & 96 deletions src/prost/interchain_security.ccv.provider.v1.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 2459d36

Please sign in to comment.