diff --git a/docs/architecture/adr-004-light-client-cli.md b/docs/architecture/adr-004-light-client-cli.md index a057c948d..5bdf951a8 100644 --- a/docs/architecture/adr-004-light-client-cli.md +++ b/docs/architecture/adr-004-light-client-cli.md @@ -66,7 +66,7 @@ Config includes: The configuration contains an initial list of full nodes (peers). For the sake of simplicity, one of the peers is selected as the "primary", while the rest are considered "backups". Most of the data is downloaded from the primary, -and double checked against the backups. +and double-checked against the backups. The state is considered "expired" if the difference between the current time and the time from the trusted header is greater than a configurable "trusting diff --git a/docs/architecture/adr-008-event-subscription.md b/docs/architecture/adr-008-event-subscription.md index 15dcfe5d3..b00eef2c2 100644 --- a/docs/architecture/adr-008-event-subscription.md +++ b/docs/architecture/adr-008-event-subscription.md @@ -324,7 +324,7 @@ pub enum EventType { } // A condition specifies a key (first parameter) and, depending on the -// operation, an value which is an operand of some kind. +// operation, a value which is an operand of some kind. pub enum Condition { // Equals Eq(String, Operand), diff --git a/docs/spec/lightclient/detection/README.md b/docs/spec/lightclient/detection/README.md index 244af7edc..b57fd0d54 100644 --- a/docs/spec/lightclient/detection/README.md +++ b/docs/spec/lightclient/detection/README.md @@ -59,7 +59,7 @@ on the following components. ### TODOs We decided to merge the files while there are still open points to -address to record the current state an move forward. In particular, +address to record the current state a move forward. In particular, the following points need to be addressed: - https://github.com/informalsystems/tendermint-rs/pull/479#discussion_r466504876 diff --git a/rpc/src/client/transport/auth.rs b/rpc/src/client/transport/auth.rs index 28176a561..fa957503d 100644 --- a/rpc/src/client/transport/auth.rs +++ b/rpc/src/client/transport/auth.rs @@ -1,5 +1,5 @@ //! This module defines the `Authorization` type for -//! authorizing a HTTP or WebSocket RPC client using +//! authorizing an HTTP or WebSocket RPC client using //! HTTP Basic authentication. use alloc::string::{String, ToString}; diff --git a/rpc/src/serializers/tm_hash_base64.rs b/rpc/src/serializers/tm_hash_base64.rs index b57e33c3e..e8b08c995 100644 --- a/rpc/src/serializers/tm_hash_base64.rs +++ b/rpc/src/serializers/tm_hash_base64.rs @@ -6,7 +6,7 @@ use tendermint::hash::{Algorithm::Sha256, Hash, SHA256_HASH_SIZE}; use crate::prelude::*; -/// Deserialize a base64-encoded string into an tendermint::Hash +/// Deserialize a base64-encoded string into a tendermint::Hash pub fn deserialize<'de, D>(deserializer: D) -> Result where D: Deserializer<'de>,