CodeChain-io / CodeChain-io/cron-jobs
Make fee-monitor to use U64 type when calculating rewards
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Currently, fee-monitor is using javascript number type when calculating rewards for validators. But there is a potential hazard of overflow when multiplying a number and dividing later to integrate round-off errors into one.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.