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

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 offchain/advance-runner/tests/host_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async fn advance_runner_finishes_epoch_when_the_previous_epoch_has_inputs() {
assert_eq!(claims.len(), 0);
}

/// Send an input, an finish epoch, and another input.
/// Send an input, a finish epoch, and another input.
/// After the second input is processed by the server-manager we know
/// for sure that the advance_runner finished processing the finish epoch.
/// We can't simply wait for the epoch to be finished because the advance_runner
Expand Down
2 changes: 1 addition & 1 deletion offchain/advance-runner/tests/server_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async fn test_advance_runner_finishes_epoch_when_it_has_no_inputs() {
assert_eq!(claims.len(), 0);
}

/// Send an input, an finish epoch, and another input.
/// Send an input, a finish epoch, and another input.
/// After the second input is processed by the server-manager we know
/// for sure that the advance_runner finished processing the finish epoch.
/// We can't simply wait for the epoch to be finished because the advance_runner
Expand Down
2 changes: 1 addition & 1 deletion offchain/http-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use std::{
sync::{Arc, Mutex},
};

/// Starts a HTTP server with two endpoints: /healthz and /metrics.
/// Starts an HTTP server with two endpoints: /healthz and /metrics.
///
/// The `Registry` parameter is a `prometheus` type used for metric tracking.
pub async fn start(
Expand Down
2 changes: 1 addition & 1 deletion offchain/inspect-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl From<InspectStateResponse> for HttpInspectResponse {
}

fn convert_status(status: i32) -> String {
// Unfortunaly, the gRPC interface uses i32 instead of a Enum type,
// Unfortunaly, the gRPC interface uses i32 instead of an Enum type,
// so it is clearer to use if-else instead of match.
if status == CompletionStatus::Accepted as i32 {
String::from("Accepted")
Expand Down
2 changes: 1 addition & 1 deletion offchain/rollups-events/src/rollups_inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub enum RollupsData {
/// Input that advances the Cartesi Rollups epoch
AdvanceStateInput(RollupsAdvanceStateInput),

/// End of an Cartesi Rollups epoch
/// End of a Cartesi Rollups epoch
FinishEpoch {},
}

Expand Down