Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ParachainMinFee managed by XcmInterface pallet #1936

Closed
xlc opened this issue Mar 3, 2022 · 0 comments · Fixed by #1940
Closed

Make ParachainMinFee managed by XcmInterface pallet #1936

xlc opened this issue Mar 3, 2022 · 0 comments · Fixed by #1940

Comments

@xlc
Copy link
Member

xlc commented Mar 3, 2022

pub ParachainMinFee: |location: MultiLocation| -> u128 {
#[allow(clippy::match_ref_pats)] // false positive
match (location.parents, location.first_interior()) {
(1, Some(Parachain(parachains::statemine::ID))) => 4_000_000_000,
_ => u128::MAX,
}
};
}

this should be managed by XcmInterface pallet so that we can dynamically updating it if needed

Originally posted by @xlc in #1712 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant