Skip to content
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
4 changes: 2 additions & 2 deletions crates/crypto-utils-evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl KeyData {
})
}

/// Construct the key info from the BIP39 mnemonic using BIP44 convensions.
/// Construct the key info from the BIP39 mnemonic using BIP44 conventions.
pub fn from_mnemonic_bip44(
mnemonic: &bip39::Mnemonic,
password: &str,
Expand All @@ -99,7 +99,7 @@ impl KeyData {
.map_err(FromMnemonicBip44Error::FromMnemonicBip39)
}

/// Construct the key info from the BIP39 mnemonic phrase (in English) using BIP44 convensions.
/// Construct the key info from the BIP39 mnemonic phrase (in English) using BIP44 conventions.
/// If you need other language - use [`Self::from_mnemonic_bip44`].
pub fn from_phrase_bip44(
phrase: &str,
Expand Down
2 changes: 1 addition & 1 deletion crates/humanode-peer/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub struct FrontierBackend {
pub frontier_sql_backend_cache_size: u64,
}

/// Avalailable frontier backend types.
/// Available frontier backend types.
#[derive(Default, Debug, Copy, Clone, clap::ValueEnum)]
pub enum FrontierBackendType {
/// Either `RocksDb` or `ParityDb` as per inherited from the global backend settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<T: Config> Pallet<T> {

with_storage_layer(move || {
let (native_evm_bridge_minimum_balance, evm_native_bridge_minimum_balance) =
Self::bridges_miminum_balances();
Self::bridges_minimum_balances();

let evm_total_issuance = T::EvmCurrency::total_issuance();
let evm_bridge_balance = T::EvmCurrency::total_balance(&T::EvmNativeBridgePot::get());
Expand Down Expand Up @@ -229,7 +229,7 @@ impl<T: Config> Pallet<T> {
}

/// A helper function to calculate bridges minimum balances be proportionally equal.
fn bridges_miminum_balances() -> (NativeBalanceOf<T>, EvmBalanceOf<T>) {
fn bridges_minimum_balances() -> (NativeBalanceOf<T>, EvmBalanceOf<T>) {
let native_ed = T::NativeCurrency::minimum_balance();
let evm_ed = T::EvmCurrency::minimum_balance();

Expand Down Expand Up @@ -389,7 +389,7 @@ impl<T: Config> Pallet<T> {
/// Verify currencies balanced requirements.
pub fn is_balanced() -> Result<bool, ArithmeticError> {
let (native_evm_bridge_minimum_balance, evm_native_bridge_minimum_balance) =
Self::bridges_miminum_balances();
Self::bridges_minimum_balances();

let is_balanced_native_evm =
swap_reserved_balance::<T::AccountId, T::NativeCurrency, T::NativeEvmBridgePot>(
Expand Down
2 changes: 1 addition & 1 deletion crates/pallet-pot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub enum InitialState<Balance> {
Unchecked,
/// The account will be guaranteed to exist at genesis.
Initialized,
/// The account will be guaranteed to be initilaize with the given balance at genesis.
/// The account will be guaranteed to be initialize with the given balance at genesis.
Balance {
/// The balance to set for the account.
balance: Balance,
Expand Down
4 changes: 2 additions & 2 deletions crates/robonode-server/src/logic/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ async fn setup() -> (

trace!(message = "facetec server reset", ?res);

for public_key_to_clenaup in public_keys_to_cleanup() {
let public_key_hex = hex::encode(public_key_to_clenaup);
for public_key_to_cleanup in public_keys_to_cleanup() {
let public_key_hex = hex::encode(public_key_to_cleanup);
let res = facetec
.db_delete(ft::db_delete::Request {
group_name: DB_GROUP_NAME,
Expand Down
13 changes: 9 additions & 4 deletions typos.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
[default]
extend-ignore-identifiers-re = [".+HDNode.*"]
extend-ignore-re = ["dyn-clonable"]

[default.extend-identifiers]
# Substrate choices we can't / won't change.
"Applyable" = "Applyable"
"assert_applyable_validate_all_transaction_sources" = "assert_applyable_validate_all_transaction_sources"
"prepare_applyable_data" = "prepare_applyable_data"
# DEFLATE
"flate2" = "flate2"

[default.extend-words]
"inherents" = "inherents"

"dyn-clonable" = "dyn-clonable"

# Substrate choices we can't / won't change.
"Applyable" = "Applyable"
Loading