Skip to content

Commit f6dcc98

Browse files
authored
Merge pull request #634 from tendermint/release/v0.13.2
release/v0.13.2
2 parents b4e95f4 + db5e1bb commit f6dcc98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1397
-947
lines changed

.github/workflows/devices.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
password: ${{ secrets.DOCKERHUB_TOKEN }}
3232

3333
- name: Build and push
34-
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport:amd64 --file .docker/Dockerfile.amd64 --platform linux/amd64 --cache-from ${{ secrets.DOCKERHUB_USERNAME }}/starport:amd64cache --cache-to ${{ secrets.DOCKERHUB_USERNAME }}/starport:amd64cache --push --progress tty .
34+
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport --file .docker/Dockerfile.amd64 --platform linux/amd64 --cache-from ${{ secrets.DOCKERHUB_USERNAME }}/starport:amd64cache --cache-to ${{ secrets.DOCKERHUB_USERNAME }}/starport:amd64cache --push --progress tty .
3535

3636
arm64:
3737
name: arm64 docker
@@ -56,7 +56,7 @@ jobs:
5656
password: ${{ secrets.DOCKERHUB_TOKEN }}
5757

5858
- name: Build and push
59-
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport:arm64 --file .docker/Dockerfile.arm64 --platform linux/arm64 --cache-from ${{ secrets.DOCKERHUB_USERNAME }}/starport:arm64cache --cache-to ${{ secrets.DOCKERHUB_USERNAME }}/starport:arm64cache --push --progress tty .
59+
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport --file .docker/Dockerfile.arm64 --platform linux/arm64 --cache-from ${{ secrets.DOCKERHUB_USERNAME }}/starport:cache --cache-to ${{ secrets.DOCKERHUB_USERNAME }}/starport:cache --push --progress tty .
6060

6161
pi:
6262
name: Starport Pi

.github/workflows/test-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: go get -u github.com/gobuffalo/packr/v2/packr2
2727

2828
- name: Set up relayer
29-
run: git clone https://github.com/ovrclk/relayer && cd relayer && git checkout 3080dab10e37e6db9e691c343b1c0cdb6d845753 && make install
29+
run: git clone https://github.com/cosmos/relayer && cd relayer && git checkout 1daec66da1700c9fcd8900dbf06c70f2fd838cdf && make install
3030

3131
- name: Checkout
3232
uses: actions/checkout@v2

.github/workflows/test-relayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: go get -u github.com/gobuffalo/packr/v2/packr2
2727

2828
- name: Set up relayer
29-
run: git clone https://github.com/ovrclk/relayer && cd relayer && git checkout 3080dab10e37e6db9e691c343b1c0cdb6d845753 && make install
29+
run: git clone https://github.com/cosmos/relayer && cd relayer && git checkout 1daec66da1700c9fcd8900dbf06c70f2fd838cdf && make install
3030

