forked from dymensionxyz/dymension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add
--gas-prices
flag to bootstrap shell scripts (dymensionxyz…
…#530) Co-authored-by: Artemijs Pavlovs <[email protected]>
- Loading branch information
1 parent
9c1be1f
commit a818e6c
Showing
6 changed files
with
64 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# fund streamer | ||
dymd tx bank send local-user dym1ysjlrjcankjpmpxxzk27mvzhv25e266r80p5pv 300000dym --keyring-backend test -b block -y | ||
|
||
dymd tx bank send local-user \ | ||
dym1ysjlrjcankjpmpxxzk27mvzhv25e266r80p5pv \ | ||
300000dym --keyring-backend test -b block -y --gas-prices 100000000adym | ||
|
||
# create new gauges for lockdrop | ||
echo "Creating gauges for lockdrop of uatom" | ||
dymd tx incentives create-gauge uatom 30dym --duration="60s" --perpetual --from local-user -b block --gas auto -y | ||
|
||
dymd tx incentives create-gauge uatom 30dym --duration="60s" --perpetual --from local-user -b block --gas auto -y --gas-prices 100000000adym | ||
|
||
# create first stream for the LP holders | ||
echo "Gov proposal for creating new stream with LP1 and LP2 as incentives targets" | ||
dymd tx gov submit-legacy-proposal create-stream-proposal 1,2 40,60 200000dym --epoch-identifier minute --from local-user -b block --title sfasfas --description ddasda --deposit 1dym -y | ||
dymd tx gov submit-legacy-proposal create-stream-proposal 1,2 40,60 20000dym --epoch-identifier minute --from local-user -b block --title sfasfas --description ddasda --deposit 11dym -y --gas auto --gas-prices 100000000adym | ||
last_proposal_id=$(dymd q gov proposals -o json | jq '.proposals | map(.id | tonumber) | max') | ||
dymd tx gov vote "$last_proposal_id" yes --from local-user -b block -y | ||
|
||
dymd tx gov vote "$last_proposal_id" yes --from local-user -b block -y --gas-prices 100000000adym | ||
|
||
# create second stream for the Lockdrop | ||
echo "Gov proposal for creating new stream for lockdrop" | ||
dymd tx gov submit-legacy-proposal create-stream-proposal 3 100 100000dym --epoch-identifier minute --from local-user -b block --title sfasfas --description ddasda --deposit 1dym -y | ||
dymd tx gov submit-legacy-proposal create-stream-proposal 3 100 10000dym --epoch-identifier minute --from local-user -b block --title sfasfas --description ddasda --deposit 1dym -y --gas auto --gas-prices 100000000adym | ||
last_proposal_id=$(dymd q gov proposals -o json | jq '.proposals | map(.id | tonumber) | max') | ||
dymd tx gov vote "$last_proposal_id" yes --from local-user -b block -y | ||
|
||
|
||
dymd tx gov vote "$last_proposal_id" yes --from local-user -b block -y --gas-prices 100000000adym | ||
~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/sh | ||
|
||
echo "locking LP1 tokens for 2 weeks" | ||
dymd tx lockup lock-tokens 50000000000000000000gamm/pool/1 --duration="60s" --from pools --keyring-backend=test -b block -y | ||
dymd tx lockup lock-tokens 50000000000000000000gamm/pool/1 --duration="60s" --from pools --keyring-backend=test -b block -y --gas-prices 100000000adym | ||
|
||
echo "locking uatom tokens for 1h" | ||
dymd tx lockup lock-tokens 500000000uatom --duration="3600s" --from user --keyring-backend=test -b block -y | ||
dymd tx lockup lock-tokens 500000000uatom --duration="3600s" --from user --keyring-backend=test -b block -y --gas-prices 100000000adym | ||
|
||
echo "locking dym tokens for 1 day" | ||
dymd tx lockup lock-tokens 100dym --duration="24h" --from user --keyring-backend=test -b block -y | ||
dymd tx lockup lock-tokens 100dym --duration="24h" --from user --keyring-backend=test -b block -y --gas-prices 100000000adym | ||
echo "unlocking dym tokens" | ||
dymd tx lockup begin-unlock-by-id 2 --from user --keyring-backend=test -b block -y | ||
dymd tx lockup begin-unlock-by-id 2 --from user --keyring-backend=test -b block -y --gas-prices 100000000adym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters