Skip to content

Commit

Permalink
tests: fix typos (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 authored Jan 2, 2024
1 parent 2fd4460 commit 9d074b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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 @@ -313,8 +313,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

0 comments on commit 9d074b3

Please sign in to comment.