Skip to content

Cat Core Fund 10 - Audit Updates

Compare
Choose a tag to compare
@stevenj stevenj released this 02 Nov 16:21
· 40 commits to main since this release
4a2dc7a
feat: Proposal score calculation, add rounding to 1 decimal place | N…

…PG-8046 (#611)

# Description

Updated proposal community score calculation, add rounding to 1 decimal
place.
So now with the previous calculation result is `5.799999999999999` it
will be rounded to `5.8`,
and if result is `5.449999999999999` to `5.4`.

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

- [ ] weighted_score_test_2
- [ ] weighted_score_test_3