-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
build: use cosmos/gogoproto@v1.4.8 for optimized registry merge #15862
Conversation
16a145b
to
0dde947
Compare
simapp/go.mod
Outdated
@@ -19,8 +19,8 @@ require ( | |||
github.com/cometbft/cometbft v0.37.1-0.20230411132551-3a91d155e664 | |||
github.com/cosmos/cosmos-db v1.0.0-rc.1 | |||
// this version is not used as it is always replaced by the latest Cosmos SDK version | |||
github.com/cosmos/cosmos-sdk v0.48.0 | |||
github.com/cosmos/gogoproto v1.4.7 | |||
github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20230418140744-0dde947d0ab7 |
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.
simd version --long is looks nicer if we revert this one.
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.
Oh I see, because these two files have the replace directive. I'll push a change correcting these two.
tests/go.mod
Outdated
@@ -19,8 +19,8 @@ require ( | |||
github.com/cosmos/cosmos-db v1.0.0-rc.1 | |||
github.com/cosmos/cosmos-proto v1.0.0-beta.3 | |||
// this version is not used as it is always replaced by the latest Cosmos SDK version | |||
github.com/cosmos/cosmos-sdk v0.48.0 | |||
github.com/cosmos/gogoproto v1.4.7 | |||
github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20230418140744-0dde947d0ab7 |
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.
ditto.
It used to be set to 5 tries, but that was taking over an hour. After some improvements (particularly #15875 and #15862), it's running much faster due to reduced allocations. Since the nondeterminism tests are no longer the bottleneck, increase the tries per seed by 1 so that it is still no longer the bottleneck, but so that we also get more confidence that results are deterministic.
This is primarily to bring in cosmos/gogoproto#61, which spreads work for registry merging across all available cores.
In addition to the other performance improvements in v1.4.8, the sim-app-nondeterminism tests and the CLI complete much more quickly.