Crates.io | substrace |
lib.rs | substrace |
version | 0.2.0 |
source | src |
created_at | 2022-05-23 12:06:57.069573 |
updated_at | 2022-12-14 16:13:37.034382 |
description | a tool for linting Substrate projects for specific gotchas and other errors |
homepage | |
repository | https://github.com/KaiserKarel/substrace |
max_upload_size | |
id | 591760 |
size | 65,908 |
Substrace is a tool for linting substrate projects for specific gotchas and other errors.
Install through cargo install substrace
. Run using cargo substrace
.
Currently the following lints are used:
missing_security_doc
: checks for the presence Security
headers on storage maps using suspicious hashing functions, such as Twox64Concat
.More lints will be added in the future, initially targetting checks that ensure storage consistencies. Currently in the works:
panics
: ensures that clippy has been properly configured to avoid panics in code.storage_iter_insert
: checks that storage isn't simultaniously being mutated whilst iteration is active.