Skip to content

In-depth lesson · Rounding and precision errors

Year by year: 2023

What the disclosed Rounding and precision errors reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 6 of 6 (of 29 in all)

Clear the search

2023

6 points

Kept working6

  1. Price ratio and invariant calculations were checked for precision loss yielding a wrong ratio in the disclosed reports.

    Seen in 2 reports
  2. Square root and invariant calculations were tested for large precision errors that break the invariant in the disclosed reports.

    Seen in 2 reports
  3. Code dividing before multiplying was tested for truncation to zero or significant precision loss in the disclosed reports.

    Seen in 1 report
  4. Staking and reward pool distribution functions were examined for precision loss leaving rewards locked or under-distributed in the disclosed reports.

    Seen in 1 report
  5. First depositor share inflation through donation or share price manipulation remained a recurring pattern in the disclosed reports.

    Seen in 1 report
  6. Oracle prices and ticks were checked for wrong-direction rounding that makes a swapper overpay or trade below the signed value in the disclosed reports.

    Seen in 1 report