-
Notifications
You must be signed in to change notification settings - Fork 36
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
Disable pallet uniques calls #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Looks good. I tried to implement a test of this on rmrk-core but failed. Not sure how I did it wrong. I added this to the mock.rs rmrk-substrate/runtime/src/lib.rs Lines 169 to 193 in 036cc63
Changed rmrk-substrate/runtime/src/lib.rs Line 199 in 036cc63
And wrote this test (not really a test yet just a println, but the result is unexpected/unwanted "Ok(())"
If a test for this doesn't matter that much, go ahead and merge. Otherwise, any ideas? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good unless you want to pursue testing this behavior
Check out the test file in substrate and this example https://github.com/paritytech/substrate/blob/master/frame/utility/src/tests.rs#L277-L292 We should get an |
Will merge for now as filtered Calls not part of rmrk pallets technically. But I guess good to add a test anyway |
Fixes #151
Fixes #150