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

Improve managed asset destruction weight estimation #1202

Open
sea212 opened this issue Dec 6, 2023 · 0 comments
Open

Improve managed asset destruction weight estimation #1202

sea212 opened this issue Dec 6, 2023 · 0 comments
Labels
l:S Solving this issue takes hours p:low Low priority, resolution of this issue can wait t:enhancement The issue described an enhancement

Comments

@sea212
Copy link
Member

sea212 commented Dec 6, 2023

In zrml-asset-router, asset destruction automatically happens during the on_idle hook. The required weight for destruction of accounts and approvals is heavily overestimated. This can be improved by invoking the weight function of the respective destruction operation.

@sea212 sea212 added p:low Low priority, resolution of this issue can wait t:enhancement The issue described an enhancement l:S Solving this issue takes hours labels Dec 6, 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:low Low priority, resolution of this issue can wait t:enhancement The issue described an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant