diff --git a/crates/phactory/api/proto/pruntime_rpc.proto b/crates/phactory/api/proto/pruntime_rpc.proto index 45b260d53..b41e2cca4 100644 --- a/crates/phactory/api/proto/pruntime_rpc.proto +++ b/crates/phactory/api/proto/pruntime_rpc.proto @@ -119,7 +119,7 @@ service PhactoryAPI { rpc TakeCheckpoint (google.protobuf.Empty) returns (SyncedTo) {} // Get networks statistics for contracts - rpc Statistics (StatisticsReqeust) returns (StatisticsResponse) {} + rpc Statistics (StatisticsRequest) returns (StatisticsResponse) {} //Generate a request to send to another worker in the same cluster to get the cluster state. rpc GenerateClusterStateRequest (google.protobuf.Empty) returns (SaveClusterStateArguments) {} @@ -687,7 +687,7 @@ message StorageProof { } // Used to specify the contracts addresses for which statistics should be returned. -message StatisticsReqeust { +message StatisticsRequest { // A list of contract addresses that to be queried. repeated string contracts = 1; // Query for all contracts. diff --git a/crates/phala-sanitized-logger/src/test.rs b/crates/phala-sanitized-logger/src/test.rs index b218e75fb..916acf5f5 100644 --- a/crates/phala-sanitized-logger/src/test.rs +++ b/crates/phala-sanitized-logger/src/test.rs @@ -62,7 +62,7 @@ rusty_fork_test! { } #[test] - fn show_log_via_tracing_subsriber() { + fn show_log_via_tracing_subscriber() { use log::info; std::env::set_var("RUST_LOG_SANITIZED", "1");