Skip to content

Commit

Permalink
chore: release v0.21.2 (#2498)
Browse files Browse the repository at this point in the history
chore: release v0.21.2
  • Loading branch information
ilgooz authored May 16, 2022
2 parents f6f726d + ce372d0 commit 83cee38
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 14 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ on:
- develop

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: mktcode/consecutive-workflow-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

build_and_deploy:
runs-on: ubuntu-latest
needs: [ consecutiveness ]

steps:
- name: Checkout
Expand Down Expand Up @@ -41,4 +49,4 @@ jobs:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITE_HQ }}"
channelId: live
target: docs.ignite.com
projectId: ignite-hq
projectId: ignite-hq
8 changes: 8 additions & 0 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ on:
- develop

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: mktcode/consecutive-workflow-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
needs: [ consecutiveness ]

steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ on:
- develop

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: mktcode/consecutive-workflow-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

release-nightly:
runs-on: ubuntu-latest
needs: [ consecutiveness ]
env:
working-directory: go/src/github.com/ignite-hq/cli

Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [`v0.21.2`](https://github.com/ignite-hq/cli/releases/tag/v0.21.2)

### Fixes

- Set min. gas to zero when running `chain` command set

## [`v0.21.1`](https://github.com/ignite-hq/cli/releases/tag/v0.21.1)

### Features
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.1
github.com/takuoki/gocase v1.0.0
github.com/tendermint/flutter/v2 v2.0.3
github.com/tendermint/flutter/v2 v2.0.4
github.com/tendermint/spn v0.2.1-0.20220511154430-aeab7a5b2bc0
github.com/tendermint/tendermint v0.34.19
github.com/tendermint/tm-db v0.6.7
Expand Down Expand Up @@ -226,8 +226,8 @@ require (
go.etcd.io/bbolt v1.3.6 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect
golang.org/x/tools v0.1.10 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/genproto v0.0.0-20220317150908-0efb43f6373e // indirect
Expand Down
11 changes: 6 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,8 @@ github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s
github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U=
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI=
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk=
github.com/tendermint/flutter/v2 v2.0.3 h1:+J3Q6FRdcDTLkrcPQHY306J7wRPEKxfU2K2xCVFJGqs=
github.com/tendermint/flutter/v2 v2.0.3/go.mod h1:hnaVhWhzv2Od1LqZFWrRKwiOHeMonsB9EIWP0AGMPw0=
github.com/tendermint/flutter/v2 v2.0.4 h1:0/FndUq1YgzNwfaDMZYHul6hb6A5yBX2nEZfJRaxZcI=
github.com/tendermint/flutter/v2 v2.0.4/go.mod h1:hnaVhWhzv2Od1LqZFWrRKwiOHeMonsB9EIWP0AGMPw0=
github.com/tendermint/fundraising v0.3.0 h1:VtHfmVlAS93MUDlt6Em21l3taw6s9kLY/w8Cd1FB9fM=
github.com/tendermint/fundraising v0.3.0/go.mod h1:oJFZUZ/GsACtkYeWScKpHLdqMUThNWpMAi/G47LJUi4=
github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E=
Expand Down Expand Up @@ -1760,8 +1760,8 @@ golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211208012354-db4efeb81f4b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk=
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -1922,8 +1922,9 @@ golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 h1:XfKQ4OlFl8okEOr5UvAqFRVj8pY/4yfcXrddB8qAbU0=
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 h1:A9i04dxx7Cribqbs8jf3FQLogkL/CV2YN7hj9KWJCkc=
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand Down
6 changes: 4 additions & 2 deletions ignite/cmd/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ func NewRelayer() *cobra.Command {
Short: "Connect blockchains by using IBC protocol",
}

c.AddCommand(NewRelayerConfigure())
c.AddCommand(NewRelayerConnect())
c.AddCommand(
NewRelayerConfigure(),
NewRelayerConnect(),
)

return c
}
Expand Down
15 changes: 13 additions & 2 deletions ignite/cmd/relayer_configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter"
"github.com/ignite-hq/cli/ignite/pkg/cosmosaccount"
"github.com/ignite-hq/cli/ignite/pkg/relayer"
relayerconfig "github.com/ignite-hq/cli/ignite/pkg/relayer/config"
)

const (
Expand All @@ -31,6 +32,7 @@ const (
flagSourceAddressPrefix = "source-prefix"
flagTargetAddressPrefix = "target-prefix"
flagOrdered = "ordered"
flagReset = "reset"

relayerSource = "source"
relayerTarget = "target"
Expand Down Expand Up @@ -74,6 +76,7 @@ func NewRelayerConfigure() *cobra.Command {
c.Flags().String(flagSourceAccount, "", "Source Account")
c.Flags().String(flagTargetAccount, "", "Target Account")
c.Flags().Bool(flagOrdered, false, "Set the channel as ordered")
c.Flags().BoolP(flagReset, "r", false, "Reset the relayer config")
c.Flags().AddFlagSet(flagSetKeyringBackend())

return c
Expand Down Expand Up @@ -295,8 +298,10 @@ func relayerConfigureHandler(cmd *cobra.Command, args []string) (err error) {
if err != nil {
return err
}

var questions []cliquiz.Question
var (
questions []cliquiz.Question
reset, _ = cmd.Flags().GetBool(flagReset)
)

// get information from prompt if flag not provided
if sourceAccount == "" {
Expand Down Expand Up @@ -358,6 +363,12 @@ func relayerConfigureHandler(cmd *cobra.Command, args []string) (err error) {
}
}

if reset {
if err := relayerconfig.Delete(); err != nil {
return err
}
}

session.StartSpinner("Fetching chain info...")

session.Println()
Expand Down
Binary file modified ignite/pkg/protoc-gen-dart/data/protoc-gen-dart_linux_amd64
Binary file not shown.
Binary file modified ignite/pkg/protoc-gen-dart/data/protoc-gen-dart_linux_arm64
Binary file not shown.
4 changes: 4 additions & 0 deletions ignite/pkg/relayer/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ func Save(c Config) error {
c.Version = supportVersion
return confile.New(confile.DefaultYAMLEncodingCreator, configPath).Save(c)
}

func Delete() error {
return os.RemoveAll(configPath)
}
2 changes: 1 addition & 1 deletion ignite/services/chain/plugin-stargate.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (p *stargatePlugin) appTOML(homePath string, conf chainconfig.Config) error
if err != nil {
return err
}
gas := sdktypes.NewInt64Coin(staked.Denom, 80000)
gas := sdktypes.NewInt64Coin(staked.Denom, 0)
config.Set("minimum-gas-prices", gas.String())

file, err := os.OpenFile(path, os.O_RDWR|os.O_TRUNC, 0644)
Expand Down

0 comments on commit 83cee38

Please sign in to comment.