Skip to content

Commit

Permalink
add changes on config.yml while testing price-feeder
Browse files Browse the repository at this point in the history
  • Loading branch information
jelysn committed Sep 13, 2023
1 parent efbd239 commit 5b0d3dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ accounts:
coins:
- 9000000000000000uelys
- 100000000ueden
mnemonic: olympic slide park figure frost benefit deer reform fly pull price airport submit monitor silk insect uphold convince pupil project ignore roof warfare slight
- name: seed
coins:
- 9000000000000000uelys
Expand Down
5 changes: 3 additions & 2 deletions x/amm/client/cli/query_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import (

func CmdListPool() *cobra.Command {
cmd := &cobra.Command{
Use: "list-pool",
Short: "list all pool",
Use: "list-pool",
Short: "list all pool",
Example: "elysd query amm list-pool",
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)

Expand Down
7 changes: 4 additions & 3 deletions x/amm/client/cli/tx_create_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ var _ = strconv.Itoa(0)

func CmdCreatePool() *cobra.Command {
cmd := &cobra.Command{
Use: "create-pool [weights] [initial-deposit] [swap-fee] [exit-fee]",
Short: "create a new pool and provide the liquidity to it",
Args: cobra.ExactArgs(6),
Use: "create-pool [weights] [initial-deposit] [swap-fee] [exit-fee]",
Short: "create a new pool and provide the liquidity to it",
Example: `elysd tx amm create-pool 100ueden,100uelys 1000000ueden,1000000uelys 0.00 0.00 --from=treasury --keyring-backend=test --chain-id=elystestnet-1 --yes --gas=1000000`,
Args: cobra.ExactArgs(4),
RunE: func(cmd *cobra.Command, args []string) (err error) {
argWeights, err := sdk.ParseCoinsNormalized(args[0])
if err != nil {
Expand Down

0 comments on commit 5b0d3dc

Please sign in to comment.