forked from cerc-io/laconicd
Add flag to enable/disable onboarding of validators (#6)
* Add gql implementation for getParticipant query * Add onboarding enable/disable flag * Remove unnecessary message field from onboardParticipant message * Add instructions to generate gql bindings
This commit is contained in:
@@ -52,6 +52,12 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then
|
||||
update_genesis '.app_state["registry"]["params"]["authority_auction_reveals_duration"]="60s"'
|
||||
fi
|
||||
|
||||
if [[ "$ONBOARDING_ENABLED" == "true" ]]; then
|
||||
echo "Enabling validator onboarding."
|
||||
|
||||
update_genesis '.app_state["onboarding"]["params"]["onboarding_enabled"]=true'
|
||||
fi
|
||||
|
||||
# increase block time (?)
|
||||
update_genesis '.consensus["params"]["block"]["time_iota_ms"]="1000"'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user