Welcome to our first Grid Enhancement Proposal (GEP) for TF Grid 3.0. As the DAO is not yet live, we are executing this GEP by means of a forum post and poll.
This Grid Enhancement Proposal aims to get approval for upgrading our minting (farming) code and corresponding documentation as well as some confirmations for our single source of truth.
Inconsistency in the documentation on wiki in relation to minting
In v2.0 we always used 1024 as a base for going from (as an example) MB to GB. In v3.0 it was specified on the wiki as 1000 (MB to GB), while in the code it was 1024. This was a documentation issue. The wiki will be adjusted to 1024. To clarify, the minting uses base 1024 when expressing gigabytes, i.e. 1 GiB = 1073741824 bytes. A section in the wiki will be added to clarify this. Pull request: see here.
Please note we will only ask approval for upgrading the wiki if the information is important for anything to do with calculations or pricing in relation to farming or cultivation – otherwise it will become too heavy.
Bug Fix in Minting Code
Thanks to our community reports we found a bug in the minting code. This bug only affected the February minting.
The bug caused incorrect calculations for some of the nodes on the TF Grid. The issue has been fixed and is ready to be implemented. Code is available to rectify the past minting period (February) and can be executed after achieving consensus. Fixed code is here on Tag v3.1.1.
Please note that the minting code is executed off-chain. Our Grid Guardians do the verification. A human blockchain of 5 people out of 7 need to sign the minting process result. The minting code gets the information from the TF Chain blockchain for TF Grid 3.x. The TF Chain blockchain keeps track of the uptime reports in non-modifiable ways by the Zero-OS nodes.
The minting code is fully deterministic and reproducible by everyone, all data comes from the TF Chain. The minting code (tool) produces reports which can be looked at by everyone.
After approval from the community, a new minting cycle will happen to fix the bug for February.
For safety reasons, the minting for March will happen on the 8th of April, not the usual 5th of the month, to give us more time to verify the process.
Uptime simplification in minting code
There are requests to simplify the uptime calculations in farming/minting logic. We suggest implementing a payout in relation to uptime achieved. So if a node is 85% of the time operational, it gets 85% of the farming. This will simplify the process for now and be most easy to understand.
Once the right tools are in place, it will be easier for farmers to monitor their node uptime, and the uptime requirement will go back to a minimal uptime requirement in order to unlock farming rewards. The logic behind this is that a node which is down too much is not usable by anyone, so there is no reason to reward the farming.
Minting code will be tagged as 3.2 when finished, see here.
Acknowledgement of single source of truth in relation to minting code
Information in relation to how the minting code works is on: https://library.threefold.me/info/threefold#/tfgrid/farming/farming_reward
Poll will be closed on Friday 18th of March at 8am CET.
Minimal required positive votes = 60%