From 55bc9984061dd4fce8b3c37424d0d0d58d6241e3 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 23 Jul 2024 11:41:02 +0200 Subject: [PATCH 1/7] Lower transaction fees by half --- relay/kusama/src/lib.rs | 2 +- relay/polkadot/src/lib.rs | 2 +- .../asset-hubs/asset-hub-kusama/src/lib.rs | 2 +- .../asset-hubs/asset-hub-polkadot/src/lib.rs | 12 ++++++------ .../bridge-hubs/bridge-hub-kusama/src/lib.rs | 2 +- .../bridge-hubs/bridge-hub-polkadot/src/lib.rs | 6 +++--- .../collectives/collectives-polkadot/src/lib.rs | 6 +++--- system-parachains/constants/src/polkadot.rs | 12 ++++++------ 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 98a6447987..76702e358a 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -160,7 +160,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index cf6ad4efcd..3658360546 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index 09be6931df..e67ad8d3f6 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index f163a6bcfa..1c77474194 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -146,7 +146,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemint"), impl_name: create_runtime_str!("statemint"), authoring_version: 1, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -1757,11 +1757,11 @@ mod tests { /// Weight is being charged for both dimensions. #[test] fn weight_charged_for_both_components() { - let fee: Balance = fee::WeightToFee::weight_to_fee(&Weight::from_parts(10_000, 0)); + let fee: Balance = fee::WeightToFee::weight_to_fee(&Weight::from_parts(20_000, 0)); assert!(!fee.is_zero(), "Charges for ref time"); - let fee: Balance = fee::WeightToFee::weight_to_fee(&Weight::from_parts(0, 10_000)); - assert_eq!(fee, CENTS, "10kb maps to CENT"); + let fee: Balance = fee::WeightToFee::weight_to_fee(&Weight::from_parts(0, 20_000)); + assert_eq!(fee, CENTS, "20kb maps to CENT"); } /// Filling up a block by proof size is at most 30 times more expensive than ref time. @@ -1782,10 +1782,10 @@ mod tests { } #[test] - fn test_transasction_byte_fee_is_one_tenth_of_relay() { + fn test_transasction_byte_fee_is_one_twentieth_of_relay() { let relay_tbf = polkadot_runtime_constants::fee::TRANSACTION_BYTE_FEE; let parachain_tbf = TransactionByteFee::get(); - assert_eq!(relay_tbf / 10, parachain_tbf); + assert_eq!(relay_tbf / 20, parachain_tbf); } #[test] diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs index 48fa7da454..8b289fb255 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs @@ -168,7 +168,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-kusama"), impl_name: create_runtime_str!("bridge-hub-kusama"), authoring_version: 1, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs index 7adceeecf3..f1afb5055c 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs @@ -176,7 +176,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-polkadot"), impl_name: create_runtime_str!("bridge-hub-polkadot"), authoring_version: 1, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, @@ -1230,9 +1230,9 @@ mod tests { use super::*; #[test] - fn test_transasction_byte_fee_is_one_tenth_of_relay() { + fn test_transasction_byte_fee_is_one_twentieth_of_relay() { let relay_tbf = polkadot_runtime_constants::fee::TRANSACTION_BYTE_FEE; let parachain_tbf = TransactionByteFee::get(); - assert_eq!(relay_tbf / 10, parachain_tbf); + assert_eq!(relay_tbf / 20, parachain_tbf); } } diff --git a/system-parachains/collectives/collectives-polkadot/src/lib.rs b/system-parachains/collectives/collectives-polkadot/src/lib.rs index e7b06c621f..9f601d385c 100644 --- a/system-parachains/collectives/collectives-polkadot/src/lib.rs +++ b/system-parachains/collectives/collectives-polkadot/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("collectives"), impl_name: create_runtime_str!("collectives"), authoring_version: 1, - spec_version: 1_002_008, + spec_version: 1_002_009, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 7, @@ -1143,8 +1143,8 @@ fn test_ed_is_one_tenth_of_relay() { } #[test] -fn test_transasction_byte_fee_is_one_tenth_of_relay() { +fn test_transasction_byte_fee_is_one_twentieth_of_relay() { let relay_tbf = polkadot_runtime_constants::fee::TRANSACTION_BYTE_FEE; let parachain_tbf = TransactionByteFee::get(); - assert_eq!(relay_tbf / 10, parachain_tbf); + assert_eq!(relay_tbf / 20, parachain_tbf); } diff --git a/system-parachains/constants/src/polkadot.rs b/system-parachains/constants/src/polkadot.rs index e8e71c265b..d42ca84d82 100644 --- a/system-parachains/constants/src/polkadot.rs +++ b/system-parachains/constants/src/polkadot.rs @@ -90,8 +90,8 @@ pub mod fee { /// Cost of every transaction byte at Polkadot system parachains. /// - /// It is the Relay Chain (Polkadot) `TransactionByteFee` / 10. - pub const TRANSACTION_BYTE_FEE: Balance = super::currency::MILLICENTS; + /// It is the Relay Chain (Polkadot) `TransactionByteFee` / 20. + pub const TRANSACTION_BYTE_FEE: Balance = super::currency::MILLICENTS / 2; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the /// node's balance type. @@ -122,9 +122,9 @@ pub mod fee { type Balance = Balance; fn polynomial() -> WeightToFeeCoefficients { // In Polkadot, extrinsic base weight (smallest non-zero weight) is mapped to 1/10 CENT: - // The standard system parachain configuration is 1/10 of that, as in 1/100 CENT. + // The standard system parachain configuration is 1/20 of that, as in 1/200 CENT. let p = super::currency::CENTS; - let q = 100 * Balance::from(ExtrinsicBaseWeight::get().ref_time()); + let q = 200 * Balance::from(ExtrinsicBaseWeight::get().ref_time()); smallvec![WeightToFeeCoefficient { degree: 1, @@ -140,9 +140,9 @@ pub mod fee { impl WeightToFeePolynomial for ProofSizeToFee { type Balance = Balance; fn polynomial() -> WeightToFeeCoefficients { - // Map 10kb proof to 1 CENT. + // Map 20kb proof to 1 CENT. let p = super::currency::CENTS; - let q = 10_000; + let q = 20_000; smallvec![WeightToFeeCoefficient { degree: 1, From a1e61dbdb2033c75a28eebe03c565e12bdd74ab4 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 23 Jul 2024 11:43:11 +0200 Subject: [PATCH 2/7] CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30d410eb72..f48606cda9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Bounties: Remove payout delay ([polkadot-fellows/runtimes#386](https://github.com/polkadot-fellows/runtimes/pull/386)) +- Polkadot System Chains: Reduce transaction fees by half ## [1.2.8] 03.07.2024 From d3dcc788f4c5d0a95356eb5ffcd978f64689fe15 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 23 Jul 2024 14:48:45 +0200 Subject: [PATCH 3/7] CHANGELOG and discard version changes --- CHANGELOG.md | 2 +- relay/kusama/src/lib.rs | 2 +- relay/polkadot/src/lib.rs | 2 +- system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs | 2 +- system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs | 2 +- system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs | 2 +- system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs | 2 +- system-parachains/collectives/collectives-polkadot/src/lib.rs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f48606cda9..c920c482f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Bounties: Remove payout delay ([polkadot-fellows/runtimes#386](https://github.com/polkadot-fellows/runtimes/pull/386)) -- Polkadot System Chains: Reduce transaction fees by half +- Polkadot System Chains: Reduce the base transaction fee by half ## [1.2.8] 03.07.2024 diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 76702e358a..98a6447987 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -160,7 +160,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 3658360546..cf6ad4efcd 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index e67ad8d3f6..09be6931df 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 1c77474194..a5ed2e5c5f 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -146,7 +146,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemint"), impl_name: create_runtime_str!("statemint"), authoring_version: 1, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs index 8b289fb255..48fa7da454 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs @@ -168,7 +168,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-kusama"), impl_name: create_runtime_str!("bridge-hub-kusama"), authoring_version: 1, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs index f1afb5055c..da75d9c623 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs @@ -176,7 +176,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-polkadot"), impl_name: create_runtime_str!("bridge-hub-polkadot"), authoring_version: 1, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/system-parachains/collectives/collectives-polkadot/src/lib.rs b/system-parachains/collectives/collectives-polkadot/src/lib.rs index 9f601d385c..784e6b87d9 100644 --- a/system-parachains/collectives/collectives-polkadot/src/lib.rs +++ b/system-parachains/collectives/collectives-polkadot/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("collectives"), impl_name: create_runtime_str!("collectives"), authoring_version: 1, - spec_version: 1_002_009, + spec_version: 1_002_008, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 7, From eeef7b0d3a0c352e1160e6a06e3679a02e501aab Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 24 Jul 2024 12:29:12 +0200 Subject: [PATCH 4/7] fix runtime test --- .../bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs index 40947b410a..85b3570d2c 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs @@ -90,15 +90,15 @@ frame_support::parameter_types! { /// The XCM fee that is paid for executing XCM program (with `ExportMessage` instruction) at the Polkadot /// BridgeHub. /// (initially was calculated by test `BridgeHubPolkadot::can_calculate_weight_for_paid_export_message_with_reserve_transfer` + `33%`) - pub const BridgeHubPolkadotBaseXcmFeeInDots: Balance = 177_594_900; + pub const BridgeHubPolkadotBaseXcmFeeInDots: Balance = 88_797_450; /// Transaction fee that is paid at the Polkadot BridgeHub for delivering single inbound message. /// (initially was calculated by test `BridgeHubPolkadot::can_calculate_fee_for_standalone_message_delivery_transaction` + `33%`) - pub const BridgeHubPolkadotBaseDeliveryFeeInDots: Balance = 942_248_365; + pub const BridgeHubPolkadotBaseDeliveryFeeInDots: Balance = 471_124_182; /// Transaction fee that is paid at the Polkadot BridgeHub for delivering single outbound message confirmation. /// (initially was calculated by test `BridgeHubPolkadot::can_calculate_fee_for_standalone_message_confirmation_transaction` + `33%`) - pub const BridgeHubPolkadotBaseConfirmationFeeInDots: Balance = 172_377_865; + pub const BridgeHubPolkadotBaseConfirmationFeeInDots: Balance = 86_188_932; } /// Compute the total estimated fee that needs to be paid in DOTs by the sender when sending From c7457b1e81d93b5876d953adade8171342a5ae2a Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 24 Jul 2024 17:57:31 +0200 Subject: [PATCH 5/7] reduce ED by 50% --- .../tests/assets/asset-hub-polkadot/src/tests/swap.rs | 4 ++-- system-parachains/constants/src/polkadot.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs index 139bc70286..77e519cfd5 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs @@ -225,8 +225,8 @@ fn swap_locally_on_chain_using_foreign_assets() { AssetHubPolkadot, vec![ RuntimeEvent::AssetConversion(pallet_asset_conversion::Event::SwapExecuted { amount_in, amount_out, .. },) => { - amount_in: *amount_in == 10000000000000, - amount_out: *amount_out == 1817684594348, + amount_in: *amount_in == 5000000000000, + amount_out: *amount_out == 1665831244778, }, ] ); diff --git a/system-parachains/constants/src/polkadot.rs b/system-parachains/constants/src/polkadot.rs index d42ca84d82..565a761874 100644 --- a/system-parachains/constants/src/polkadot.rs +++ b/system-parachains/constants/src/polkadot.rs @@ -56,7 +56,7 @@ pub mod currency { /// The default existential deposit for system chains. 1/10th of the Relay Chain's existential /// deposit. Individual system parachains may modify this in special cases. pub const SYSTEM_PARA_EXISTENTIAL_DEPOSIT: Balance = - polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT / 10; + polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT / 20; /// One "DOT" that a UI would show a user. pub const UNITS: Balance = 10_000_000_000; From 4db29b9eefb189cb9b8c7ba92ab733dd46320d90 Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Wed, 24 Jul 2024 19:16:32 +0300 Subject: [PATCH 6/7] Revert "reduce ED by 50%" This reverts commit c7457b1e81d93b5876d953adade8171342a5ae2a. --- .../tests/assets/asset-hub-polkadot/src/tests/swap.rs | 4 ++-- system-parachains/constants/src/polkadot.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs index 77e519cfd5..139bc70286 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs @@ -225,8 +225,8 @@ fn swap_locally_on_chain_using_foreign_assets() { AssetHubPolkadot, vec![ RuntimeEvent::AssetConversion(pallet_asset_conversion::Event::SwapExecuted { amount_in, amount_out, .. },) => { - amount_in: *amount_in == 5000000000000, - amount_out: *amount_out == 1665831244778, + amount_in: *amount_in == 10000000000000, + amount_out: *amount_out == 1817684594348, }, ] ); diff --git a/system-parachains/constants/src/polkadot.rs b/system-parachains/constants/src/polkadot.rs index 565a761874..d42ca84d82 100644 --- a/system-parachains/constants/src/polkadot.rs +++ b/system-parachains/constants/src/polkadot.rs @@ -56,7 +56,7 @@ pub mod currency { /// The default existential deposit for system chains. 1/10th of the Relay Chain's existential /// deposit. Individual system parachains may modify this in special cases. pub const SYSTEM_PARA_EXISTENTIAL_DEPOSIT: Balance = - polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT / 20; + polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT / 10; /// One "DOT" that a UI would show a user. pub const UNITS: Balance = 10_000_000_000; From b07e525d093e1474ff3aa2297c80679353af5d10 Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Wed, 24 Jul 2024 19:37:53 +0300 Subject: [PATCH 7/7] fix test --- .../tests/assets/asset-hub-kusama/src/tests/teleport.rs | 2 +- .../tests/assets/asset-hub-polkadot/src/tests/teleport.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs index a258f15371..e24c443265 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs @@ -166,7 +166,7 @@ fn penpal_to_ah_foreign_assets_receiver_assertions(t: ParaToSystemParaTest) { owner: *owner == t.receiver.account_id, amount: *amount == expected_foreign_asset_amount, }, - RuntimeEvent::Balances(pallet_balances::Event::Deposit { .. }) => {}, + RuntimeEvent::Balances(pallet_balances::Event::Issued { .. }) => {}, ] ); } diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs index 2f87daa87e..66fd4f3bff 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs @@ -165,7 +165,7 @@ fn penpal_to_ah_foreign_assets_receiver_assertions(t: ParaToSystemParaTest) { owner: *owner == t.receiver.account_id, amount: *amount == expected_foreign_asset_amount, }, - RuntimeEvent::Balances(pallet_balances::Event::Deposit { .. }) => {}, + RuntimeEvent::Balances(pallet_balances::Event::Issued { .. }) => {}, ] ); }