From 9455a915a01e6f9b0d9b3df2f03da61b6181651d Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 18 Dec 2024 15:43:22 +0100 Subject: [PATCH] Update protobuf generated files --- packages/proto/src/gen/babylon.finality.v1.rs | 32 +++++++++++++++++++ .../proto/src/gen/babylon.zoneconcierge.v1.rs | 4 +-- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/packages/proto/src/gen/babylon.finality.v1.rs b/packages/proto/src/gen/babylon.finality.v1.rs index 7845179..57e8bf2 100644 --- a/packages/proto/src/gen/babylon.finality.v1.rs +++ b/packages/proto/src/gen/babylon.finality.v1.rs @@ -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) diff --git a/packages/proto/src/gen/babylon.zoneconcierge.v1.rs b/packages/proto/src/gen/babylon.zoneconcierge.v1.rs index a8a39e3..4ea95c1 100644 --- a/packages/proto/src/gen/babylon.zoneconcierge.v1.rs +++ b/packages/proto/src/gen/babylon.zoneconcierge.v1.rs @@ -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, } /// Nested message and enum types in `ZoneconciergePacketData`. @@ -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