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: #12
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
Prathamesh Musale 2024-07-24 11:33:35 +00:00 committed by nabarun
parent 7e7b355c0f
commit 776383ac52

View File

@ -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 <<EOF > 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 <bridge-deployment-absolute-path> <stage0-deployment-absolute-path>
# Fetch account holdings from bridge
./scripts/fetch-account-holdings.sh <bridge-deployment-absolute-path> eth-account-holdings.json
# Generate the genesis file
./scripts/generate-stage1-genesis.sh <stage0-deployment-absolute-path> eth-account-holdings.json
# Expected output:
# Genesis file for stage1 written to output/genesis.json