provwasm_std/types/tendermint/
version.rs

1use provwasm_proc_macro::CosmwasmExt;
2/// App includes the protocol and software version for the application.
3/// This information is included in ResponseInfo. The App.Protocol can be
4/// updated in ResponseEndBlock.
5#[allow(clippy::derive_partial_eq_without_eq)]
6#[derive(Clone, PartialEq, Eq, ::prost::Message, ::schemars::JsonSchema, CosmwasmExt)]
7#[proto_message(type_url = "/tendermint.version.App")]
8pub struct App {
9    #[prost(uint64, tag = "1")]
10    pub protocol: u64,
11    #[prost(string, tag = "2")]
12    pub software: ::prost::alloc::string::String,
13}
14/// Consensus captures the consensus rules for processing a block in the blockchain,
15/// including all blockchain data structures and the rules of the application's
16/// state transition machine.
17#[allow(clippy::derive_partial_eq_without_eq)]
18#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::schemars::JsonSchema, CosmwasmExt)]
19#[proto_message(type_url = "/tendermint.version.Consensus")]
20pub struct Consensus {
21    #[prost(uint64, tag = "1")]
22    pub block: u64,
23    #[prost(uint64, tag = "2")]
24    pub app: u64,
25}