Remove commented code
This commit is contained in:
parent
3504ae60e3
commit
1107889077
@ -9,7 +9,6 @@ set -e
|
|||||||
if [ ! -z $DEV_ETH_GAS_PRICE ]; then
|
if [ ! -z $DEV_ETH_GAS_PRICE ]; then
|
||||||
gas_price_arg="--gas-price $DEV_ETH_GAS_PRICE"
|
gas_price_arg="--gas-price $DEV_ETH_GAS_PRICE"
|
||||||
fee_price_arg="--fee-price $DEV_ETH_GAS_PRICE"
|
fee_price_arg="--fee-price $DEV_ETH_GAS_PRICE"
|
||||||
#>&2 echo using static gas price $DEV_ETH_GAS_PRICE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wait for the backend to be up, if we know where it is.
|
# Wait for the backend to be up, if we know where it is.
|
||||||
@ -109,19 +108,6 @@ fi
|
|||||||
mkdir -p $DEV_DATA_DIR
|
mkdir -p $DEV_DATA_DIR
|
||||||
>&2 echo using data dir $DEV_DATA_DIR for environment variable dump
|
>&2 echo using data dir $DEV_DATA_DIR for environment variable dump
|
||||||
|
|
||||||
# this is consumed in downstream services to set environment variables
|
|
||||||
#cat << EOF > $DEV_DATA_DIR/.env
|
|
||||||
#export CIC_REGISTRY_ADDRESS=$CIC_REGISTRY_ADDRESS
|
|
||||||
#export CIC_TRUST_ADDRESS=$DEV_ETH_ACCOUNT_CONTRACT_DEPLOYER
|
|
||||||
#export CIC_DECLARATOR_ADDRESS=$CIC_DECLARATOR_ADDRESS
|
|
||||||
#EOF
|
|
||||||
|
|
||||||
#cat ./envlist | bash from_env.sh > $DEV_DATA_DIR/.env_all
|
|
||||||
#cat ./envlist
|
|
||||||
# popd
|
|
||||||
|
|
||||||
#CIC_REGISTRY_ADDRESS=$CIC_REGISTRY_ADDRESS
|
|
||||||
#CIC_DECLARATOR_ADDRESS=$CIC_DECLARATOR_ADDRESS
|
|
||||||
confini-dump --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 --prefix export > ${DEV_DATA_DIR}/env_reset
|
||||||
|
|
||||||
cat ${DEV_DATA_DIR}/env_reset
|
cat ${DEV_DATA_DIR}/env_reset
|
||||||
|
@ -44,7 +44,6 @@ cic-eth-tag -i $CHAIN_SPEC TRANSFER_AUTHORIZATION_OWNER $DEV_ETH_ACCOUNT_TRANSFE
|
|||||||
|
|
||||||
>&2 echo "create account for accounts index writer"
|
>&2 echo "create account for accounts index writer"
|
||||||
DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER=`CONFINI_DIR=$empty_config_dir cic-eth-create $debug --redis-host $REDIS_HOST --redis-host-callback=$REDIS_HOST --redis-port-callback=$REDIS_PORT --no-register`
|
DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER=`CONFINI_DIR=$empty_config_dir cic-eth-create $debug --redis-host $REDIS_HOST --redis-host-callback=$REDIS_HOST --redis-port-callback=$REDIS_PORT --no-register`
|
||||||
#echo DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER=$DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER >> $env_out_file
|
|
||||||
cic-eth-tag -i $CHAIN_SPEC ACCOUNT_REGISTRY_WRITER $DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER
|
cic-eth-tag -i $CHAIN_SPEC ACCOUNT_REGISTRY_WRITER $DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER
|
||||||
>&2 echo "add acccounts index writer account as writer on contract"
|
>&2 echo "add acccounts index writer account as writer on contract"
|
||||||
eth-accounts-index-writer -s -u -y $WALLET_KEY_FILE -i $CHAIN_SPEC -p $ETH_PROVIDER -e $account_index_address -ww $debug $DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER
|
eth-accounts-index-writer -s -u -y $WALLET_KEY_FILE -i $CHAIN_SPEC -p $ETH_PROVIDER -e $account_index_address -ww $debug $DEV_ETH_ACCOUNT_ACCOUNT_REGISTRY_WRITER
|
||||||
@ -78,8 +77,6 @@ export DEV_ETH_SARAFU_TOKEN_ADDRESS=$DEV_ETH_RESERVE_ADDRESS
|
|||||||
>&2 echo "transfer tokens to token gifter address"
|
>&2 echo "transfer tokens to token gifter address"
|
||||||
>&2 erc20-transfer -s -u -y $WALLET_KEY_FILE -i $CHAIN_SPEC -p $ETH_PROVIDER --fee-limit 100000 -e $reserve_address -w $debug -a $DEV_ETH_ACCOUNT_SARAFU_GIFTER ${DEV_TOKEN_AMOUNT:0:-1}
|
>&2 erc20-transfer -s -u -y $WALLET_KEY_FILE -i $CHAIN_SPEC -p $ETH_PROVIDER --fee-limit 100000 -e $reserve_address -w $debug -a $DEV_ETH_ACCOUNT_SARAFU_GIFTER ${DEV_TOKEN_AMOUNT:0:-1}
|
||||||
|
|
||||||
#echo -n 0 > $init_level_file
|
|
||||||
|
|
||||||
#CONFINI_DIR=$_CONFINI_DIR
|
#CONFINI_DIR=$_CONFINI_DIR
|
||||||
# Remove the SEND (8), QUEUE (16) and INIT (2) locks (or'ed), set by default at migration
|
# Remove the SEND (8), QUEUE (16) and INIT (2) locks (or'ed), set by default at migration
|
||||||
cic-eth-ctl -i $CHAIN_SPEC unlock INIT
|
cic-eth-ctl -i $CHAIN_SPEC unlock INIT
|
||||||
|
Loading…
Reference in New Issue
Block a user