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 #4286

Open
wants to merge 5 commits into
base: master
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 crates/relayer-cli/src/conclude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl Output {
Output::with_success().with_result(result)
}

/// Quick-access constructor for an output message signalling a error `status`.
/// Quick-access constructor for an output message signalling an error `status`.
pub fn error(msg: impl ToString) -> Self {
Output::with_error().with_msg(msg)
}
Expand Down
6 changes: 3 additions & 3 deletions tools/integration-test/src/tests/client_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl BinaryChainTest for ClientUpgradeTest {
MonoTagged::new(Denom::base(config.native_token(0)));
let foreign_clients = chains.clone().foreign_clients;

// Create and send an chain upgrade proposal
// Create and send a chain upgrade proposal
let opts = create_upgrade_plan(config, &chains, &upgraded_chain_id)?;

build_and_send_ibc_upgrade_proposal(
Expand Down Expand Up @@ -245,7 +245,7 @@ impl BinaryChainTest for HeightTooHighClientUpgradeTest {
MonoTagged::new(Denom::base(config.native_token(0)));
let foreign_clients = chains.clone().foreign_clients;

// Create and send an chain upgrade proposal
// Create and send a chain upgrade proposal
let opts = create_upgrade_plan(config, &chains, &upgraded_chain_id)?;

build_and_send_ibc_upgrade_proposal(
Expand Down Expand Up @@ -439,7 +439,7 @@ fn create_upgrade_plan<ChainA: ChainHandle, ChainB: ChainHandle>(
let src_client_id = foreign_clients.client_id_b().0.clone();

let gov_account = chains.node_a.chain_driver().query_auth_module("gov")?;
// Create and send an chain upgrade proposal
// Create and send a chain upgrade proposal
Ok(UpgradePlanOptions {
src_client_id,
amount: MIN_DEPOSIT,
Expand Down
2 changes: 1 addition & 1 deletion tools/test-framework/src/docs/walkthroughs/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//! completed handshakes.
//!
//! Note that the `run_binary_channel_test` (and indeed every `run_*` test function) takes as
//! its single parameter an struct that represents the test case. While in this case, the struct
//! its single parameter a struct that represents the test case. While in this case, the struct
//! is empty, fields can be added to the struct in the case that you want to run multiple tests
//! using it. See `tools/test-framework/src/docs/walkthroughs/memo.rs` as an example
//! of a test that utilizes a non-empty struct as input. In order to customize the behavior
Expand Down
2 changes: 1 addition & 1 deletion tools/test-framework/src/types/tagged/dual.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl<TagA, TagB, Value> Tagged<TagA, TagB, Option<Value>> {

impl<TagA, TagB, Value, E> Tagged<TagA, TagB, Result<Value, E>> {
/**
Convert a tagged [`Result`] value into an result tagged value.
Convert a tagged [`Result`] value into a result tagged value.

Example:

Expand Down
2 changes: 1 addition & 1 deletion tools/test-framework/src/types/tagged/mono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl<Tag, Value> Tagged<Tag, Option<Value>> {

impl<Tag, Value, E> Tagged<Tag, Result<Value, E>> {
/**
Convert a tagged [`Result`] value into an result tagged value.
Convert a tagged [`Result`] value into a result tagged value.

Example:

Expand Down