Skip to content

feat: integrate with v0.52.x (1/n) - #4289

Merged
mergify[bot] merged 27 commits into
mainfrom
julien/052
Oct 15, 2024
Merged

feat: integrate with v0.52.x (1/n)#4289
mergify[bot] merged 27 commits into
mainfrom
julien/052

Conversation

@julienrbrt

@julienrbrt julienrbrt commented Aug 6, 2024

Copy link
Copy Markdown
Member

v052 is getting audited, this is time for us to update modules and simapp to the latest version.
This PR focuses on:

  • Updating Ignite to use latest SDK
  • Update module wiring to core v1 (follow-up, made only to pass build, follow up will clean it up and wire environment)
  • Update simapp to v0.52
  • Delete IBC (unsupported for now)

@github-actions github-actions Bot added the type:services Service-related issues. label Aug 15, 2024
@julienrbrt julienrbrt changed the title feat: integrate with v0.52.x feat: integrate with v0.52.x (1/n) Aug 15, 2024
@faddat

faddat commented Sep 3, 2024

Copy link
Copy Markdown
Contributor

Is it possible to keep this in a branch other than main until IBC works with v0.52.x?

Not sure that shipping without IBC is such a great idea.

@julienrbrt

Copy link
Copy Markdown
Member Author

Is it possible to keep this in a branch other than main until IBC works with v0.52.x?

Not sure that shipping without IBC is such a great idea.

It won't be shipped as final, but we will have an alpha without IBC yes.
Timeline of IBC integrating with 0.52 is undetermined.

@julienrbrt
julienrbrt marked this pull request as ready for review September 11, 2024 22:20
@julienrbrt
julienrbrt changed the base branch from main to feature/v0.52.x October 1, 2024 14:07
@julienrbrt

Copy link
Copy Markdown
Member Author

I'll update to https://github.com/cosmos/cosmos-sdk/releases/tag/v0.52.0-beta.2 before we should merge this.

@robert-zaremba

Copy link
Copy Markdown

is there anything else blocking this branch?

@julienrbrt

julienrbrt commented Oct 9, 2024

Copy link
Copy Markdown
Member Author

is there anything else blocking this branch?

reviews :D and the message above

@julienrbrt
julienrbrt changed the base branch from feature/v0.52.x to main October 14, 2024 08:50
@julienrbrt

Copy link
Copy Markdown
Member Author

moved back the target branch to main, as most tests are passing.

Comment thread ignite/pkg/cosmosclient/bank.go
Comment thread ignite/pkg/cosmosclient/cosmosclient.go
"cosmossdk.io/core/transaction"
banktypes "cosmossdk.io/x/bank/types"
staking "cosmossdk.io/x/staking/types"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

remove and run make format

Comment thread ignite/services/plugin/plugin_test.go
// supply custom module basics
map[string]module.AppModuleBasic{
genutiltypes.ModuleName: genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
// this line is used by starport scaffolding # stargate/appConfig/moduleBasic

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove this placeholder from the rest of the code?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it wasn't existing, so nothing to here actually.

Comment thread ignite/templates/typed/map/map.go
Comment thread integration/ibc/cmd_ibc_test.go

@Pantani Pantani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are still using the MemStoreKey const into the x/module/types/keys.go? If not, can we remove it?

@@ -69,15 +76,10 @@ func (app *App) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []str
allowedAddrsMap[addr] = true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 74 uses a log.Fatal instead panic

@julienrbrt

Copy link
Copy Markdown
Member Author

We are still using the MemStoreKey const into the x/module/types/keys.go? If not, can we remove it?

Yeah, the modules will be improved in a follow up. This is just so it builds and work (see check boxes from issue description)

@julienrbrt

Copy link
Copy Markdown
Member Author

I'll do the linting in a follow-up.
Merging now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants