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#[derive(Clone, PartialEq, Eq, ::prost::Message, ::schemars::JsonSchema, CosmwasmExt)]
6#[proto_message(type_url = "/tendermint.version.App")]
7pub struct App {
8    #[prost(uint64, tag = "1")]
9    pub protocol: u64,
10    #[prost(string, tag = "2")]
11    pub software: ::prost::alloc::string::String,
12}
13/// Consensus captures the consensus rules for processing a block in the blockchain,
14/// including all blockchain data structures and the rules of the application's
15/// state transition machine.
16#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::schemars::JsonSchema, CosmwasmExt)]
17#[proto_message(type_url = "/tendermint.version.Consensus")]
18pub struct Consensus {
19    #[prost(uint64, tag = "1")]
20    pub block: u64,
21    #[prost(uint64, tag = "2")]
22    pub app: u64,
23}