Skip to content
Prev Previous commit
Next Next commit
spellcheck
  • Loading branch information
ascjones committed Feb 3, 2023
commit f0d9629e08b89ce85ce6a5781aed6a9d9755bb0f
2 changes: 1 addition & 1 deletion crates/e2e/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use syn::Result;
///
/// - A Substrate node with `pallet-contracts` installed on the local system.
/// You can e.g. use [`substrate-contracts-node`](https://github.com/paritytech/substrate-contracts-node)
/// and install it on your PATH, or provide a path to an executable using the CONTRACTS_NODE
/// and install it on your PATH, or provide a path to an executable using the `CONTRACTS_NODE`
/// environment variable.
///
/// Before the test function is invoked the contract will have been build. Any errors
Expand Down
2 changes: 1 addition & 1 deletion crates/e2e/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ where
E::Balance: Debug + scale::HasCompact + serde::Serialize,
E::Hash: Debug + scale::Encode,
{
/// Creates a new [`Client`] instance using a subxt client.
/// Creates a new [`Client`] instance using a `subxt` client.
pub async fn new(
client: subxt::OnlineClient<C>,
contracts: impl IntoIterator<Item = &str>,
Expand Down
4 changes: 2 additions & 2 deletions crates/e2e/src/node_proc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ where
Ok(())
}

/// Returns the subxt client connected to the running node.
/// Returns the `subxt` client connected to the running node.
pub fn client(&self) -> OnlineClient<R> {
self.client.clone()
}
Expand Down Expand Up @@ -136,7 +136,7 @@ impl TestNodeProcessBuilder {
let ws_port = find_substrate_port_from_output(stderr);
let ws_url = format!("ws://127.0.0.1:{ws_port}");

// Connect to the node with a subxt client:
// Connect to the node with a `subxt` client:
let client = OnlineClient::from_url(ws_url.clone()).await;
match client {
Ok(client) => {
Expand Down