Skip to content

Commit

Permalink
Added lazy-delegate to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena committed Aug 16, 2023
1 parent 28dd1f9 commit a92e067
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ detectors:
- vulnerable_path: "../../test-cases/unrestricted-transfer-from/unrestricted-transfer-from-1/escrow/vulnerable-example/Cargo.toml"
remediated_path: "../../test-cases/unrestricted-transfer-from/unrestricted-transfer-from-1/escrow/remediated-example/Cargo.toml"
assert-violation:
warning_message: "Assert causes panic. Instead, return a proper error"
warning_message: "Delegate call with non-lazy, non-mapping storage"
examples:
- vulnerable_path: "../../test-cases/assert-violation/assert-violation-1/vulnerable-example/Cargo.toml"
remediated_path: "../../test-cases/assert-violation/assert-violation-1/remediated-example/Cargo.toml"
- vulnerable_path: "../../test-cases/lazy-delegate/lazy-delegate-1/vulnerable-example/Cargo.toml"
remediated_path: "../../test-cases/lazy-delegate/lazy-delegate-1/remediated-example/Cargo.toml"

0 comments on commit a92e067

Please sign in to comment.