Closed dima74 closed 1 month ago
Fixes #4813
Changes format of genesis.json from (full format):
genesis.json
{ ... "parameters": [ { "Sumeragi": { "BlockTimeMs": 2000 } }, { "Sumeragi": { "CommitTimeMs": 4000 } }, ... { "Transaction": { "MaxInstructions": 4096 } }, ...
to (full format):
{ ... "parameters": { "sumeragi": { "block_time_ms": 2000, "commit_time_ms": 4000, ... }, "transaction": { "max_instructions": 4096, ... }, ...
kagami genesis generate
RawGenesisTransaction
CONTRIBUTING.md
@BAStos525
@BAStos525 @timofeevmd format of parameters in genesis.json has changed. Please see PR description for details of the new format.
Context
Fixes #4813
Solution
Changes format of
genesis.json
from (full format):to (full format):
Migration Guide (optional)
kagami genesis generate
will generate genesis in the new format. Custom genesis generator tools should be changed to new format.RawGenesisTransaction
corresponding to genesis.json fileReview notes (optional)
Checklist
CONTRIBUTING.md
.