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

Fix typos in documentation #1484

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion docs/architecture/adr-004-light-client-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/adr-008-event-subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/lightclient/detection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/client/transport/auth.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/serializers/tm_hash_base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Hash, D::Error>
where
D: Deserializer<'de>,
Expand Down