Skip to content

Commit 3f72c47

Browse files
committed
Set base delivery fee in DOT derived constant
1 parent 7fc8f35 commit 3f72c47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

runtimes/eden/src/constants.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub const NANO_NODL: Balance = MICRO_NODL / 1_000;
3838

3939
pub const EXISTENTIAL_DEPOSIT: Balance = 100 * NANO_NODL;
4040
pub const POLKADOT_EXISTENTIAL_DEPOSIT: Balance = 10_000_000_000;
41+
pub const POLKADOT_CENT: Balance = 100_000_000;
4142

4243
pub const fn deposit(items: u32, bytes: u32) -> Balance {
4344
items as Balance * 1_500 * MICRO_NODL + (bytes as Balance) * 600 * MICRO_NODL

runtimes/eden/src/xcm_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ parameter_types! {
194194
/// The asset ID for the asset that we use to pay for message delivery fees.
195195
pub FeeAssetId: AssetId = Concrete(NodlLocation::get());
196196
/// The base fee for the message delivery fees.
197-
pub const BaseDeliveryFee: u128 = crate::constants::NODL.saturating_mul(3);
197+
pub const BaseDeliveryFee: u128 = crate::constants::POLKADOT_CENT.saturating_mul(3);
198198
}
199199

200200
pub type PriceForSiblingParachainDelivery =

0 commit comments

Comments
 (0)