Skip to content

Commit

Permalink
Set lines with direct or voting option via config file
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalabasquer committed May 16, 2019
1 parent 6407ede commit f930502
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions kovan-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ done
# shellcheck source=/dev/null
./scripts/set-ilks-mat

# shellcheck source=/dev/null
./scripts/set-ilks-line
setLinesMode=$(jq -r ".setLinesMode" "$CONFIG_FILE")
if [[ $setLinesMode = "direct" ]]; then
# shellcheck source=/dev/null
./scripts/set-ilks-line
elif [[ $setLinesMode = "vote" ]]; then
# shellcheck source=/dev/null
./scripts/set-ilks-spell-line
fi

# shellcheck source=/dev/null
./scripts/set-ilks-duty
Expand Down
1 change: 1 addition & 0 deletions kovan.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"flop_beg": "5",
"flop_ttl": "10800",
"flop_tau": "172800",
"setLinesMode": "direct",
"tokens": {
"ETH": {
"pip": "0x8C73Ec0fBCdEC6b8C060BC224D94740FD41f3774",
Expand Down

0 comments on commit f930502

Please sign in to comment.