-
Notifications
You must be signed in to change notification settings - Fork 646
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
Add Benchmarking/Weights for Signed Extensions #87
Comments
Just a note as we normally call the same logic as in While writing this down and thinking more about this, I'm not sure it is that easy :P Currently the |
With the introduction of Asset Conversion for fee payment, sometimes Signed Extensions can execute "heavier" logic themselves in pre-/post-dispatch. See for example
asset-conversion-tx-payment
.In this case, these
pre_dispatch
andpost_dispatch
functions should allow some weight annotation that will add the weight of their execution to the extrinsic weight and charge when appropriate.The text was updated successfully, but these errors were encountered: