CodeChain-io / CodeChain-io/cron-jobs

Make fee-monitor to use U64 type when calculating rewards

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.