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

chore: fix some typos in comment #3141

Merged
merged 1 commit into from
Jan 16, 2025
Merged
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 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
Loading