Skip to content

Commit

Permalink
Adjust base fee constants
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jul 30, 2024
1 parent 8b3d611 commit 648498b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bridges/chains/chain-bridge-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ frame_support::parameter_types! {

/// Transaction fee that is paid at the Rococo BridgeHub for delivering single inbound message.
/// (initially was calculated by test `BridgeHubRococo::can_calculate_fee_for_standalone_message_delivery_transaction` + `33%`)
pub const BridgeHubRococoBaseDeliveryFeeInRocs: u128 = 314_037_860;
pub const BridgeHubRococoBaseDeliveryFeeInRocs: u128 = 316_520_502;

/// Transaction fee that is paid at the Rococo BridgeHub for delivering single outbound message confirmation.
/// (initially was calculated by test `BridgeHubRococo::can_calculate_fee_for_standalone_message_confirmation_transaction` + `33%`)
pub const BridgeHubRococoBaseConfirmationFeeInRocs: u128 = 57_414_813;
pub const BridgeHubRococoBaseConfirmationFeeInRocs: u128 = 59_941_787;
}

/// Wrapper over `BridgeHubRococo`'s `RuntimeCall` that can be used without a runtime.
Expand Down
4 changes: 2 additions & 2 deletions bridges/chains/chain-bridge-hub-westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ frame_support::parameter_types! {

/// Transaction fee that is paid at the Westend BridgeHub for delivering single inbound message.
/// (initially was calculated by test `BridgeHubWestend::can_calculate_fee_for_standalone_message_delivery_transaction` + `33%`)
pub const BridgeHubWestendBaseDeliveryFeeInWnds: u128 = 94_211_536_452;
pub const BridgeHubWestendBaseDeliveryFeeInWnds: u128 = 94_956_336_452;

/// Transaction fee that is paid at the Westend BridgeHub for delivering single outbound message confirmation.
/// (initially was calculated by test `BridgeHubWestend::can_calculate_fee_for_standalone_message_confirmation_transaction` + `33%`)
pub const BridgeHubWestendBaseConfirmationFeeInWnds: u128 = 17_224_486_452;
pub const BridgeHubWestendBaseConfirmationFeeInWnds: u128 = 17_982_586_452;
}

/// Wrapper over `BridgeHubWestend`'s `RuntimeCall` that can be used without a runtime.
Expand Down

0 comments on commit 648498b

Please sign in to comment.