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: typos in documentation files #2371

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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/api/service/system/impl/system_api_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace kagome::api {

/**
* The nonce which should be used for the next extrinsic from \arg
* account_adderss
* account_address
*/
outcome::result<primitives::AccountNonce> getNonceFor(
std::string_view account_address) const override;
Expand Down
2 changes: 1 addition & 1 deletion core/parachain/pvf/secure_mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace kagome::parachain {
return e.message();
}

/// Changes the filessystem root directory for the current process to
/// Changes the filesystem root directory for the current process to
/// worker_dir
SecureModeOutcome<void> changeRoot(const std::filesystem::path &worker_dir);
/// Prohibits network-related system calls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1724,11 +1724,11 @@ namespace kagome::parachain::statement_distribution {
}
}

void StatementDistribution::request_hypotetical_membership(
void StatementDistribution::request_hypothetical_membership(
std::vector<HypotheticalCandidate> hypotheticals,
std::optional<Hash> active_leaf) {
REINVOKE(*main_pool_handler,
request_hypotetical_membership,
request_hypothetical_membership,
std::move(hypotheticals),
active_leaf);

Expand Down Expand Up @@ -1758,7 +1758,7 @@ namespace kagome::parachain::statement_distribution {
auto active_leaf =
utils::map(active_leaf_hash,
[](const auto &ref_hash) -> Hash { return ref_hash.get(); });
request_hypotetical_membership(std::move(hypotheticals), active_leaf);
request_hypothetical_membership(std::move(hypotheticals), active_leaf);
}

void StatementDistribution::provide_candidate_to_grid(
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/transaction_validity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace kagome::primitives {
* @brief Provided tags
* A list of tags this transaction provides. Successful transaction import
* will enable other transactions that depend on (require) those tags to be
* included as well. Provided and requried tags allow Substrate to build a
* included as well. Provided and required tags allow Substrate to build a
* dependency graph of transactions and import them in the right (linear)
* order.
*/
Expand Down