Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: dashangcun <jchaodaohang@foxmail.com>
  • Loading branch information
haouvw committed Jun 24, 2024
1 parent 44105c6 commit 9288ae9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/chain-connector/src/function/capacity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sol! {
function getStatus(bytes32 commitmentId) external view returns (CCStatus);

/// @dev Submits a proof for the commitment
/// @param unitId Compute unit id which provied the proof
/// @param unitId Compute unit id which provided the proof
/// @param localUnitNonce The local nonce of the unit for calculating the target hash. It's the proof
/// @param resultHash The target hash of this proof
function submitProof(bytes32 unitId, bytes32 localUnitNonce, bytes32 resultHash) external;
Expand Down
2 changes: 1 addition & 1 deletion crates/peer-metrics/src/services_metrics/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl TimestampSeries {
/// All stats of the observed entity (service/function).
#[derive(Default, Debug, Clone, Serialize)]
pub struct Stats {
/// Count of sucessful requests to the entity
/// Count of successful requests to the entity
pub success_req_count: u64,
/// Count of failed requests
pub failed_req_count: u64,
Expand Down
2 changes: 1 addition & 1 deletion crates/peer-metrics/src/vm_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl VmPoolMetrics {
let vm_mem_min = Gauge::default();
sub_registry.register(
"vm_mem_min",
"Minumum allocated memory among all interpreters (after first interpretation)",
"Minimum allocated memory among all interpreters (after first interpretation)",
vm_mem_min.clone(),
);
let vm_mem_total = Gauge::default();
Expand Down
2 changes: 1 addition & 1 deletion crates/server-config/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub(crate) struct DerivedArgs {
short('z'),
long("external-maddrs"),
id = "EXTERNAL_MULTIADDRS",
help = "external multiaddresses to advertize",
help = "external multiaddresses to advertise",
value_name = "MULTIADDR",
help_heading = "Networking",
display_order = 5,
Expand Down

0 comments on commit 9288ae9

Please sign in to comment.