Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify genesis.json #368

Closed
wants to merge 13 commits into from
Closed

chore: simplify genesis.json #368

wants to merge 13 commits into from

Conversation

strophy
Copy link
Collaborator

@strophy strophy commented Oct 17, 2022

Issue being fixed or feature implemented

Some fields are no longer necessary in genesis.json

What was done?

Delete fields

How Has This Been Tested?

On special devnet

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@strophy strophy requested a review from shumkov October 17, 2022 11:41
@@ -1,43 +1,3 @@
{
"genesis_time": "{{ genesis_time }}",
"chain_id": "dash-{{ ( 'devnet-' + dash_devnet_name if dash_network == 'devnet' else dash_network ) if tenderdash_chain_id is not defined else tenderdash_chain_id }}",
"initial_height": "0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep genesis_time, initial_height, initial_core_chain_locked_height, consensus_params, and quorum_type to make it more verbose and reduce future confusions.

@lklimek shall we rename:

  • threshold_public_key -> validator_quorum_threshold_public_key
  • quorum_type -> validator_quorum_type
  • quorum_hash -> validator_quorum_hash

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@strophy
Copy link
Collaborator Author

strophy commented Dec 17, 2022

Closed in favour of #409

@strophy strophy closed this Dec 17, 2022
@strophy strophy deleted the simplify-genesis branch December 29, 2022 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants