Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/bifrost/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub mod currency {
pub const BNCS: Balance = 1_000_000_000_000;
pub const DOLLARS: Balance = BNCS;
pub const CENTS: Balance = DOLLARS / 100; // assume this is worth about a cent.
pub const RELAY_CENTS: Balance = DOLLARS / 30_000;
pub const RELAY_CENTS: Balance = DOLLARS / 10_000;
pub const MILLICENTS: Balance = CENTS / 1_000;
pub const MILLIBNC: Balance = 1_000_000_000;
pub const MICROBNC: Balance = 1_000_000;
Expand Down
2 changes: 1 addition & 1 deletion runtime/bifrost/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ parameter_types! {
pub const SlotLength: BlockNumber = 8u32 as BlockNumber;
pub const XcmTransferOrigin: TransferOriginType = TransferOriginType::FromRelayChain;
pub XcmWeight: XcmBaseWeight = XCM_WEIGHT.into();
pub ContributionWeight:XcmBaseWeight = 893125000.into();
pub ContributionWeight:XcmBaseWeight = XCM_WEIGHT.into();
pub AddProxyWeight:XcmBaseWeight = XCM_WEIGHT.into();
pub ConfirmMuitiSigAccount: AccountId = hex!["e4da05f08e89bf6c43260d96f26fffcfc7deae5b465da08669a9d008e64c2c63"].into();
pub RelaychainSovereignSubAccount: MultiLocation = create_x2_multilocation(ParachainDerivedProxyAccountType::Salp as u16);
Expand Down
4 changes: 2 additions & 2 deletions xcm-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ impl<
WithdrawAsset(asset.clone().into()),
BuyExecution {
fees: asset,
weight_limit: Some(weight + 1 * BaseXcmWeight::get() + nonce as u64).into(),
weight_limit: WeightLimit::Limited(Self::transact_weight(weight, nonce)),
},
Instruction::Transact {
origin_type: OriginKind::SovereignAccount,
require_weight_at_most: 100_000_000_000,
require_weight_at_most: weight,
call,
},
DepositAsset {
Expand Down