From 7ee663f4e810a98ae8e902b03a363e84ae443469 Mon Sep 17 00:00:00 2001 From: Chris Valle Date: Thu, 14 Apr 2022 10:11:05 +0200 Subject: [PATCH 1/2] docs(tutorials/blog): fix grammar and styling (#2256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Apply sentence case * Update docs/guide/blog/connect-blockchain.md Co-authored-by: İlker G. Öztürk Co-authored-by: Chris Valle Co-authored-by: İlker G. Öztürk --- docs/guide/blog/connect-blockchain.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guide/blog/connect-blockchain.md b/docs/guide/blog/connect-blockchain.md index 01eeca174b..e43105415e 100644 --- a/docs/guide/blog/connect-blockchain.md +++ b/docs/guide/blog/connect-blockchain.md @@ -1,19 +1,19 @@ --- -description: Blockchain Client in Go +description: Blockchain client in Go order: 3 --- -# Create a Blockchain Client in Go +# Create a blockchain client in Go Learn how to connect your blockchain to an independent application with RPC. After creating the blog blockchain in this tutorial you will learn how to connect to your blockchain from a separate client. -## Use the Blog Blockchain +## Use the blog blockchain Navigate to a separate directory right next to the `blog` blockchain you built in the [Build a Blog](index.md) tutorial. -## Creating a Blockchain Client +## Creating a blockchain client Create a new directory called `blogclient` on the same level as `blog` directory. As the name suggests, `blogclient` will contain a standalone Go program that acts as a client to your `blog` blockchain. @@ -64,7 +64,7 @@ The `blogclient` will eventually have only two files: - `main.go` for the main logic of the client - `go.mod` for specifying dependencies. -### Main Logic of the Client in main.go +### Main logic of the client in `main.go` Add the following code to your `main.go` file to make a connection to your blockchain from a separate app. @@ -138,7 +138,7 @@ Read the comments in the code carefully to learn details about each line of code To learn more about the `cosmosclient` package, see the Go [cosmosclient](https://pkg.go.dev/github.com/ignite-hq/cli/ignite/pkg/cosmosclient) package documentation. Details are provided to learn how to use the `Client` type with `Options` and `KeyringBackend`. -## Running the Blockchain and the Client +## Run the blockchain and the client Make sure your blog blockchain is still running with `ignite chain serve`. From ae4a86c696c0473e3575ac7b8369cf7271cf6d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0lker=20G=2E=20=C3=96zt=C3=BCrk?= Date: Thu, 14 Apr 2022 13:10:49 +0300 Subject: [PATCH 2/2] fix(templates): use the latest version of CLI to fix Linux ARM support (#2355) It's now possible to develop chains in Linux ARM machines and since the chain depends on the CLI in its go.mod, it needs to use the latest version that support ARM targets. --- changelog.md | 12 ++++++++++++ ignite/templates/app/stargate/go.mod.plush | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 732e666383..c51b297179 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,17 @@ # Changelog +## [`v0.20.3`](https://github.com/ignite-hq/cli/releases/tag/v0.20.3) + +### Fixes + +- Use latest version of CLI in templates to fix Linux ARM support _(It's now possible to develop chains in Linux ARM machines and since the chain depends on the CLI in its go.mod, it needs to use the latest version that support ARM targets)_ + +## [`v0.20.2`](https://github.com/ignite-hq/cli/releases/tag/v0.20.2) + +### Fixes + +- Use `unsafe-reset-all` cmd under `tendermint` cmd for chains that use `=> v0.45.3` version of Cosmos SDK + ## [`v0.20.1`](https://github.com/ignite-hq/cli/releases/tag/v0.20.1) ### Features diff --git a/ignite/templates/app/stargate/go.mod.plush b/ignite/templates/app/stargate/go.mod.plush index f22e1b7b5e..a04dd757fd 100644 --- a/ignite/templates/app/stargate/go.mod.plush +++ b/ignite/templates/app/stargate/go.mod.plush @@ -13,7 +13,7 @@ require ( github.com/spf13/cobra v1.3.0 github.com/stretchr/testify v1.7.0 github.com/tendermint/spn v0.1.1-0.20220407154406-5cfd1bf28150 - github.com/ignite-hq/cli v0.20.0 + github.com/ignite-hq/cli v0.20.3 github.com/tendermint/tendermint v0.34.16 github.com/tendermint/tm-db v0.6.6 google.golang.org/genproto v0.0.0-20220317150908-0efb43f6373e