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 typos #1214

Open
wants to merge 1 commit 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs
Expand Up @@ -45,7 +45,7 @@ mod benchmarks {
let instruction = Instruction::<XcmCallOf<T>>::BuyExecution {
fees: (fee_asset, u128::MAX).into(), // should be something inside of holding
// this should not be Unlimited, as xcm-executor will skip buying the
// exceution altogether.
// execution altogether.
weight_limit: WeightLimit::Limited(Weight::from_parts(1u64, 1024)),
};

Expand Down
2 changes: 1 addition & 1 deletion precompiles/utils/src/evm/handle.rs
Expand Up @@ -29,7 +29,7 @@ use fp_evm::{Log, PrecompileHandle};

pub trait PrecompileHandleExt: PrecompileHandle {
/// Record cost of one DB read manually.
/// The max encoded lenght of the data that will be read should be provided.
/// The max encoded length of the data that will be read should be provided.
fn record_db_read<Runtime: pallet_evm::Config>(
&mut self,
data_max_encoded_len: usize,
Expand Down
2 changes: 1 addition & 1 deletion primitives/src/migrations/contract_v12_fix.rs
Expand Up @@ -76,7 +76,7 @@ pub struct Migration<T: Config> {
}

/// Logic as follows,
/// Since we need to modifiy `CodeInfoOf` mapping we cannot use `iter()` or `drain()` on it as
/// Since we need to modify `CodeInfoOf` mapping we cannot use `iter()` or `drain()` on it as
/// that will be undefined behaviour, so we are iterating over keys of `PristineCode` mappings
/// which are code hashes.
///
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/src/unified_accounts.rs
Expand Up @@ -31,7 +31,7 @@ fn transfer_to_h160_via_lookup() {
// make sure account is empty
assert!(EVM::is_account_empty(&eth_address));

// tranfer to evm account
// transfer to evm account
assert_ok!(Balances::transfer(
RuntimeOrigin::signed(ALICE),
MultiAddress::Address20(eth_address.clone().into()),
Expand Down