diff --git a/README.md b/README.md index 998edd0bb..5c9339830 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ This is the mono-repo for Manta/Calamari nodes. ```bash cargo run -- --chain=calamari-localdev --alice --tmp ``` -> Tip: The chain only produces blocks when you submit extrinsics +> Tip: The chain only produces blocks when you submit extrinsic ## Semantic Versioning Manta/Calamari's version number: diff --git a/runtime/calamari/src/diff_tx_fees.rs b/runtime/calamari/src/diff_tx_fees.rs index f3ea710c7..8dde5269b 100644 --- a/runtime/calamari/src/diff_tx_fees.rs +++ b/runtime/calamari/src/diff_tx_fees.rs @@ -930,7 +930,7 @@ fn calculate_all_current_extrinsic_tx_fee() -> ( } // orml_xtokens - // cannot run this part out side of mock runtime. + // cannot run this part outside of mock runtime. t.execute_with(|| { assert_eq!( crate::RuntimeCall::get_call_names("XTokens").len(), diff --git a/runtime/calamari/src/fee.rs b/runtime/calamari/src/fee.rs index 6279711f4..37f370d62 100644 --- a/runtime/calamari/src/fee.rs +++ b/runtime/calamari/src/fee.rs @@ -71,7 +71,7 @@ mod multiplier_tests { (target_daily_congestion_cost_usd as f32 / kma_price * KMA as f32) as u128; // assume the multiplier is initially set to its minimum and that each block - // will be full with a single user extrinsic, which will minimize then length and base fees + // will be full with a single user extrinsic, which will minimize the length and base fees let mut multiplier = MinimumMultiplier::get(); let block_weight = BlockWeights::get() .get(DispatchClass::Normal) diff --git a/runtime/calamari/src/migrations/asset_id.rs b/runtime/calamari/src/migrations/asset_id.rs index c87dacf9a..11e0b2337 100644 --- a/runtime/calamari/src/migrations/asset_id.rs +++ b/runtime/calamari/src/migrations/asset_id.rs @@ -281,7 +281,7 @@ where StorageVersion::new(INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1) .put::>(); - log::info!(target: "asset-manager", "✅ Storage migration for AssetManager has been executed successfully and storage version has been update to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); + log::info!(target: "asset-manager", "✅ Storage migration for AssetManager has been executed successfully and storage version has been updated to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); log::info!(target: "assets", "Starting migration for pallet-assets..."); @@ -362,7 +362,7 @@ where StorageVersion::new(INITIAL_PALLET_ASSETS_VERSION + 1).put::>(); - log::info!(target: "assets", "✅ Storage migration for Assets has been executed successfully and storage version has been update to: {:?}.", INITIAL_PALLET_ASSETS_VERSION + 1); + log::info!(target: "assets", "✅ Storage migration for Assets has been executed successfully and storage version has been updated to: {:?}.", INITIAL_PALLET_ASSETS_VERSION + 1); T::DbWeight::get() .reads(num_reads) diff --git a/runtime/calamari/src/xcm_config.rs b/runtime/calamari/src/xcm_config.rs index 0e414c51c..3253cc93a 100644 --- a/runtime/calamari/src/xcm_config.rs +++ b/runtime/calamari/src/xcm_config.rs @@ -107,11 +107,11 @@ pub type XcmOriginToCallOrigin = ( // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for // foreign chains who want to have a local sovereign account on this chain which they control. SovereignSignedViaLocation, - // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when - // recognised. + // Native converter for Relay-chain (Parent) location; will convert to a `Relay` origin when + //recognized. RelayChainAsNative, // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when - // recognised. + //recognized. SiblingParachainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. diff --git a/runtime/integration-tests/src/xcm_mock/parachain.rs b/runtime/integration-tests/src/xcm_mock/parachain.rs index f900f9ca3..7e4ed2982 100644 --- a/runtime/integration-tests/src/xcm_mock/parachain.rs +++ b/runtime/integration-tests/src/xcm_mock/parachain.rs @@ -197,7 +197,7 @@ pub type XcmOriginToCallOrigin = ( // or `RelayNetwork`, convert it to a Native 32 byte account. SignedAccountId32AsNative, // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when - // recognised. + //recognized. SiblingParachainAsNative, // Xcm origins can be represented natively under the Xcm pallet's Xcm origin. XcmPassthrough, diff --git a/runtime/manta/src/fee.rs b/runtime/manta/src/fee.rs index ba49cb850..cef3f3226 100644 --- a/runtime/manta/src/fee.rs +++ b/runtime/manta/src/fee.rs @@ -58,7 +58,7 @@ mod multiplier_tests { (target_daily_congestion_cost_usd as f32 / manta_price * MANTA as f32) as u128; // assume the multiplier is initially set to its minimum and that each block - // will be full with a single user extrinsic, which will minimize then length and base fees + // will be full with a single user extrinsic, which will minimize the length and base fees let mut multiplier = MinimumMultiplier::get(); let block_weight = BlockWeights::get() .get(DispatchClass::Normal) diff --git a/runtime/manta/src/lib.rs b/runtime/manta/src/lib.rs index 087d9fe8c..8134bd279 100644 --- a/runtime/manta/src/lib.rs +++ b/runtime/manta/src/lib.rs @@ -206,7 +206,7 @@ impl Contains for MantaFilter { RuntimeCall::Timestamp(_) | RuntimeCall::ParachainSystem(_) | RuntimeCall::System(_) ) { // always allow core call - // pallet-timestamp and parachainSystem could not be filtered because they are used in communication between releychain and parachain. + // pallet-timestamp and parachainSystem could not be filtered because they are used in communication between relaychain and parachain. return true; } diff --git a/runtime/manta/src/migrations/assets_genesis.rs b/runtime/manta/src/migrations/assets_genesis.rs index e93c8024a..79b0ad4cd 100644 --- a/runtime/manta/src/migrations/assets_genesis.rs +++ b/runtime/manta/src/migrations/assets_genesis.rs @@ -103,7 +103,7 @@ where StorageVersion::new(INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1) .put::>(); - log::info!(target: "asset-manager", "✅ Storage migration for AssetManager has been executed successfully and storage version has been update to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); + log::info!(target: "asset-manager", "✅ Storage migration for AssetManager has been executed successfully and storage version has been updated to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); log::info!(target: "assets", "Starting migration for pallet-assets..."); @@ -113,7 +113,7 @@ where let _ = clear_storage_prefix(pallet_prefix, b"Account", b"", None, None); let _ = clear_storage_prefix(pallet_prefix, b"Approval", b"", None, None); - log::info!(target: "assets", "✅ Storage migration for Assets has been executed successfully and storage version has been update to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); + log::info!(target: "assets", "✅ Storage migration for Assets has been executed successfully and storage version has been updated to: {:?}.", INITIAL_PALLET_ASSETS_MANAGER_VERSION + 1); StorageVersion::new(INITIAL_PALLET_ASSETS_VERSION + 1).put::>(); diff --git a/runtime/manta/src/xcm_config.rs b/runtime/manta/src/xcm_config.rs index fc63d7858..e6af1d07c 100644 --- a/runtime/manta/src/xcm_config.rs +++ b/runtime/manta/src/xcm_config.rs @@ -100,11 +100,11 @@ pub type XcmOriginToCallOrigin = ( // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for // foreign chains who want to have a local sovereign account on this chain which they control. SovereignSignedViaLocation, - // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when - // recognised. + // Native converter for Relay-chain (Parent) location; will convert to a `Relay` origin when + //recognized. RelayChainAsNative, // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when - // recognised. + //recognized. SiblingParachainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin.