Skip to content

Commit

Permalink
Revert "Proto update (#528)"
Browse files Browse the repository at this point in the history
This reverts commit ade302b.
  • Loading branch information
greg-szabo committed Aug 25, 2020
1 parent ade302b commit a639760
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
4 changes: 0 additions & 4 deletions proto/src/prost/tendermint.abci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ 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 @@ -250,8 +248,6 @@ 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: 0 additions & 6 deletions proto/src/prost/tendermint.privval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ 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 @@ -24,8 +22,6 @@ 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 @@ -40,8 +36,6 @@ 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: 0 additions & 2 deletions proto/src/prost/tendermint.state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ 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: 0 additions & 6 deletions proto/src/prost/tendermint.types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ 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 @@ -311,8 +309,6 @@ 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 @@ -336,8 +332,6 @@ 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

0 comments on commit a639760

Please sign in to comment.