Skip to content

Commit

Permalink
Merge branch 'main' into chore/new-network-path
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored Mar 8, 2025
2 parents 0366c46 + 6a6412a commit 421cb95
Show file tree
Hide file tree
Showing 227 changed files with 20,047 additions and 3,453 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/release-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ versions of cli to guarantee that no regression is introduced -->
- [ ] Update [`changelog.md`](https://github.com/ignite/cli/blob/main/changelog.md)
- [ ] Update [`readme.md](https://github.com/ignite/cli/blob/main/readme.md):
- [ ] Version matrix.
- [ ] Link to Gitpod with a URL to the newly released stable version.
- [ ] Update docs site:
- [ ] Add new release tag to [`docs/versioned_docs`](https://github.com/ignite/cli/tree/main/docs/versioned_docs).
- [ ] After changes to docs site are deployed, check [docs.ignite.com/](https://docs.ignite.com/) is updated.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: golangci/golangci-lint-action@v6
with:
version: v1.60.3
version: v1.64.5
install-mode: goinstall
args: --timeout 10m
github-token: ${{ secrets.github_token }}
Expand Down
14 changes: 0 additions & 14 deletions .gitpod.Dockerfile

This file was deleted.

56 changes: 0 additions & 56 deletions .gitpod.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .gitpod/readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ linters:
- stylecheck
- typecheck
- unconvert
- tenv
- usetesting
- thelper
- unused
- unparam
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ FROM golang as base

RUN apt update && \
apt-get install -y \
build-essential \
ca-certificates \
curl
build-essential \
ca-certificates \
curl

# enable faster module downloading.
ENV GOPROXY https://proxy.golang.org
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@ govet:
## govulncheck: Run govulncheck
govulncheck:
@echo Running govulncheck...
@go run golang.org/x/vuln/cmd/govulncheck ./...
@go tool golang.org/x/vuln/cmd/govulncheck ./...

## format: Install and run goimports and gofumpt
format:
@echo Formatting...
@go run mvdan.cc/gofumpt -w .
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v29 .
@go run github.com/tbruyelle/mdgofmt/cmd/mdgofmt -w docs
@go tool mvdan.cc/gofumpt -w .
@go tool golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v29 .
@go tool github.com/tbruyelle/mdgofmt/cmd/mdgofmt -w docs

## lint: Run Golang CI Lint.
lint:
@echo Running golangci-lint...
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --out-format=tab --issues-exit-code=0
@go tool github.com/golangci/golangci-lint/cmd/golangci-lint run --out-format=tab --issues-exit-code=0

lint-fix:
@echo Running golangci-lint...
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --fix --out-format=tab --issues-exit-code=0
@go tool github.com/golangci/golangci-lint/cmd/golangci-lint run --fix --out-format=tab --issues-exit-code=0

.PHONY: govet format lint

Expand Down
40 changes: 38 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Features

- [#4509](https://github.com/ignite/cli/pull/4509) Upgrade to Go 1.24. Running `ignite doctor` migrates the scaffolded `tools.go` to the tool directive in the go.mod

## [`v29.0.0-beta.1`](https://github.com/ignite/cli/releases/tag/v29.0.0-beta.1)

### Features

- [#3707](https://github.com/ignite/cli/pull/3707) and [#4094](https://github.com/ignite/cli/pull/4094) Add collections support.
- [#3977](https://github.com/ignite/cli/pull/3977) Add `chain lint` command to lint the chain's codebase using `golangci-lint`
- [#3770](https://github.com/ignite/cli/pull/3770) Add `scaffold configs` and `scaffold params` commands
Expand All @@ -21,8 +27,11 @@
- [#4326](https://github.com/ignite/cli/pull/4326) Add `buf.build` version to `ignite version` command
- [#4436](https://github.com/ignite/cli/pull/4436) Return tx hash to the faucet API
- [#4437](https://github.com/ignite/cli/pull/4437) Remove module placeholders
- [#4289](https://github.com/ignite/cli/pull/4289), [#4423](https://github.com/ignite/cli/pull/4423), [#4432](https://github.com/ignite/cli/pull/4432) Cosmos SDK v0.52 support
- [#4289](https://github.com/ignite/cli/pull/4289), [#4423](https://github.com/ignite/cli/pull/4423), [#4432](https://github.com/ignite/cli/pull/4432), [#4507](https://github.com/ignite/cli/pull/4507), [#4524](https://github.com/ignite/cli/pull/4524) Cosmos SDK v0.52 support and downgrade back to 0.50, while keeping latest improvements.
- [#4480](https://github.com/ignite/cli/pull/4480) Add field max length
- [#4477](https://github.com/ignite/cli/pull/4477) IBC v10 support
- [#4166](https://github.com/ignite/cli/issues/4166) Migrate buf config files to v2
- [#4494](https://github.com/ignite/cli/pull/4494) Automatic migrate the buf configs to v2

### Changes

Expand All @@ -47,16 +56,43 @@
- [#4361](https://github.com/ignite/cli/pull/4361) Remove unused `KeyPrefix` method
- [#4384](https://github.com/ignite/cli/pull/4384) Compare genesis params into chain genesis tests
- [#4463](https://github.com/ignite/cli/pull/4463) Run `chain simulation` with any simulation test case
- [#4486](https://github.com/ignite/cli/pull/4486) Fix issue when set account prefix with sdk v0.52
- [#4533](https://github.com/ignite/cli/pull/4533) Promote GitHub codespace instead of Gitpod
- [#4549](https://github.com/ignite/cli/pull/4549) Remove unused placeholder vars

### Fixes

- [#4000](https://github.com/ignite/cli/pull/4000) Run all dry runners before the wet run in the `xgenny` pkg
- [#4091](https://github.com/ignite/cli/pull/4091) Fix race conditions in the plugin logic
- [#4128](https://github.com/ignite/cli/pull/4128) Check for duplicate proto fields in config
- [#4402](https://github.com/ignite/cli/pull/4402) Fix gentx parser into the cosmosutil package
- [#4552](https://github.com/ignite/cli/pull/4552) Avoid direct access to proto field `perms.Account` and `perms.Permissions`

## [`v28.8.1`](https://github.com/ignite/cli/releases/tag/v28.8.1)

### Bug Fixes

- [#4532](https://github.com/ignite/cli/pull/4532) Fix non working _shortcuts_ in validator home config
- [#4538](https://github.com/ignite/cli/pull/4538) Create a simple spinner for non-terminal interactions
- [#4540](https://github.com/ignite/cli/pull/4540), [#4543](https://github.com/ignite/cli/pull/4543) Skip logs / gibberish when parsing commands outputs

## [`v28.8.0`](https://github.com/ignite/cli/releases/tag/v28.8.0)

### Features

- [#4513](https://github.com/ignite/cli/pull/4513) Allow to pass tx fees to faucet server

### Changes

- [#4439](https://github.com/ignite/cli/pull/4439) Simplify Ignite CLI dependencies by removing `moby` and `gorilla` dependencies.
- [#4471](https://github.com/ignite/cli/pull/4471) Bump CometBFT to v0.38.15.
- [#4471](https://github.com/ignite/cli/pull/4471) Bump Ignite & chain minimum Go version to 1.23.
- [#4529](https://github.com/ignite/cli/pull/4531) Bump Cosmos SDK to v0.50.12.

### Bug Fixes

- [#4474](https://github.com/ignite/cli/pull/4474) Fix issue in `build --release` command
- [#4479](https://github.com/ignite/cli/pull/4479) Scaffold an `uint64 type crashs Ignite
- [#4483](https://github.com/ignite/cli/pull/4483) Fix default flag parser for apps

## [`v28.7.0`](https://github.com/ignite/cli/releases/tag/v28.7.0)

Expand Down
3 changes: 1 addition & 2 deletions docs/docs/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ description: Steps to install Ignite CLI on your local computer.

# Install Ignite CLI

You can run [Ignite CLI](https://github.com/ignite/cli) in a web-based Gitpod IDE or you can install Ignite CLI on your
local computer.
You can run [Ignite CLI](https://github.com/ignite/cli) in a web-based IDE or you can install Ignite CLI on your local computer.

## Prerequisites

Expand Down
15 changes: 10 additions & 5 deletions docs/docs/08-references/01-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To get started, create a blockchain:
* [ignite network](#ignite-network) - Launch a blockchain in production
* [ignite relayer](#ignite-relayer) - Connect blockchains with an IBC relayer
* [ignite scaffold](#ignite-scaffold) - Create a new blockchain, module, message, query, and more
* [ignite testnet](#ignite-testnet) - Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.
* [ignite testnet](#ignite-testnet) - Simulate and manage test networks
* [ignite version](#ignite-version) - Print the current build information


Expand Down Expand Up @@ -3084,6 +3084,7 @@ ignite scaffold module [name] [flags]
--clear-cache clear the build cache (advanced)
--dep strings add a dependency on another module
-h, --help help for module
--ibc add IBC functionality
--module-configs strings add module configs
--ordering string channel ordering of the IBC module [none|ordered|unordered] (default "none")
--params strings add module parameters
Expand Down Expand Up @@ -3297,7 +3298,11 @@ ignite scaffold type NAME [field:type] ... [flags]

## ignite testnet

Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.
Simulate and manage test networks

**Synopsis**

Comprehensive toolset for managing and simulating blockchain test networks. It allows users to either run a test network in place using mainnet data or set up a multi-node environment for more complex testing scenarios. Additionally, it includes a subcommand for simulating the chain, which is useful for fuzz testing and other testing-related tasks.

**Options**

Expand Down Expand Up @@ -3342,7 +3347,7 @@ ignite testnet in-place [flags]

**SEE ALSO**

* [ignite testnet](#ignite-testnet) - Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.
* [ignite testnet](#ignite-testnet) - Simulate and manage test networks


## ignite testnet multi-node
Expand Down Expand Up @@ -3394,7 +3399,7 @@ ignite testnet multi-node [flags]

**SEE ALSO**

* [ignite testnet](#ignite-testnet) - Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.
* [ignite testnet](#ignite-testnet) - Simulate and manage test networks


## ignite testnet simulate
Expand Down Expand Up @@ -3430,7 +3435,7 @@ ignite testnet simulate [flags]

**SEE ALSO**

* [ignite testnet](#ignite-testnet) - Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.
* [ignite testnet](#ignite-testnet) - Simulate and manage test networks


## ignite version
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v28/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Ignite CLI is supported for the following operating systems:

Ignite CLI is written in the Go programming language. To use Ignite CLI on a local system:

- Install [Go](https://golang.org/doc/install) (**version 1.21** or higher)
- Install [Go](https://golang.org/doc/install) (**version 1.23** or higher)
- Ensure the Go environment variables are [set properly](https://golang.org/doc/gopath_code#GOPATH) on your system

## Verify your Ignite CLI version
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v28/02-guide/04-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ignite scaffold message delete-post id:uint
This command enables the deletion of posts by their ID.

2. **Delete Logic:**

Implement RemovePost in `x/blog/keeper/post.go` to delete posts from the store.

```go title="x/blog/keeper/post.go"
Expand Down
5 changes: 2 additions & 3 deletions docs/versioned_docs/version-v28/02-guide/05-loan.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Notice the `--no-module` flag, in the next step we make sure the `bank` dependen

2. **Create a Module:**


Create a new "loan" module that is based on the standard Cosmos SDK `bank` module.

```bash
Expand Down Expand Up @@ -411,7 +410,7 @@ func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParam
}
```

Add the errors `ErrInvalidSigner`, `ErrWrongLoanState` and `ErrDeadline`:
Add the custom errors `ErrWrongLoanState` and `ErrDeadline`:

```go title="x/loan/types/errors.go"
package types
Expand All @@ -421,7 +420,7 @@ import (
)

var (
ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
ErrWrongLoanState = sdkerrors.Register(ModuleName, 2, "wrong loan state")
ErrDeadline = sdkerrors.Register(ModuleName, 3, "deadline")
)
Expand Down
Loading

0 comments on commit 421cb95

Please sign in to comment.