KaiserKarel / substrace

Static analysis for Substrate based projects
27 stars 1 forks source link

Add the missing-transactional lint for detecting extrinsics without the #[transactional] marker #10

Closed KaiserKarel closed 1 year ago

KaiserKarel commented 1 year ago

Extrinsics can be optionally labeled with #[transactional] in Substrate, but we believe that should be the default. We want a lint that ensures all extrinsics are marked as #[transactional].

TheCodingWombat commented 1 year ago

Extrinsics can be found in code blocks with pallet::call macro