Skip to content

Commit

Permalink
change detectors description
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiazcoaga committed Sep 6, 2024
1 parent 2140f25 commit c429f6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions detectors/storage-change-events/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ dylint_linting::impl_late_lint! {
"",
StorageChangeEvents::default(),
{
name: "Storage Changed without Emiting an Event",
long_message: "",
severity: "",
help: "",
vulnerability_class: "",
name: "Storage change event checker",
long_message: "Emiting an event when storage changes is a good practice to make the contracts more transparent and usable to its clients and observers",
severity: "Enhancement",
help: "https://coinfabrik.github.io/scout-soroban/docs/detectors/storage-change-events",
vulnerability_class: "Best Practices",
}
}

Expand Down
10 changes: 5 additions & 5 deletions detectors/token-interface-events/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ dylint_linting::impl_late_lint! {
"",
TokenInterfaceEvents::default(),
{
name: "Storage Changed without Emiting an Event in Token Interface implementations",
long_message: " It can originate a problem when a canonical function does not emit an event expected by the contract's clients.",
severity: "",
help: "",
vulnerability_class: "",
name: "Token Interface events checker",
long_message: "Not emiting the established events breaks compatibility with the token standard and can lead to interoperability problems between the contract and its observers",
severity: "Medium",
help: "https://coinfabrik.github.io/scout-soroban/docs/detectors/token-interface-events",
vulnerability_class: "Standard Compliance",
}
}

Expand Down

0 comments on commit c429f6d

Please sign in to comment.