Description
Description
The current implementation of Balances
within the gnogenesis balances
command randomizes the balance list in the genesis.json
upon every call, since it's a map and not a sorted slice. Due to this, the checksum of a genesis.json
cannot be verified.
This task should tackle saving the balance sheet (which is a map) in a deterministic list within the genesis.json
, with an order that is ugnot amount descending. Balances
can remain a map, but its ToList
method must return a deterministic slice, sorted as mentioned.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress