Skip to content

Commit

Permalink
add new_operators_threshold to UpdateOperatorsMessage
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
  • Loading branch information
bluele committed Jun 13, 2024
1 parent 6035db8 commit c9ffbe2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion proto/definitions/ibc/lightclients/lcp/v1/lcp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ message RegisterEnclaveKeyMessage {
message UpdateOperatorsMessage {
uint64 nonce = 1;
repeated bytes new_operators = 2;
repeated bytes signatures = 3;
uint64 new_operators_threshold_numerator = 3;
uint64 new_operators_threshold_denominator = 4;
repeated bytes signatures = 5;
}

message ClientState {
Expand Down
Binary file modified proto/src/descriptor.bin
Binary file not shown.
6 changes: 5 additions & 1 deletion proto/src/prost/ibc.lightclients.lcp.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ pub struct UpdateOperatorsMessage {
pub nonce: u64,
#[prost(bytes = "vec", repeated, tag = "2")]
pub new_operators: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
#[prost(bytes = "vec", repeated, tag = "3")]
#[prost(uint64, tag = "3")]
pub new_operators_threshold_numerator: u64,
#[prost(uint64, tag = "4")]
pub new_operators_threshold_denominator: u64,
#[prost(bytes = "vec", repeated, tag = "5")]
pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
Expand Down

0 comments on commit c9ffbe2

Please sign in to comment.