@@ -166,8 +166,8 @@ pub struct WeightToFee;
166166impl WeightToFeePolynomial for WeightToFee {
167167 type Balance = Balance ;
168168 fn polynomial ( ) -> WeightToFeeCoefficients < Self :: Balance > {
169- // in Rococo, extrinsic base weight (smallest non-zero weight) is mapped to 1 MILLICENT:
170- // We map to 1/10 of that, or 1/10 MILLICENT
169+ // In Rococo, extrinsic base weight (smallest non-zero weight) maps to 1 MILLICENTS.
170+ // We map to 1/10 of that, or 1/10 MILLICENTS.
171171 let p = MILLICENTS / 10 ;
172172 let q = 100 * Balance :: from ( ExtrinsicBaseWeight :: get ( ) . ref_time ( ) ) ;
173173 smallvec ! [ WeightToFeeCoefficient {
@@ -239,16 +239,13 @@ pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
239239pub const HOURS : BlockNumber = MINUTES * 60 ;
240240pub const DAYS : BlockNumber = HOURS * 24 ;
241241
242- // Currency constants matching Paseo Asset Hub
243- // Based on Paseo: UNITS = 10_000_000_000 (10^10)
244242pub const UNITS : Balance = 10_000_000_000 ;
245243pub const DOLLARS : Balance = UNITS ;
246244pub const CENTS : Balance = DOLLARS / 100 ;
247245pub const MILLICENTS : Balance = CENTS / 1_000 ;
248246pub const MICROUNIT : Balance = CENTS / 10_000 ;
249247
250- /// The existential deposit matching Paseo Asset Hub system parachain.
251- /// Paseo Asset Hub: SYSTEM_PARA_EXISTENTIAL_DEPOSIT / 10 = CENTS
248+ /// The existential deposit for a system parachain.
252249pub const EXISTENTIAL_DEPOSIT : Balance = CENTS ; // 100_000_000
253250
254251/// We assume that ~5% of the block weight is consumed by `on_initialize` handlers. This is
@@ -382,8 +379,8 @@ impl pallet_balances::Config for Runtime {
382379}
383380
384381parameter_types ! {
385- /// Relay Chain `TransactionByteFee` / 10
386- pub const TransactionByteFee : Balance = 10 * MICROUNIT ;
382+ /// Transaction byte fee scaled for system parachains.
383+ pub const TransactionByteFee : Balance = MILLICENTS / 2 ;
387384}
388385
389386impl pallet_transaction_payment:: Config for Runtime {
0 commit comments