scout-soroban icon indicating copy to clipboard operation
scout-soroban copied to clipboard

Add new detector and test cases for incorrect-exponentiation

Open arturoBeccar opened this issue 10 months ago • 0 comments

Description

Add a new detector and test cases for incorrect exponentiation, using as reference similar linting detector in other blockchains (reference-1, reference-2)

Acceptance Criteria

  • [x] Add at least one vulnerable and remediated test case pair added to test-cases/incorrect-expontiation/intecorrect-exponentiation-1. If another test case pair is added, add it to test-cases/incorrect-expontiation/intecorrect-exponentiation-2.
  • [x] Add new detector added to detectors/incorrect-exponentiation folder.
  • [x] Both the vulnerable and remediated test cases must have tests.
  • [x] Ensure that the detector detects the vulnerable case and is not activated on the remediated one.
  • [x] Add all relevant documentation. (maybe in a new issue)

Estimate

15

arturoBeccar avatar Apr 24 '24 15:04 arturoBeccar