Skip to content

Conversation

@drgora
Copy link
Contributor

@drgora drgora commented Jul 7, 2025

This is the companion of zkVerify's #321

impl Contains<Location> for ParentsTreasury {
fn contains(location: &Location) -> bool {
// match the relay chain and any account on it
matches!(location.unpack(), (1, [PalletInstance(14)]))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make this more robust at a certain point, maybe with a separate repo and crate like polkadot_runtime_commons and polkadot_parachains_commons

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants