Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Update setzer-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
nanexcool authored Dec 4, 2017
1 parent 9f4ae14 commit 8ca0cbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libexec/setzer/setzer-bot
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ if ! [[ $SETZER_BOT_INIT ]]; then
[[ $SETZER_SPREAD ]] || export SETZER_SPREAD=1

[[ $SETZER_INTERVAL_SECONDS ]] || export SETZER_INTERVAL_SECONDS=60
[[ $SETZER_WAIT_FOR_RESEND ]] || export SETZER_WAIT_FOR_RESEND=90
[[ $SETZER_WAIT_FOR_RESEND ]] || export SETZER_WAIT_FOR_RESEND=120

[[ $SETZER_AUTO ]] && echo AUTO mode ON

# Gas stuff

[[ $SETZER_INITIAL_GAS_PRICE ]] || export SETZER_INITIAL_GAS_PRICE=`seth --to-wei 1 gwei`
[[ $SETZER_GAS_PRICE_INCREMENT ]] || export SETZER_GAS_PRICE_INCREMENT=`seth --to-wei 1 gwei`
[[ $SETZER_MAX_GAS_PRICE ]] || export SETZER_MAX_GAS_PRICE=`seth --to-wei 10 gwei`
[[ $SETZER_INITIAL_GAS_PRICE ]] || export SETZER_INITIAL_GAS_PRICE=`seth --to-wei 10 gwei`
[[ $SETZER_GAS_PRICE_INCREMENT ]] || export SETZER_GAS_PRICE_INCREMENT=`seth --to-wei 2 gwei`
[[ $SETZER_MAX_GAS_PRICE ]] || export SETZER_MAX_GAS_PRICE=`seth --to-wei 21 gwei`

# TODO: these should be automatic
export ETH_GAS_PRICE=$SETZER_INITIAL_GAS_PRICE
Expand Down

0 comments on commit 8ca0cbf

Please sign in to comment.