nibiru_std/proto/buf/
cosmos.base.store.v1beta1.rs

1// @generated
2/// CommitInfo defines commit information used by the multi-store when committing
3/// a version/height.
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct CommitInfo {
7    #[prost(int64, tag="1")]
8    pub version: i64,
9    #[prost(message, repeated, tag="2")]
10    pub store_infos: ::prost::alloc::vec::Vec<StoreInfo>,
11    #[prost(message, optional, tag="3")]
12    pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
13}
14/// StoreInfo defines store-specific commit information. It contains a reference
15/// between a store name and the commit ID.
16#[allow(clippy::derive_partial_eq_without_eq)]
17#[derive(Clone, PartialEq, ::prost::Message)]
18pub struct StoreInfo {
19    #[prost(string, tag="1")]
20    pub name: ::prost::alloc::string::String,
21    #[prost(message, optional, tag="2")]
22    pub commit_id: ::core::option::Option<CommitId>,
23}
24/// CommitID defines the commitment information when a specific store is
25/// committed.
26#[allow(clippy::derive_partial_eq_without_eq)]
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct CommitId {
29    #[prost(int64, tag="1")]
30    pub version: i64,
31    #[prost(bytes="bytes", tag="2")]
32    pub hash: ::prost::bytes::Bytes,
33}
34/// StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes)
35/// It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and
36/// Deletes
37///
38/// Since: cosmos-sdk 0.43
39#[allow(clippy::derive_partial_eq_without_eq)]
40#[derive(Clone, PartialEq, ::prost::Message)]
41pub struct StoreKvPair {
42    /// the store key for the KVStore this pair originates from
43    #[prost(string, tag="1")]
44    pub store_key: ::prost::alloc::string::String,
45    /// true indicates a delete operation, false indicates a set operation
46    #[prost(bool, tag="2")]
47    pub delete: bool,
48    #[prost(bytes="bytes", tag="3")]
49    pub key: ::prost::bytes::Bytes,
50    #[prost(bytes="bytes", tag="4")]
51    pub value: ::prost::bytes::Bytes,
52}
53/// BlockMetadata contains all the abci event data of a block
54/// the file streamer dump them into files together with the state changes.
55#[allow(clippy::derive_partial_eq_without_eq)]
56#[derive(Clone, PartialEq, ::prost::Message)]
57pub struct BlockMetadata {
58    #[prost(message, optional, tag="1")]
59    pub request_begin_block: ::core::option::Option<crate::proto::tendermint::abci::RequestBeginBlock>,
60    #[prost(message, optional, tag="2")]
61    pub response_begin_block: ::core::option::Option<crate::proto::tendermint::abci::ResponseBeginBlock>,
62    #[prost(message, repeated, tag="3")]
63    pub deliver_txs: ::prost::alloc::vec::Vec<block_metadata::DeliverTx>,
64    #[prost(message, optional, tag="4")]
65    pub request_end_block: ::core::option::Option<crate::proto::tendermint::abci::RequestEndBlock>,
66    #[prost(message, optional, tag="5")]
67    pub response_end_block: ::core::option::Option<crate::proto::tendermint::abci::ResponseEndBlock>,
68    #[prost(message, optional, tag="6")]
69    pub response_commit: ::core::option::Option<crate::proto::tendermint::abci::ResponseCommit>,
70}
71/// Nested message and enum types in `BlockMetadata`.
72pub mod block_metadata {
73    /// DeliverTx encapulate deliver tx request and response.
74    #[allow(clippy::derive_partial_eq_without_eq)]
75#[derive(Clone, PartialEq, ::prost::Message)]
76    pub struct DeliverTx {
77        #[prost(message, optional, tag="1")]
78        pub request: ::core::option::Option<crate::proto::tendermint::abci::RequestDeliverTx>,
79        #[prost(message, optional, tag="2")]
80        pub response: ::core::option::Option<crate::proto::tendermint::abci::ResponseDeliverTx>,
81    }
82}
83// @@protoc_insertion_point(module)