Skip to content

Commit ac62a79

Browse files
authored
refactor!: downgrade nightly to 0.50 (#4507)
* refactor!: downgrade nightly to 0.50 * updates * sims * use error v1 * remove simsx imports * updates * bump ibc to beta.0 * updates * updates * updates * updates * fix * updates * fixes * env * lint * updates * updates * updates * revert go bump * fixes * updates * go version * fix sims * sims + failing test * fixes * updates
1 parent 5bbc1a1 commit ac62a79

File tree

74 files changed

+1829
-1528
lines changed

Some content is hidden

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

74 files changed

+1829
-1528
lines changed

.github/workflows/test-cov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.23.5"
21+
go-version: "1.23.6"
2222

2323
- run: ./scripts/test-coverage
2424

.github/workflows/test-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- uses: actions/setup-go@v5
4040
with:
41-
go-version: "1.23.5"
41+
go-version: "1.23.6"
4242

4343
- name: Run Integration Tests
4444
env:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222

2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: "1.23.5"
25+
go-version: "1.23.6"
2626

2727
- run: ./scripts/test

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- [#4326](https://github.com/ignite/cli/pull/4326) Add `buf.build` version to `ignite version` command
2222
- [#4436](https://github.com/ignite/cli/pull/4436) Return tx hash to the faucet API
2323
- [#4437](https://github.com/ignite/cli/pull/4437) Remove module placeholders
24-
- [#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
24+
- [#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) Cosmos SDK v0.52 support and downgrade back to 0.50, while keeping latest improvements.
2525
- [#4480](https://github.com/ignite/cli/pull/4480) Add field max length
2626
- [#4477](https://github.com/ignite/cli/pull/4477) IBC v10 support
2727
- [#4166](https://github.com/ignite/cli/issues/4166) Migrate buf config files to v2

go.mod

Lines changed: 56 additions & 65 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 273 additions & 129 deletions
Large diffs are not rendered by default.

ignite/cmd/chain_simulate.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ func newConfigFromFlags(cmd *cobra.Command) simulation.Config {
7878
exportStatePath, _ = cmd.Flags().GetString(flagSimappExportStatePath)
7979
exportStatsPath, _ = cmd.Flags().GetString(flagSimappExportStatsPath)
8080
seed, _ = cmd.Flags().GetInt64(flagSimappSeed)
81-
initialBlockHeight, _ = cmd.Flags().GetUint64(flagSimappInitialBlockHeight)
82-
numBlocks, _ = cmd.Flags().GetUint64(flagSimappNumBlocks)
81+
initialBlockHeight, _ = cmd.Flags().GetInt(flagSimappInitialBlockHeight)
82+
numBlocks, _ = cmd.Flags().GetInt(flagSimappNumBlocks)
8383
blockSize, _ = cmd.Flags().GetInt(flagSimappBlockSize)
8484
lean, _ = cmd.Flags().GetBool(flagSimappLean)
8585
)
@@ -108,8 +108,8 @@ func simappFlags(c *cobra.Command) {
108108
c.Flags().String(flagSimappExportStatePath, "", "custom file path to save the exported app state JSON")
109109
c.Flags().String(flagSimappExportStatsPath, "", "custom file path to save the exported simulation statistics JSON")
110110
c.Flags().Int64(flagSimappSeed, 42, "simulation random seed")
111-
c.Flags().Uint64(flagSimappInitialBlockHeight, 1, "initial block to start the simulation")
112-
c.Flags().Uint64(flagSimappNumBlocks, 200, "number of new blocks to simulate from the initial block height")
111+
c.Flags().Int(flagSimappInitialBlockHeight, 1, "initial block to start the simulation")
112+
c.Flags().Int(flagSimappNumBlocks, 200, "number of new blocks to simulate from the initial block height")
113113
c.Flags().Int(flagSimappBlockSize, 30, "operations per block")
114114
c.Flags().Bool(flagSimappLean, false, "lean simulation log output")
115115

ignite/internal/tools/gen-config-doc/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/ignite/cli/ignite/internal/tools/gen-config-doc
22

33
go 1.23.4
44

5-
toolchain go1.23.5
5+
toolchain go1.23.6
66

77
replace (
88
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.52.0-rc.2

ignite/pkg/chaincmd/chaincmd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ func (c ChainCmd) UnsafeResetCommand() step.Option {
499499
// ExportCommand returns the command to export the state of the blockchain into a genesis file.
500500
func (c ChainCmd) ExportCommand() step.Option {
501501
command := []string{
502-
commandGenesis,
503502
commandExportGenssis,
504503
}
505504
return c.daemonCommand(command)

ignite/pkg/chaincmd/runner/simulate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ func (r Runner) Simulation(
2828
chaincmd.SimappWithExportStatePath(config.ExportStatePath),
2929
chaincmd.SimappWithExportStatsPath(config.ExportStatsPath),
3030
chaincmd.SimappWithSeed(config.Seed),
31-
chaincmd.SimappWithInitialBlockHeight(config.InitialBlockHeight),
32-
chaincmd.SimappWithNumBlocks(config.NumBlocks),
31+
chaincmd.SimappWithInitialBlockHeight(uint64(config.InitialBlockHeight)),
32+
chaincmd.SimappWithNumBlocks(uint64(config.NumBlocks)),
3333
chaincmd.SimappWithBlockSize(config.BlockSize),
3434
chaincmd.SimappWithLean(config.Lean),
3535
chaincmd.SimappWithCommit(config.Commit),

0 commit comments

Comments
 (0)