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: multiple typos of different importance #12662

Merged
merged 6 commits into from
Jan 13, 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 .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ignore = [
# parking_lot depends on it.
"RUSTSEC-2024-0384",

# The derivative package is unmainained, but hard to replace right now
# The derivative package is unmaintained, but hard to replace right now
# because ark-poly depends on it.
"RUSTSEC-2024-0388"
]
2 changes: 1 addition & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ slow-timeout = { period = "30m", terminate-after = 2, grace-period = "1s" }
[profile.ci]
slow-timeout = { period = "5s", terminate-after = 5, grace-period = "1s" }
default-filter = "not test(/^(.*::ultra_slow_test|ultra_slow_test)/)"
# Try a few times before failing the whole test suite on a potentially spurious tests.
# Try a few times before failing the whole test suite on potentially spurious tests.
# The hope is that people will fix the spurious tests as they encounter them locally...
retries = { backoff = "fixed", count = 3, delay = "1s" }
failure-output = "final"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ create table ft_transfers (
-- Size of the synthetic state at the beginning of the run in bytes.
size_state_bytes integer not null,

-- Bencmark results.
-- Benchmark results.

-- FT transfer transactions per second aggregated over the run of the
-- benchmark.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/synth-bm/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub async fn create_sub_accounts(args: &CreateSubAccountsArgs) -> anyhow::Result
// Await permit before sending the request to make channel buffer size a limit for the
// number of outstanding requests.
let permit = channel_tx.clone().reserve_owned().await.unwrap();
// The spawned task starts running immediately. Assume with interval between spanning them
// The spawned task starts running immediately. Assume an interval between spanning them
// this leads to transaction nonces hitting the node in order.
tokio::spawn(async move {
let res = client.call(request).await;
Expand Down
4 changes: 2 additions & 2 deletions chain/chain/src/stateless_validation/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub static CHUNK_STATE_WITNESS_ENCODE_TIME: LazyLock<HistogramVec> = LazyLock::n
pub static PROCESS_CONTRACT_CODE_REQUEST_TIME: LazyLock<HistogramVec> = LazyLock::new(|| {
try_create_histogram_vec(
"near_process_contract_code_request_time",
"Total time taken to process contract code reuqest from a chunk validator",
"Total time taken to process contract code request from a chunk validator",
&["shard_id"],
Some(exponential_buckets(0.001, 2.0, 10).unwrap()),
)
Expand All @@ -73,7 +73,7 @@ pub static SHADOW_CHUNK_VALIDATION_FAILED_TOTAL: LazyLock<IntCounter> = LazyLock
pub static CHUNK_WITNESS_VALIDATION_FAILED_TOTAL: LazyLock<IntCounterVec> = LazyLock::new(|| {
try_create_int_counter_vec(
"near_chunk_witness_validation_failed_total",
"Witnesss validation failure count",
"Witness validation failure count",
&["shard_id", "error"],
)
.unwrap()
Expand Down
Loading