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: cerc-io/testnet-laconicd-stack#12 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
parent
7e7b355c0f
commit
776383ac52
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user