-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Dependencies] bump cosmos-sdk to v0.50.10 #865
base: main
Are you sure you want to change the base?
Conversation
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. You may need to run GCP workloads (requires changing the namespace to 865) |
The image is going to be pushed after the next commit. You can use If you also want to run E2E tests, please add |
After this is merged, protocol team members need to run to replace deprecated mockgen with uber fork.
|
Unable to generate mocks, even after upgrading to uber's mockgen (as go's mock is deprecated). Will need to come back to investigate further. It seems like a change in The error I'm getting:
|
Preliminary observations:Given the output,
I've eliminated all //go:generate mockgen -destination=../../testutil/mockclient/tx_client_mock.go -package=mockclient . TxContext,TxClient
// ...
//go:generate mockgen -destination=../../testutil/mockclient/cosmos_tx_builder_mock.go -package=mockclient github.com/cosmos/cosmos-sdk/client TxBuilder Specifically, it seems to be the type TxClient interface {
SignAndBroadcast(
ctx context.Context,
msgs ...cosmostypes.Msg,
) either.AsyncError
} TxBuilder interface {
GetTx() signing.Tx
SetMsgs(msgs ...sdk.Msg) error
// ...
} Investigating the mockgen v0.4.0 source seems to indicate that it can only handle interface types which either have no methods or are an The use of a generated
|
More observationsI've been experimenting with the
|
Summary
Bumps
cosmos-sdk
to the latest version, along with its dependencies.Type of change
go get github.com/cosmos/[email protected]
Select one or more from the following:
consensus-breaking
label if so. See [Infra] Automatically add theconsensus-breaking
label #791 for detailsTesting
make docusaurus_start
; only needed if you make doc changesmake go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR.Sanity Checklist