From 3dda82d172a412c64e7d9000dd78d7da0fe3326c Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 16 Aug 2024 13:02:00 +0530 Subject: [PATCH] Use stage0 laconicd build for exporting stage0 state --- .../scripts/generate-stage1-genesis-using-allocations.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis-using-allocations.sh b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis-using-allocations.sh index 6628183..28c5434 100755 --- a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis-using-allocations.sh +++ b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis-using-allocations.sh @@ -22,11 +22,12 @@ mkdir -p $STAGE1_GENESIS_DIR # -------- # Export onboarding module state from stage0 laconicd chain +# Use cerc/laconicd-stage0:local image for stage0 laconicd build onboarding_state_file="$STAGE1_GENESIS_DIR/stage0-onboarding-state.json" docker run -it \ -v ${STAGE0_DEPLOYMENT_DIR}/data/laconicd-data:/root/stage0-deployment/.laconicd \ - cerc/laconicd:local bash -c "laconicd export --home /root/stage0-deployment/.laconicd" \ + cerc/laconicd-stage0:local bash -c "laconicd export --home /root/stage0-deployment/.laconicd" \ | jq .app_state.onboarding > "$onboarding_state_file" stage0_participants=$(cat "$onboarding_state_file" | jq .participants)