Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proto update #528

Merged
merged 1 commit into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions proto/src/prost/tendermint.abci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ pub struct RequestInitChain {
pub validators: ::std::vec::Vec<ValidatorUpdate>,
#[prost(bytes, tag="5")]
pub app_state_bytes: std::vec::Vec<u8>,
#[prost(int64, tag="6")]
pub initial_height: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestQuery {
Expand Down Expand Up @@ -248,6 +250,8 @@ pub struct ResponseInitChain {
pub consensus_params: ::std::option::Option<ConsensusParams>,
#[prost(message, repeated, tag="2")]
pub validators: ::std::vec::Vec<ValidatorUpdate>,
#[prost(bytes, tag="3")]
pub app_hash: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponseQuery {
Expand Down
6 changes: 6 additions & 0 deletions proto/src/prost/tendermint.privval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub struct RemoteSignerError {
/// PubKeyRequest requests the consensus public key from the remote signer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PubKeyRequest {
#[prost(string, tag="1")]
pub chain_id: std::string::String,
}
/// PubKeyResponse is a response message containing the public key.
#[derive(Clone, PartialEq, ::prost::Message)]
Expand All @@ -22,6 +24,8 @@ pub struct PubKeyResponse {
pub struct SignVoteRequest {
#[prost(message, optional, tag="1")]
pub vote: ::std::option::Option<super::types::Vote>,
#[prost(string, tag="2")]
pub chain_id: std::string::String,
}
/// SignedVoteResponse is a response containing a signed vote or an error
#[derive(Clone, PartialEq, ::prost::Message)]
Expand All @@ -36,6 +40,8 @@ pub struct SignedVoteResponse {
pub struct SignProposalRequest {
#[prost(message, optional, tag="1")]
pub proposal: ::std::option::Option<super::types::Proposal>,
#[prost(string, tag="2")]
pub chain_id: std::string::String,
}
/// SignedProposalResponse is response containing a signed proposal or an error
#[derive(Clone, PartialEq, ::prost::Message)]
Expand Down
2 changes: 2 additions & 0 deletions proto/src/prost/tendermint.state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ pub struct State {
/// immutable
#[prost(string, tag="2")]
pub chain_id: std::string::String,
#[prost(int64, tag="14")]
pub initial_height: i64,
/// LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)
#[prost(int64, tag="3")]
pub last_block_height: i64,
Expand Down
6 changes: 6 additions & 0 deletions proto/src/prost/tendermint.types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ pub struct DuplicateVoteEvidence {
pub vote_a: ::std::option::Option<Vote>,
#[prost(message, optional, tag="2")]
pub vote_b: ::std::option::Option<Vote>,
#[prost(message, optional, tag="3")]
pub timestamp: ::std::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PotentialAmnesiaEvidence {
Expand All @@ -309,6 +311,8 @@ pub struct PotentialAmnesiaEvidence {
pub vote_b: ::std::option::Option<Vote>,
#[prost(int64, tag="3")]
pub height_stamp: i64,
#[prost(message, optional, tag="4")]
pub timestamp: ::std::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AmnesiaEvidence {
Expand All @@ -332,6 +336,8 @@ pub struct LunaticValidatorEvidence {
pub vote: ::std::option::Option<Vote>,
#[prost(string, tag="3")]
pub invalid_header_field: std::string::String,
#[prost(message, optional, tag="4")]
pub timestamp: ::std::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Evidence {
Expand Down