Skip to content

Calculate weights or create weight functions.  #21

Open
@jam10o-new

Description

@jam10o-new

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnersThings suitable for new contributions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions