From 6bc3d2fcde1134abe1e6ffac21628fed2c006e3f Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 1 Apr 2024 12:19:54 +0000 Subject: [PATCH] the chain-id needs to be set before anything else (#25) otherwise this error presents itself silently: ``` updated config is invalid: client config invalid: chain-id is empty ``` Co-authored-by: zramsay Reviewed-on: https://git.vdb.to/cerc-io/laconic2d/pulls/25 Co-authored-by: zramsay Co-committed-by: zramsay --- scripts/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.sh b/scripts/init.sh index b3a324c0..4812bee9 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -21,8 +21,8 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then make install fi - laconicd config set client keyring-backend $KEYRING laconicd config set client chain-id $CHAINID + laconicd config set client keyring-backend $KEYRING # if $KEY exists it should be deleted laconicd keys add $KEY --keyring-backend $KEYRING