Skip to content

Commit

Permalink
chore: remove repetitive words (#1418)
Browse files Browse the repository at this point in the history
Signed-off-by: MarkDaveny <[email protected]>
  • Loading branch information
MarkDaveny authored May 29, 2024
1 parent c00441f commit 9331d5c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion abci/src/application/kvstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ enum Command {
key: String,
result_tx: Sender<(i64, Option<String>)>,
},
/// Set the value of `key` to to `value`.
/// Set the value of `key` to `value`.
Set {
key: String,
value: String,
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/lightclient/verification/Lightclient_A_1.tla
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ LCInit ==
/\ fetchedLightBlocks = [h \in {TRUSTED_HEIGHT} |-> trustedLightBlock]
\* initially, lightBlockStatus is a function of one element, i.e., TRUSTED_HEIGHT
/\ lightBlockStatus = [h \in {TRUSTED_HEIGHT} |-> "StateVerified"]
\* the latest verified block the the trusted block
\* the latest verified block the trusted block
/\ latestVerified = trustedLightBlock

\* block should contain a copy of the block from the reference chain, with a matching commit
Expand Down
2 changes: 1 addition & 1 deletion light-client-verifier/src/operations/commit_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub trait CommitValidator: Send + Sync {
) -> Result<(), VerificationError> {
let signatures = &signed_header.commit.signatures;

// Check the the commit contains at least one non-absent signature.
// Check the commit contains at least one non-absent signature.
// See https://github.com/informalsystems/tendermint-rs/issues/650
let has_present_signatures = signatures.iter().any(|cs| !cs.is_absent());
if !has_present_signatures {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ LCInit ==
/\ fetchedLightBlocks = [h \in {TRUSTED_HEIGHT} |-> trustedLightBlock]
\* initially, lightBlockStatus is a function of one element, i.e., TRUSTED_HEIGHT
/\ lightBlockStatus = [h \in {TRUSTED_HEIGHT} |-> "StateVerified"]
\* the latest verified block the the trusted block
\* the latest verified block the trusted block
/\ latestVerified = trustedLightBlock
/\ InitMonitor(trustedLightBlock, trustedLightBlock, now, "SUCCESS")

Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/block/signed_header.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! SignedHeader contains commit and and block header.
//! SignedHeader contains commit and block header.
//! It is what the rpc endpoint /commit returns and hence can be used by a
//! light client.

Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ mod tests {
]
) {
// ser/de of rfc3339 timestamps is safe if it never panics.
// This differs from the the inverse test in that we are testing on
// This differs from the inverse test in that we are testing on
// arbitrarily generated textual timestamps, rather than times in a
// range. Tho we do incidentally test the inversion as well.
let time: Time = stamp.parse().unwrap();
Expand Down

0 comments on commit 9331d5c

Please sign in to comment.