Update steps to generate genesis file for stage1 chain

This commit is contained in:
Prathamesh Musale 2024-07-24 16:29:44 +05:30
parent 7e7b355c0f
commit 2a40275df7

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 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 ```bash
cat <<EOF > stage0-deployment/config.env
# Set to true to enable adding participants functionality of the onboarding module # Set to true to enable adding participants functionality of the onboarding module
ONBOARDING_ENABLED=true ONBOARDING_ENABLED=true
EOF
``` ```
- Create a deployment for stage 1: - Create a deployment for stage 1:
@ -892,7 +894,11 @@
```bash ```bash
cd ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd 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: # Expected output:
# Genesis file for stage1 written to output/genesis.json # Genesis file for stage1 written to output/genesis.json