You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When anomac utils init-network --chain-id $CHAIN is run on a network configuration file (e.g. namada-cq-1.toml, it creates a .anoma/$CHAIN/setup directory with a subdirectory for each genesis validator containing generated files. This is mostly useful in e2e tests where we want to generate keys for the disposable validator nodes used in tests. For production use where genesis validators should generate keys themselves using anomac utils init-genesis-validator, nothing should be generated here.
We should find a way to split out the test-related functionality from the anoma_app::client::utils::init_network function e.g. we could have a init_test_network function which keeps the current functionality of generating private keys if they are missing, and init_network could instead start warning if things needed for a real network weren't present.
The text was updated successfully, but these errors were encountered:
maybe this could be a flag for init-network something like --gen-missing and when it's not specified and something is missing, it could exit with some validation error. This is also useful for devnet/testnet deployment
yes, but I think this will be solved in #685 that is using different approach for how genesis is setup - init-network doesn't generate any keys anymore. I'll link it to the PR
Building on the functionality coming in anoma/anoma#1053
When
anomac utils init-network --chain-id $CHAIN
is run on a network configuration file (e.g. namada-cq-1.toml, it creates a.anoma/$CHAIN/setup
directory with a subdirectory for each genesis validator containing generated files. This is mostly useful in e2e tests where we want to generate keys for the disposable validator nodes used in tests. For production use where genesis validators should generate keys themselves usinganomac utils init-genesis-validator
, nothing should be generated here.We should find a way to split out the test-related functionality from the
anoma_app::client::utils::init_network
function e.g. we could have ainit_test_network
function which keeps the current functionality of generating private keys if they are missing, andinit_network
could instead start warning if things needed for a real network weren't present.The text was updated successfully, but these errors were encountered: