Skip to content

Commit

Permalink
Fix unit weight cost
Browse files Browse the repository at this point in the history
  • Loading branch information
dastansam committed Jun 4, 2024
1 parent 7be81eb commit 7cf5ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
parameter_types! {
pub const Stablecoin: AssetFilter = Wild(AllOf { fun: WildFungible, id: AssetId(MultiLocation::here()) });
// One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = Weight::from_parts(1_000_000, 1024 * 1024);
pub UnitWeightCost: Weight = Weight::from_parts(1_000_000, 64 * 1024);
pub const MaxInstructions: u32 = 100;
pub const MaxAssetsIntoHolding: u32 = 64;
pub AssetHubTrustedTeleporter: (AssetFilter, MultiLocation) = (Stablecoin::get(), AssetHubLocation::get());
Expand Down

0 comments on commit 7cf5ac8

Please sign in to comment.