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 #12671

Merged
merged 1 commit into from
Dec 28, 2024
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 core/store/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub(super) struct DbMetadata {

impl DbMetadata {
/// Reads metadata from the database. This method enforces the invariant
/// that version and kind must alwasy be set.
/// that version and kind must always be set.
///
/// If the database version is not present, returns an error. Similarly, if
/// database version is ≥ [`DB_VERSION_WITH_KIND`] but the kind is not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This approach has the following benefits:

The main drawbacks of synthetic benchmarks are:

- Drawing conclusions is limited as real world traffic is not homogenous.
- Drawing conclusions is limited as real world traffic is not homogeneous.
- Calibrating traffic generation parameters can be cumbersome.

The tooling for synthetic benchmarks is available in [`benchmarks/bm-synth`](../../../benchmarks/bm-synth).
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/test_loop/utils/trie_sanity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl TrieSanityCheck {
check_shard_uids
}

// Check trie sanity and keep track of which shards were succesfully fully checked
// Check trie sanity and keep track of which shards were successfully fully checked
pub fn assert_state_sanity(&mut self, clients: &[&Client], new_num_shards: NumShards) {
for client in clients {
let signer = client.validator_signer.get();
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/tests/runtime/test_yield_resume.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn resume_without_yield() {
)
.unwrap();

// expect the execution to suceed, but return 'false'
// expect the execution to succeed, but return 'false'
assert_eq!(
res.status,
FinalExecutionStatus::SuccessValue(vec![0u8]),
Expand Down
2 changes: 1 addition & 1 deletion pytest/tests/replay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Prerequisites:

In order to set up and launch replay, we take the following steps:

Make sure you have the right enviroment variables:
Make sure you have the right environment variables:
```shell
export PYTHONPATH=./pytest/lib
```
Expand Down
2 changes: 1 addition & 1 deletion pytest/tests/sanity/split_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def step2_archival_node_sync_test(self):
logger.info(f"Starting the archival <- split storage sync test")

# Archival nodes do not run state sync. This means that if peers
# ran away further than epoch_lenght * gc_epoch_num, archival nodes
# ran away further than epoch_length * gc_epoch_num, archival nodes
# will not be able to further sync. In practice it means we need a long
# enough epoch_length or more gc_epoch_num to keep.
epoch_length = 10
Expand Down
Loading