Skip to content

Commit

Permalink
Update protobuf generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Dec 18, 2024
1 parent d676e43 commit 9455a91
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
32 changes: 32 additions & 0 deletions packages/proto/src/gen/babylon.finality.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,36 @@ pub struct MsgAddFinalitySig {
#[prost(bytes="bytes", tag="7")]
pub finality_sig: ::prost::bytes::Bytes,
}
/// MsgEquivocationEvidence is the message for handling evidence of equivocation
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgEquivocationEvidence {
#[prost(string, tag="1")]
pub signer: ::prost::alloc::string::String,
/// fp_btc_pk is the BTC PK of the finality provider that casts this vote
#[prost(bytes="bytes", tag="2")]
pub fp_btc_pk: ::prost::bytes::Bytes,
/// block_height is the height of the conflicting blocks
#[prost(uint64, tag="3")]
pub block_height: u64,
/// pub_rand is the public randomness the finality provider has committed to
#[prost(bytes="bytes", tag="4")]
pub pub_rand: ::prost::bytes::Bytes,
/// canonical_app_hash is the AppHash of the canonical block
#[prost(bytes="bytes", tag="5")]
pub canonical_app_hash: ::prost::bytes::Bytes,
/// fork_app_hash is the AppHash of the fork block
#[prost(bytes="bytes", tag="6")]
pub fork_app_hash: ::prost::bytes::Bytes,
/// canonical_finality_sig is the finality signature to the canonical block
/// where finality signature is an EOTS signature, i.e.,
/// the `s` in a Schnorr signature `(r, s)`
/// `r` is the public randomness that is already committed by the finality provider
#[prost(bytes="bytes", tag="7")]
pub canonical_finality_sig: ::prost::bytes::Bytes,
/// fork_finality_sig is the finality signature to the fork block
/// where finality signature is an EOTS signature
#[prost(bytes="bytes", tag="8")]
pub fork_finality_sig: ::prost::bytes::Bytes,
}
// @@protoc_insertion_point(module)
4 changes: 1 addition & 3 deletions packages/proto/src/gen/babylon.zoneconcierge.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ pub struct ProofFinalizedChainInfo {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ZoneconciergePacketData {
/// packet is the actual message carried in the IBC packet
#[prost(oneof="zoneconcierge_packet_data::Packet", tags="1, 2, 3, 4")]
#[prost(oneof="zoneconcierge_packet_data::Packet", tags="1, 2, 3")]
pub packet: ::core::option::Option<zoneconcierge_packet_data::Packet>,
}
/// Nested message and enum types in `ZoneconciergePacketData`.
Expand All @@ -169,8 +169,6 @@ pub mod zoneconcierge_packet_data {
BtcStaking(super::super::super::btcstaking::v1::BtcStakingIbcPacket),
#[prost(message, tag="3")]
ConsumerSlashing(super::ConsumerSlashingIbcPacket),
#[prost(message, tag="4")]
ConsumerFpDistribution(cosmos_sdk_proto::ibc::applications::transfer::v2::FungibleTokenPacketData),
}
}
/// BTCTimestamp is a BTC timestamp that carries information of a BTC-finalised epoch
Expand Down

0 comments on commit 9455a91

Please sign in to comment.