3131
- name: Checkout
3232
uses: actions/checkout@v2

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tasks:
1414
brew install gh
1515
1616
# install rly
17-
(cd /tmp && git clone https://github.com/ovrclk/relayer && cd relayer && git checkout 3080dab10e37e6db9e691c343b1c0cdb6d845753 && make -C /tmp/relayer install)
17+
(cd /tmp && git clone https://github.com/cosmos/relayer && cd relayer && git checkout 1daec66da1700c9fcd8900dbf06c70f2fd838cdf && make -C /tmp/relayer install)
1818
1919
command: |
2020
export VUE_APP_CUSTOM_URL=$(gp url)

docs/1 Introduction/2 Install.md

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,32 @@
11
# Install Starport
22

3-
**Prerequisites:** If you want to install Starport locally, make sure to have [Golang >=1.14](https://golang.org/) and [Node.js >=12.19.0](https://nodejs.org/) installed on your system. The latest version of Starport also requires [Protocol Buffer compiler](https://grpc.io/docs/protoc-installation/) to be installed.
3+
**Prerequisites:** If you want to install Starport locally, make sure to have [Golang >=1.14](https://golang.org/). The latest version of Starport also requires [Protocol Buffer compiler](https://grpc.io/docs/protoc-installation/) to be installed. [Node.js >=12.19.0](https://nodejs.org/) is used to build the welcome screen, block explorer and to run the web scaffold.
44

5-
## Installation Options
5+
To install Starport:
66

7-
### NPM
8-
9-
```bash
10-
npm i -g @tendermint/starport
117
```
8+
curl https://i.jpillora.com/tendermint/starport! | bash
9+
```
10+
11+
This command will download the latest `starport` binary from Github and install it into `/usr/local/bin`. To learn more about how to install previous versions of the binary, refer to the [documentation](https://github.com/jpillora/installer).
1212

13-
### macOS with Homebrew
13+
## macOS with Homebrew
1414

1515
```
1616
brew install tendermint/tap/starport
1717
```
1818

19-
<!-- ### Debian/Ubuntu with Snapcraft
19+
## Build from source
2020

21-
```bash
22-
snap install --classic node
2321
```
24-
25-
Append your current working directory to the environment variable `PATH`:
26-
27-
```
28-
export PATH=$PATH:$PWD/node_modules/.bin/
29-
``` -->
30-
31-
### Build from source on Mac, Linux, and WSL
32-
33-
```bash
3422
git clone https://github.com/tendermint/starport && cd starport && make
3523
```
3624

37-
You'll find a freshly-baked `starport` binary in the build folder.
25+
This will build and install `starport` binary into `$GOBIN`.
3826

39-
Note: When building from source, it is important to have your GOPATH set correctly. When in doubt, the folllowing should do:
27+
Note: When building from source, it is important to have your `$GOPATH` set correctly. When in doubt, the folllowing should do:
4028

41-
```bash
29+
```
4230
mkdir ~/go
4331
export GOPATH=~/go
4432
```

docs/1 Introduction/6 Starport IBC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The two chains are now connected via IBC and you have successfully created a rel
5050

5151
## Sending tokens from `foo` to `bar`
5252

53-
Once the chains are connected, you can use a [relayer](https://github.com/ovrclk/relayer) CLI `rly` to create an IBC token send transaction:
53+
Once the chains are connected, you can use a [relayer](https://github.com/cosmos/relayer) CLI `rly` to create an IBC token send transaction:
5454

5555
```
5656
rly tx transfer foo bar 5token $(rly chains address bar)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ require (
4949
golang.org/x/mod v0.4.0
5050
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
5151
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
52-
golang.org/x/sys v0.0.0-20201223074533-0d417f636930 // indirect
52+
golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061 // indirect
5353
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf // indirect
5454
google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154 // indirect
5555
google.golang.org/grpc v1.33.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
928928
golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
929929
golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
930930
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
931-
golang.org/x/sys v0.0.0-20201223074533-0d417f636930 h1:vRgIt+nup/B/BwIS0g2oC0haq0iqbV3ZA+u6+0TlNCo=
932-
golang.org/x/sys v0.0.0-20201223074533-0d417f636930/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
931+
golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061 h1:DQmQoKxQWtyybCtX/3dIuDBcAhFszqq8YiNeS6sNu1c=
932+
golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
933933
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
934934
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf h1:MZ2shdL+ZM/XzY3ZGOnh4Nlpnxz5GSOhOmtHo3iPU6M=
935935
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=

integration/env_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ func (e env) Scaffold(appName, sdkVersion string) (appPath string) {
164164
step.Workdir(root),
165165
)),
166166
)
167+
168+
// Cleanup the home directory of the app
169+
e.t.Cleanup(func() {
170+
switch sdkVersion {
171+
case Stargate:
172+
os.RemoveAll(filepath.Join(e.Home(), fmt.Sprintf(".%s", appName)))
173+
case Launchpad:
174+
os.RemoveAll(filepath.Join(e.Home(), fmt.Sprintf(".%sd", appName)))
175+
os.RemoveAll(filepath.Join(e.Home(), fmt.Sprintf(".%scli", appName)))
176+
}
177+
})
178+
167179
return filepath.Join(root, appName)
168180
}
169181

integration/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
relayerVersion = "3080dab10e37e6db9e691c343b1c0cdb6d845753"
20+
relayerVersion = "1daec66da1700c9fcd8900dbf06c70f2fd838cdf"
2121
)
2222

2323
func TestMain(m *testing.M) {

0 commit comments

Comments
 (0)