From cb008261e7df895a9f2c5e89ecb537c53916b497 Mon Sep 17 00:00:00 2001 From: ron Date: Sun, 17 Dec 2023 22:56:34 +0800 Subject: [PATCH] Improve with LengthToFee --- .../runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs index 8d679ce3c0c6..e9d9bf6d94eb 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs @@ -499,7 +499,6 @@ parameter_types! { } parameter_types! { - pub const Reward: u128 = 10; pub const CreateAssetCall: [u8;2] = [53, 0]; pub const CreateAssetDeposit: u128 = (UNITS / 10) + EXISTENTIAL_DEPOSIT; pub const InboundQueuePalletInstance: u8 = snowbridge_rococo_common::INBOUND_QUEUE_MESSAGES_PALLET_INDEX; @@ -537,6 +536,8 @@ impl snowbridge_inbound_queue::Config for Runtime { Balance, >; type WeightToFee = WeightToFee; + type LengthToFee = ConstantMultiplier; + type MaxMessagePayloadSize = ConstU32<2048>; type WeightInfo = weights::snowbridge_inbound_queue::WeightInfo; type PricingParameters = EthereumSystem; }