From b2631d0e5a8628e3a8ea77c95cc20eee05f4f068 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:17:04 +0200 Subject: [PATCH 01/10] fix typo README.md Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From 70c9ea6b0914032c98ea217551e3fbcf1a6c5349 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:21:25 +0200 Subject: [PATCH 02/10] fix typos asset_id.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/calamari/src/migrations/asset_id.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From ba0b3da3e95ace206faa1d31282cdaa5f61d5749 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:39:50 +0200 Subject: [PATCH 03/10] fix typo diff_tx_fees.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/calamari/src/diff_tx_fees.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), From 1f9b015327bcd215bdd37028523170d92d4b7f6d Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:43:37 +0200 Subject: [PATCH 04/10] fix typo fee.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/calamari/src/fee.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From d99f590c8692365664fb0fef1bb9e75a94f12a72 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:50:35 +0200 Subject: [PATCH 05/10] fix typo xcm_config.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/calamari/src/xcm_config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. From a5323afbb93e0bbc2043b1bcde5e5cc5b96c7527 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 09:59:23 +0200 Subject: [PATCH 06/10] fix typo parachain.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/integration-tests/src/xcm_mock/parachain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 85c005e2f53a6be71d632984e7da710bb70ee1a0 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:05:39 +0200 Subject: [PATCH 07/10] fix typo assets_genesis.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/manta/src/migrations/assets_genesis.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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::>(); From d18e1730393f668c6030847f9670e8b6866f4204 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:27:40 +0200 Subject: [PATCH 08/10] fix typo fee.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/manta/src/fee.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 54bc3460db488b22624e0f74f86e7911dae52a7b Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:41:13 +0200 Subject: [PATCH 09/10] fix typo lib.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/manta/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } From 1017eccbed0d2a161d15110963481e5bbc85473c Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:42:34 +0200 Subject: [PATCH 10/10] fix typo xcm_config.rs Signed-off-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> --- runtime/manta/src/xcm_config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.