From 776383ac52fa6b36c82ade6958643246ba661f93 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 24 Jul 2024 11:33:35 +0000 Subject: [PATCH] Update steps to generate genesis file for stage1 chain (#12) Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Reviewed-on: https://git.vdb.to/cerc-io/testnet-laconicd-stack/pulls/12 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- testnet-onboarding-demo.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/testnet-onboarding-demo.md b/testnet-onboarding-demo.md index 4def7d3..66958b1 100644 --- a/testnet-onboarding-demo.md +++ b/testnet-onboarding-demo.md @@ -150,11 +150,13 @@ laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd deploy create --spec-file stage0-spec.yml --deployment-dir stage0-deployment ``` - - In `stage0-deployment/config.env` file, set the following env variable: + - Update `stage0-deployment` env configuration: ```bash + cat < stage0-deployment/config.env # Set to true to enable adding participants functionality of the onboarding module ONBOARDING_ENABLED=true + EOF ``` - Create a deployment for stage 1: @@ -892,7 +894,11 @@ ```bash cd ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd - ./scripts/generate-stage1-genesis.sh + # Fetch account holdings from bridge + ./scripts/fetch-account-holdings.sh eth-account-holdings.json + + # Generate the genesis file + ./scripts/generate-stage1-genesis.sh eth-account-holdings.json # Expected output: # Genesis file for stage1 written to output/genesis.json