-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Do-not-merge] Upgrade to Cosmos-SDK v0.50. #1448
Conversation
for _, m := range app.ModuleManager.Modules { | ||
if moduleWithName, ok := m.(module.HasName); ok { | ||
moduleName := moduleWithName.Name() | ||
if appModule, ok := moduleWithName.(appmodule.AppModule); ok { | ||
modules[moduleName] = appModule | ||
} | ||
} | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map
for _, key := range app.keys { | ||
keys = append(keys, key) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map
(cherry picked from commit b29ba8b)
@alpe might be able to make a pr to fix now. |
use a more stable ibc-go
This branch is still very early integration only. I am going to rebase this on main later this week and open |
* use a more stable ibc-go * fix some small errors in accordance with what's working in ibc-go and wasmd * temporarily disable rosetta * add a few error checks and update some deprecated tendermint calls * error checks in export.go
@alpe sounds good to me. FYI:
should fix the Dockerfile's build |
Closing this in favour of #1528 |
🚧 WIP - early version
See #1438
Failing tests are deactivated. Go mod is setup my local workspace.
I am waiting for a soution in ibc-go that fixes the:
failed consensus state verification for client (07-tendermint-0): chained membership proof failed to verify membership of value:
See upgrade doc in the SDK
I have started with just the go.mod dependencies and some related changes to imports.
This blocked now on the ibc-go release that includes the
capability
module and fixed imports for sdk v0.50.This is also blocked on on some modules in the SDK that are not released. See
go.mod
replacement statements for detailsSome notes on the work
New modules
Moved to
cosmossdk.io
pathOthers
"github.com/cosmos/cosmos-sdk/snapshots -> "cosmossdk.io/store/snapshots
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice -> "github.com/cosmos/cosmos-sdk/client/grpc/cmtservice
"github.com/cosmos/cosmos-sdk/x/capability -> "github.com/cosmos/ibc-go/v7/modules/capability
Removed: legacy proposals for x/upgrade
[(cosmos_proto.scalar) = "cosmos.AddressString"]
for addresses in protocosmos.msg.v1.service
proto annotation