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

Calculate weights or create weight functions. #21

Open
jam10o-new opened this issue Apr 28, 2020 · 0 comments
Open

Calculate weights or create weight functions. #21

jam10o-new opened this issue Apr 28, 2020 · 0 comments
Labels
beginners Things suitable for new contributions

Comments

@jam10o-new
Copy link

The weight system in substrate/FRAME is key to preventing resource exhaustion attacks on the chain, so it is important to set sane values for weights.

Specifically, weights in https://github.com/playproject-io/datdot-substrate/blob/master/pallet-datdot/src/lib.rs are currently all placeholder values.

Some resources - https://www.shawntabrizi.com/substrate/substrate-weight-and-fees/

@jam10o-new jam10o-new added the beginners Things suitable for new contributions label Apr 28, 2020
jam10o-new pushed a commit that referenced this issue Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginners Things suitable for new contributions
Projects
None yet
Development

No branches or pull requests

1 participant