diff --git a/ops/stage0-to-stage1.md b/ops/stage0-to-stage1.md index 56550aa..5fc5e04 100644 --- a/ops/stage0-to-stage1.md +++ b/ops/stage0-to-stage1.md @@ -51,6 +51,10 @@ Once all the participants have completed their onboarding, stage0 laconicd chain # Validator allocation: 2000000000000000 (10^15) ./scripts/generate-stage1-genesis-using-allocations.sh $DEPLOYMENTS_DIR/stage0-deployment 1000000000000 2000000000000000 + # If you see the error "Error: genesis.json file already exists: /root/.laconicd/config/genesis.json", + # remove the temporary data directory and try again + sudo rm -rf stage1-genesis + # Expected output: # Genesis file for stage1 written to output/genesis.json @@ -69,6 +73,24 @@ 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