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

feat: allow easy integration of the deposit storage for MutateHold requirements #735

Closed
wants to merge 1 commit into from

Conversation

ntn-x2
Copy link
Member

@ntn-x2 ntn-x2 commented Sep 20, 2024

@ntn-x2 ntn-x2 self-assigned this Sep 20, 2024
@ntn-x2
Copy link
Member Author

ntn-x2 commented Sep 23, 2024

Unfortunately it is not possible, because of the strong limitations on the RuntimeHoldReason associated type of the InspectHold trait. The pallet deposit storage needs namespaces when holding some funds, and the trait does not make it possible to use the namespace type as the hold reason.

@ntn-x2 ntn-x2 closed this Sep 23, 2024
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.

1 participant