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

[AHM] fix the rc-migrator call filter #598

Merged

Conversation

acatangiu
Copy link
Contributor

The configuration of the allowed_call_filters doesn't match their pallet documentation - judging by the names and documentation they should be reversed.

Same for the filter implementation.

@acatangiu acatangiu changed the base branch from main to dev-asset-hub-migration February 20, 2025 17:03
@acatangiu
Copy link
Contributor Author

cc @ggwpez

Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

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

Yea I switched it around a few times. Thanks!

@ggwpez
Copy link
Member

ggwpez commented Feb 21, 2025

Weird that the test did not catch it. Maybe it worked by accident since we have the intra and post exactly opposite? Dont know...

fn call_filter_works() {

@ggwpez ggwpez merged commit f3fb0ba into polkadot-fellows:dev-asset-hub-migration Feb 21, 2025
5 of 7 checks passed
@acatangiu
Copy link
Contributor Author

Weird that the test did not catch it. Maybe it worked by accident since we have the intra and post exactly opposite? Dont know...

fn call_filter_works() {

yes, it was inverted in both places so it was working ok :)

@acatangiu acatangiu deleted the ahm-call-filters branch February 21, 2025 12:10
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.

2 participants