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

make clearer distinction between init-network source file and the genesis file #45

Closed
Tracked by #2004
tzemanovic opened this issue Jan 7, 2022 · 2 comments · Fixed by #2088
Closed
Tracked by #2004

Comments

@tzemanovic
Copy link
Member

tzemanovic commented Jan 7, 2022

We use a source network TOML config to setup a network (using the init-network cmd). This file drives few different things:

  • genesis file for the ledger
  • config file for the ledger and intent gossiper
  • global config file with the chain ID set to the created network's ID
  • a setup directory for each genesis validator and one for all the other accounts that do not belong to any validator with:
    • genesis file for the ledger
    • config file for the ledger and intent gossiper
    • global config file with the chain ID set to the created network's ID
    • a wallet with generated addresses and keys (public keys can also be set in the source file, in which case we don't generate new ones)

This source network file is currently in the genesis module and we refer to it as "source genesis file" in some places, which is a bit confusing. We should refactor it out from the genesis module and give it a clearer name. Perhaps e.g. "network template".

┆Issue is synchronized with this Asana task by Unito

@cwgoes
Copy link
Contributor

cwgoes commented Jan 12, 2023

@Fraccaman do you know the status of this?

@tzemanovic
Copy link
Member Author

@Fraccaman do you know the status of this?

this will be closed by #685

@batconjurer batconjurer mentioned this issue Nov 3, 2023
2 tasks
phy-chain pushed a commit to phy-chain/namada that referenced this issue Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Tested in Devnet
4 participants