Skip to content

Commit

Permalink
genesis: introduce a new ValidatorBuilder
Browse files Browse the repository at this point in the history
Introduce a new ValidatorBuilder type for use in creating new validator
networks. The intent of this new config builder is to make clearer the
genesis creation process as well as ensure the environement for each
validator is closer to production (e.g. the root key shouldn't exist in
each validator's secure storage).

For now this builder tries to mimic some of the existing behavior of the
old builder (e.g. treasury and root keys are the same) but the intent is
that this is only temporary until forge is operational.
  • Loading branch information
bmwill authored and bors-libra committed Jun 8, 2021
1 parent f65ebdb commit 409fbad
Show file tree
Hide file tree
Showing 2 changed files with 401 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/management/genesis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub mod command;
mod genesis;
mod key;
pub mod layout;
pub mod validator_builder;
mod validator_config;
mod validator_operator;
mod verify;
Expand Down
Loading

0 comments on commit 409fbad

Please sign in to comment.