CodeChain-io / CodeChain-io/cron-jobs

Hard to sustain state given by self-nomination transactions

Open
#122 0 comments 0 reactions 1 assignee Claimed by @seonpyoKim View on GitHub
Dominant language
TypeScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

To calculate nomination deposit returns, fee-monitor had to watch the self-nomination transaction and save the deposit quantity to fee-monitor's own state. But to calculate it correctly, minimum duration of running fee-monitor is about "11 days". Because the path from the state "Jailed" to "Eligible" takes 240 terms to transit.

If update fee-monitor and restart it in the middle, there may be some warnings about balance expectation fails.

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.