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

tests: fix typos #1072

Merged
merged 1 commit into from
Jan 2, 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 tests/integration/src/unified_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn transfer_to_h160_via_lookup() {
UNIT,
));

// evm account should have recieved the funds
// evm account should have received the funds
let (account, _) = EVM::account_basic(&eth_address);
assert_eq!(account.balance, (UNIT - ExistentialDeposit::get()).into());
});
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/src/xvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ fn calling_wasm_payable_from_evm_works() {
None,
vec![],
));
let recieved = Balances::free_balance(&wasm_payable_callee_addr) - prev_wasm_payable_balance;
assert_eq!(recieved, value);
let received = Balances::free_balance(&wasm_payable_callee_addr) - prev_wasm_payable_balance;
assert_eq!(received, value);
});
}

Expand Down
2 changes: 1 addition & 1 deletion tests/xcm-simulator/src/mocks/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl pallet_insecure_randomness_collective_flip::Config for Runtime {}
/// Constant values used within the runtime.
pub const MICROSDN: Balance = 1_000_000_000_000;
pub const MILLISDN: Balance = 1_000 * MICROSDN;
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// We assume that ~10% of the block weight is consumed by `on_initialize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.
const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10);
/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used
Expand Down
Loading