-
Notifications
You must be signed in to change notification settings - Fork 25
[CosmosSDK] Bump to v0.50.7 #682
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
Conversation
WalkthroughThe recent updates primarily involve version upgrades for various Go modules and configuration adjustments for the local network setup. Notable changes include incrementing versions in Changes
Poem
Tip You can customize the tone of the comments in your PRsSpecify the tone of the comments in your PRs by configuring the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
|
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 682) |
|
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 682) |
|
Alright, everything seems to work locally, including e2e and stress tests. I had to bump my local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (17)
api/poktroll/application/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/application/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/gateway/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/gateway/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/proof/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/proof/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/service/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/service/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/session/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/session/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/shared/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/shared/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/supplier/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/supplier/tx_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/tokenomics/query_grpc.pb.gois excluded by!**/*.pb.goapi/poktroll/tokenomics/tx_grpc.pb.gois excluded by!**/*.pb.gogo.sumis excluded by!**/*.sum
Files selected for processing (3)
- go.mod (9 hunks)
- localnet/poktrolld/config/app.toml (1 hunks)
- localnet/poktrolld/config/config.toml (1 hunks)
Files skipped from review due to trivial changes (2)
- localnet/poktrolld/config/app.toml
- localnet/poktrolld/config/config.toml
Additional comments not posted (10)
go.mod (10)
26-26: Approved: Update tocosmossdk.io/mathThe update to
cosmossdk.io/mathv1.3.0 is approved.
27-27: Approved: Update tocosmossdk.io/storeThe update to
cosmossdk.io/storev1.1.0 is approved.
37-38: Approved: Updates github.com/cosmos/cosmos-protoandgithub.zerozr99.workers.dev/cosmos/cosmos-sdkThe updates to
github.com/cosmos/cosmos-protov1.0.0-beta.5 andgithub.zerozr99.workers.dev/cosmos/cosmos-sdkv0.50.7 are approved.
39-39: Approved: Update github.com/cosmos/gogoprotoThe update to
github.com/cosmos/gogoprotov1.5.0 is approved.
49-50: Approved: Updates github.com/grpc-ecosystem/grpc-gateway/v2andgithub.zerozr99.workers.dev/hashicorp/go-metricsThe updates to
github.com/grpc-ecosystem/grpc-gateway/v2v2.20.0 andgithub.zerozr99.workers.dev/hashicorp/go-metricsv0.5.3 are approved.
62-66: Approved: Updates github.com/prometheus/client_golangandgithub.zerozr99.workers.dev/spf13/cobraThe updates to
github.com/prometheus/client_golangv1.19.0 andgithub.zerozr99.workers.dev/spf13/cobrav1.8.1 are approved.
69-69: Approved: Update github.com/stretchr/testifyThe update to
github.com/stretchr/testifyv1.9.0 is approved.
71-74: Approved: Updates togolang.org/x/crypto,golang.org/x/exp,golang.org/x/sync, andgolang.org/x/toolsThe updates to
golang.org/x/cryptov0.25.0,golang.org/x/expv0.0.0-20240707233637-46b078467d37,golang.org/x/syncv0.7.0, andgolang.org/x/toolsv0.23.0 are approved.
75-76: Approved: Updates togoogle.golang.org/genproto/googleapis/apiandgoogle.golang.org/grpcThe updates to
google.golang.org/genproto/googleapis/apiv0.0.0-20240709173604-40e1e62336c5 andgoogle.golang.org/grpcv1.65.0 are approved.
83-93: Approved: Updates to indirect dependenciesThe updates to various indirect dependencies are approved.
@bryanchriswhite do you have any cycles to look into that? jk, the PR is not that large! All changes are code generated. |
bryanchriswhite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
|
||
| [mempool] | ||
| max-txs = 5000 | ||
| max-txs = -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional?
According to the docs, this disables the mempool but I don't see why we would want to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bryanchriswhite this is the value cosmos-sdk generates by default now. I, personally, like to keep the default values. And we do adjust this config on the live network.
Related PRs explaining the change:
cosmos/cosmos-sdk#20008 (original: cosmos/cosmos-sdk#19970)
cosmos/cosmos-sdk#20012
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bryanchriswhite To be clear, I do not oppose using the 5000 value here! :) Reading these two PRs still leaves the question of what the expectation for this value is on the full-blown network. I guess, just like with the existing mainnet, we will learn the behavior of the network and adjust.
bryanchriswhite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @okdas! 🙌
Preemptively approving. I just wanted to confirm the mempool config change.
…ent-balances * pokt/main: [TODOs] refactor: proof path calculation (#659) [Dependencies] bump go-getter and ibc-go (#691) [Relayminer] refactor: `relayerSessionsManager#waitForBlock()` (#648) [Observables] chore: add `ReplayObservable#SubscribeFromLatestBufferedOffset()` (#647) [Observability] Add claim relays counter (#644) [Code Health] chore: log unused error when updating relay mining difficulty (#683) [Testing] chore: uncomment proof CLI query tests (#668) build(deps): bump ws from 7.5.9 to 7.5.10 in /docusaurus (#686) build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docusaurus (#688) build(deps): bump express from 4.18.2 to 4.19.2 in /docusaurus (#687) build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /docusaurus (#685) build(deps): bump braces from 3.0.2 to 3.0.3 in /docusaurus (#689) [CosmosSDK] Bump to v0.50.7 (#682)
…ation-overserviced * pokt/main: [TODOs] refactor: proof path calculation (#659) [Dependencies] bump go-getter and ibc-go (#691) [Relayminer] refactor: `relayerSessionsManager#waitForBlock()` (#648) [Observables] chore: add `ReplayObservable#SubscribeFromLatestBufferedOffset()` (#647) [Observability] Add claim relays counter (#644) [Code Health] chore: log unused error when updating relay mining difficulty (#683) [Testing] chore: uncomment proof CLI query tests (#668) build(deps): bump ws from 7.5.9 to 7.5.10 in /docusaurus (#686) build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docusaurus (#688) build(deps): bump express from 4.18.2 to 4.19.2 in /docusaurus (#687) build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /docusaurus (#685) build(deps): bump braces from 3.0.2 to 3.0.3 in /docusaurus (#689) [CosmosSDK] Bump to v0.50.7 (#682)
…ation-use-index * pokt/main: [TODOs] refactor: proof path calculation (#659) [Dependencies] bump go-getter and ibc-go (#691) [Relayminer] refactor: `relayerSessionsManager#waitForBlock()` (#648) [Observables] chore: add `ReplayObservable#SubscribeFromLatestBufferedOffset()` (#647) [Observability] Add claim relays counter (#644) [Code Health] chore: log unused error when updating relay mining difficulty (#683) [Testing] chore: uncomment proof CLI query tests (#668) build(deps): bump ws from 7.5.9 to 7.5.10 in /docusaurus (#686) build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docusaurus (#688) build(deps): bump express from 4.18.2 to 4.19.2 in /docusaurus (#687) build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /docusaurus (#685) build(deps): bump braces from 3.0.2 to 3.0.3 in /docusaurus (#689) [CosmosSDK] Bump to v0.50.7 (#682)


Summary
Bumps cosmos-sdk to the latest available.
Issue
Type of change
Select one or more:
Testing
Documentation changes (only if making doc changes)
make docusaurus_start; only needed if you make doc changesLocal Testing (only if making code changes)
make go_develop_and_testmake test_e2ePR Testing (only if making code changes)
devnet-test-e2elabel to the PR.make trigger_ciif you want to re-trigger tests without any code changesSanity Checklist
Summary by CodeRabbit
New Features
Configuration Changes
config.tomlto "0.38.7".