Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Change the value of local fee
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Jul 23, 2024
1 parent d489756 commit 6729e4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ use testnet_parachains_constants::rococo::snowbridge::EthereumNetwork;

const INITIAL_FUND: u128 = 5_000_000_000 * ROCOCO_ED;
const CHAIN_ID: u64 = 11155111;
const TREASURY_ACCOUNT: [u8; 32] =
hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
const WETH: [u8; 20] = hex!("87d1f7fdfEe7f651FaBc8bFCB6E086C278b77A7d");
const ETHEREUM_DESTINATION_ADDRESS: [u8; 20] = hex!("44a57ee2f2FCcb85FDa2B0B18EBD0D8D2333700e");
const INSUFFICIENT_XCM_FEE: u128 = 1000;
Expand Down Expand Up @@ -396,7 +394,9 @@ fn send_weth_asset_from_asset_hub_to_ethereum() {

const WETH_AMOUNT: u128 = 1_000_000_000;
const FEE_AMOUNT: u128 = 2_750_872_500_000;
const LOCAL_FEE_AMOUNT: u128 = 16903333;
// To cover the delivery cost on BH
const LOCAL_FEE_AMOUNT: u128 = 1_000_000_000;
// To cover the delivery cost on Ethereum
const REMOTE_FEE_AMOUNT: u128 = FEE_AMOUNT - LOCAL_FEE_AMOUNT;

let weth_asset_location: Location = Location::new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ pub mod bridging {

parameter_types! {
/// User fee for delivery cost on bridge hub. Leave some buffer here for avoid spamming
pub const DefaultBridgeHubEthereumBaseFee: Balance = 4_000_000_000;
pub const DefaultBridgeHubEthereumBaseFee: Balance = 1_000_000_000;
pub storage BridgeHubEthereumBaseFee: Balance = DefaultBridgeHubEthereumBaseFee::get();
pub SiblingBridgeHubWithEthereumInboundQueueInstance: Location = Location::new(
1,
Expand Down

0 comments on commit 6729e4b

Please sign in to comment.