Skip to content

Commit

Permalink
chore: fix some typos in comment (#3141)
Browse files Browse the repository at this point in the history
## Motivation


 fix some typos in comment
<!--
Briefly describe the goal(s) of this PR.
-->

## Proposal

<!--
Summarize the proposed changes and how they address the goal(s) stated
above.
-->

## Test Plan

<!--
Explain how you made sure that the changes are correct and that they
perform as intended.

Please describe testing protocols (CI, manual tests, benchmarks, etc) in
a way that others
can reproduce the results.
-->

## Release Plan

<!--
If this PR targets the `main` branch, **keep the applicable lines** to
indicate if you
recommend the changes to be picked in release branches, SDKs, and
hotfixes.

This generally concerns only bug fixes.

Note that altering the public protocol (e.g. transaction format, WASM
syscalls) or storage
formats requires a new deployment.
-->
- Nothing to do / These changes follow the usual release cycle.
- These changes should be backported to the latest `devnet` branch, then
    - be released in a new SDK,
    - be released in a validator hotfix.
- These changes should be backported to the latest `testnet` branch,
then
    - be released in a new SDK,
    - be released in a validator hotfix.
- Backporting is not possible but we may want to deploy a new `devnet`
and release a new
      SDK soon.

## Links

<!--
Optional section for related PRs, related issues, and other references.

If needed, please create issues to track future improvements and link
them here.
-->
- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)

Signed-off-by: pinglanlu <pinglanlu@outlook.com>
  • Loading branch information
pinglanlu authored Jan 16, 2025
1 parent bdd63a9 commit 8e09970
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion linera-client/src/unit_tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use rand::SeedableRng as _;
use super::util::make_genesis_config;
use crate::{client_context::ClientContext, config::WalletState, wallet::Wallet};

/// Tests wether we can correctly save a wallet that contains pending blobs.
/// Tests whether we can correctly save a wallet that contains pending blobs.
#[test_log::test(tokio::test)]
async fn test_save_wallet_with_pending_blobs() -> anyhow::Result<()> {
let mut rng = rand::rngs::StdRng::seed_from_u64(42);
Expand Down
2 changes: 1 addition & 1 deletion linera-core/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ pub enum NodeError {
#[error("We don't have the value for the certificate.")]
MissingCertificateValue,

#[error("Reponse doesn't contain requested ceritifcates: {0:?}")]
#[error("Response doesn't contain requested ceritifcates: {0:?}")]
MissingCertificates(Vec<CryptoHash>),

#[error("Validator's response to block proposal failed to include a vote")]
Expand Down
2 changes: 1 addition & 1 deletion linera-rpc/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl RpcMessage {
Some(chain_id)
}

/// Wether this messsage is "local" i.e. will be executed locally on the proxy
/// Whether this message is "local" i.e. will be executed locally on the proxy
/// or if it'll be proxied to the server.
pub fn is_local_message(&self) -> bool {
use RpcMessage::*;
Expand Down
2 changes: 1 addition & 1 deletion linera-service/benches/transfers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use linera_execution::system::Recipient;
use linera_sdk::test::{ActiveChain, TestValidator};
use tokio::runtime::Runtime;

/// Benchmarks several transactions transfering tokens across chains.
/// Benchmarks several transactions transferring tokens across chains.
fn cross_chain_native_token_transfers(criterion: &mut Criterion) {
let chain_count = 100;
let accounts_per_chain = 1;
Expand Down

1 comment on commit 8e09970

@Vishtal87
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

очень интересно но ничего не понятно

Please sign in to comment.