Add instructions to run stage1 with slashing module #23

Merged
nabarun merged 5 commits from pm-update-stage1-docs into main 2024-08-16 14:52:46 +00:00
Showing only changes of commit 59a1562c7f - Show all commits

View File

@ -36,7 +36,31 @@ Once all the participants have completed their onboarding, stage0 laconicd chain
## Start stage1
* Use the scripts in fixturenet-laconicd stack to generate genesis file for stage1 using onboarding participants from stage0 chain with token allocations:
* Rebuild laconicd container with `>=v0.1.7` to enable `slashing` module:
```bash
# laconicd source
cd ~/cerc/laconicd
# Pull latest changes
git pull
# Confirm the latest commit hash
git log
# Rebuild the containers
cd /srv/laconicd
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd build-containers --force-rebuild
```
* Fetch updated scripts in fixturenet-laconicd-stack:
```bash
laconic-so fetch-stack git.vdb.to/cerc-io/fixturenet-laconicd-stack --pull
```
* Use the scripts in fixturenet-laconicd-stack to generate genesis file for stage1 using onboarding participants from stage0 chain with token allocations:
```bash
cd /srv/laconicd
@ -73,24 +97,6 @@ Once all the participants have completed their onboarding, stage0 laconicd chain
cp ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd/output/genesis.json stage1-deployment/data/genesis-config/genesis.json
```
* Rebuild laconicd container with latest code to enable `slashing` module:
```bash
# laconicd source
cd ~/cerc/laconicd
# Pull latest changes
git pull
# Confirm the latest commit hash
git log
# Rebuild the containers
cd /srv/laconicd
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd build-containers --force-rebuild
```
* Start the stage1 deployment:
```bash