This commit is contained in:
2021-09-22 15:15:54 +03:00
parent 34d4c9389c
commit e7e697c7db
7 changed files with 10 additions and 16 deletions

View File

@@ -1,6 +0,0 @@
ls /tmp/cic/config/
cat /tmp/cic/config/env_reset
exit
cat /tmp/cic/config/
cat /tmp/cic/config/env_reset
exit

View File

@@ -120,6 +120,9 @@ export CIC_DEFAULT_TOKEN_SYMBOL=$CIC_DEFAULT_TOKEN_SYMBOL
export TOKEN_NAME=$TOKEN_NAME
EOF
confini-dump -vv --schema-module chainlib.eth.data.config --schema-module cic_eth.data.config --schema-dir ./config --prefix export > ${DEV_DATA_DIR}/env_reset
confini-dump --schema-module chainlib.eth.data.config --schema-module cic_eth.data.config --schema-dir ./config
set +a
set +e

View File

@@ -22,11 +22,6 @@ fi
if [[ $((RUN_MASK & 2)) -eq 2 ]]
then
>&2 echo -e "\033[;96mRUNNING\033[;39m RUN_MASK 2 - custodial service initialization"
if [ -f $DEV_DATA_DIR/env_reset ]; then
echo "found previous env_reset file"
cat $DEV_DATA_DIR/env_reset
source $DEV_DATA_DIR/env_reset;
fi
./seed_cic_eth.sh
if [ $? -ne "0" ]; then
>&2 echo -e "\033[;31mFAILED\033[;39m RUN_MASK 2 - custodial service initialization"

View File

@@ -82,7 +82,7 @@ cic-eth-ctl -i $CHAIN_SPEC unlock INIT
cic-eth-ctl -i $CHAIN_SPEC unlock SEND
cic-eth-ctl -i $CHAIN_SPEC unlock QUEUE
#confini-dump --schema-module chainlib.eth.data.config --schema-module cic_eth.data.config --schema-dir ./config
confini-dump --schema-module chainlib.eth.data.config --schema-module cic_eth.data.config --schema-dir ./config
set +a
set +e