Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: renshuncui <[email protected]>
  • Loading branch information
renshuncui committed Jun 21, 2024
1 parent ed576f2 commit 3484a52
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion proto/src/prost/v0_34/tendermint.abci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub struct ResponseCheckTx {
#[prost(int64, tag = "10")]
pub priority: i64,
/// mempool_error is set by CometBFT.
/// ABCI applictions creating a ResponseCheckTX should not set mempool_error.
/// ABCI applications creating a ResponseCheckTX should not set mempool_error.
#[prost(string, tag = "11")]
pub mempool_error: ::prost::alloc::string::String,
}
Expand Down
2 changes: 1 addition & 1 deletion proto/src/prost/v0_37/tendermint.abci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ pub struct ResponseCheckTx {
#[prost(int64, tag = "10")]
pub priority: i64,
/// mempool_error is set by CometBFT.
/// ABCI applictions creating a ResponseCheckTX should not set mempool_error.
/// ABCI applications creating a ResponseCheckTX should not set mempool_error.
#[prost(string, tag = "11")]
pub mempool_error: ::prost::alloc::string::String,
}
Expand Down
2 changes: 1 addition & 1 deletion proto/src/prost/v0_38/tendermint.abci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ pub struct ResponseFinalizeBlock {
#[prost(message, repeated, tag = "1")]
pub events: ::prost::alloc::vec::Vec<Event>,
/// the result of executing each transaction including the events
/// the particular transction emitted. This should match the order
/// the particular transaction emitted. This should match the order
/// of the transactions delivered in the block itself
#[prost(message, repeated, tag = "2")]
pub tx_results: ::prost::alloc::vec::Vec<ExecTxResult>,
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/client/transport/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Builder {
self
}

/// Use the specfied low-level WebSocket configuration options.
/// Use the specified low-level WebSocket configuration options.
pub fn config(mut self, config: WebSocketConfig) -> Self {
self.transport_config = Some(config);
self
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/dialect/check_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub struct CheckTx<Ev> {
#[serde(with = "serializers::from_str")]
pub priority: i64,
/// mempool_error is set by Tendermint.
/// ABCI applictions should not set mempool_error.
/// ABCI applications should not set mempool_error.
pub mempool_error: String,
}

Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/abci/response/finalize_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct FinalizeBlock {
#[serde(default)]
pub events: Vec<Event>,
/// The result of executing each transaction including the events
/// the particular transction emitted. This should match the order
/// the particular transaction emitted. This should match the order
/// of the transactions delivered in the block itself
#[serde(default)]
pub tx_results: Vec<ExecTxResult>,
Expand Down

0 comments on commit 3484a52

Please sign in to comment.