Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
log provided feature digests in bios_boot.sh and try a different way …
Browse files Browse the repository at this point in the history
…of iterating through the provided list #6115
  • Loading branch information
arhag committed Apr 5, 2019
1 parent 04e7b90 commit dd782de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testnet.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ if [ -z "$bioscontractpath" ]; then
bioscontractpath="unittests/contracts/eosio.bios"
fi

featuredigests=($FEATURE_DIGESTS)

wddir=eosio-ignition-wd
wdaddr=localhost:8899
wdurl=http://$wdaddr
Expand All @@ -42,6 +40,8 @@ mkdir $wddir
step=1
echo Initializing ignition sequence at $(date) | tee $logfile

echo "FEATURE_DIGESTS: $FEATURE_DIGESTS" >> $logfile

echo "http-server-address = $wdaddr" > $wddir/config.ini

programs/keosd/keosd --config-dir $wddir --data-dir $wddir 2> $wddir/wdlog.txt &
Expand Down Expand Up @@ -85,7 +85,7 @@ wcmd create --to-console -n ignition
ecmd set contract eosio $bioscontractpath eosio.bios.wasm eosio.bios.abi

# Preactivate all digests
for digest in "${featuredigests[@]}";
for digest in $FEATURE_DIGESTS;
do
ecmd push action eosio preactivate "{\"feature_digest\":\"$digest\"}" -p eosio
done
Expand Down

0 comments on commit dd782de

Please sign in to comment.