Replace laconic2 with laconic
This commit is contained in:
parent
12833bb840
commit
e53fe7bce7
@ -1,7 +1,7 @@
|
||||
services:
|
||||
laconicd:
|
||||
restart: unless-stopped
|
||||
image: cerc/laconic2d:local
|
||||
image: cerc/laconicd:local
|
||||
command: ["bash", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
|
||||
environment:
|
||||
TEST_AUCTION_ENABLED: ${TEST_AUCTION_ENABLED:-false}
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build cerc/laconic2d
|
||||
# Build cerc/laconicd
|
||||
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
||||
docker build -t cerc/laconic2d:local ${build_command_args} ${CERC_REPO_BASE_DIR}/laconic2d
|
||||
docker build -t cerc/laconicd:local ${build_command_args} ${CERC_REPO_BASE_DIR}/laconic2d
|
||||
|
@ -33,7 +33,7 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
|
||||
|
||||
This should create the following docker images locally:
|
||||
|
||||
* `cerc/laconic2d`
|
||||
* `cerc/laconicd`
|
||||
* `cerc/laconic-registry-cli`
|
||||
* `cerc/webapp-base`
|
||||
* `cerc/laconic-console-host`
|
||||
|
@ -37,7 +37,7 @@ echo "Fetched Ethereum account holdings"
|
||||
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/laconic2d:local bash -c "laconicd export --home /root/stage0-deployment/.laconicd" \
|
||||
cerc/laconicd: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)
|
||||
@ -64,12 +64,12 @@ echo "Calculated allocations for stage 1 chain"
|
||||
|
||||
# --------
|
||||
|
||||
# Run a script with cerc/laconic2d:local to generate the genesis file
|
||||
# Run a script with cerc/laconicd:local to generate the genesis file
|
||||
# with onboarding module state and given allocations
|
||||
docker run -it \
|
||||
-v ./stage1-genesis:/root/.laconicd \
|
||||
-v ./scripts:/scripts \
|
||||
cerc/laconic2d:local bash -c "/scripts/genesis.sh"
|
||||
cerc/laconicd:local bash -c "/scripts/genesis.sh"
|
||||
|
||||
# Copy over the genesis file to output folder
|
||||
OUTPUT_DIR=output
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
# Note: Needs to be run in a docker container with image cerc/laconic2d:local
|
||||
# Note: Needs to be run in a docker container with image cerc/laconicd:local
|
||||
|
||||
CHAINID="laconic_9000-1"
|
||||
STAGE1_MONIKER=localtestnet-stage-1
|
||||
|
@ -4,6 +4,6 @@ description: "A laconicd fixturenet"
|
||||
repos:
|
||||
- git.vdb.to/cerc-io/laconic2d
|
||||
containers:
|
||||
- cerc/laconic2d
|
||||
- cerc/laconicd
|
||||
pods:
|
||||
- fixturenet-laconicd
|
||||
|
Loading…
Reference in New Issue
Block a user