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

Define proper XCM Transact call filter #1083

Open
sea212 opened this issue Aug 21, 2023 · 0 comments
Open

Define proper XCM Transact call filter #1083

sea212 opened this issue Aug 21, 2023 · 0 comments
Labels
l:S Solving this issue takes hours p:medium Medium priority, this issue can wait but should be done fairly soon t:maintenance The issue describes necessary maintenance

Comments

@sea212
Copy link
Member

sea212 commented Aug 21, 2023

Implement a custom call filter that implements Contains that will be used for XcmConfig's configuration value SafeCallFilter. The call filter should only return true only for calls that meet the following conditions:

  1. Don't lead to recursion
  2. Have a fixed weight
  3. Cannot lead to another call being made (i.e. utility)
  4. Have a defined proof size weight, e.g. no unbounded vecs in call parameters.

for all other calls, return false.

@sea212 sea212 added p:medium Medium priority, this issue can wait but should be done fairly soon t:maintenance The issue describes necessary maintenance l:S Solving this issue takes hours labels Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l:S Solving this issue takes hours p:medium Medium priority, this issue can wait but should be done fairly soon t:maintenance The issue describes necessary maintenance
Projects
None yet
Development

No branches or pull requests

1 participant