-
Notifications
You must be signed in to change notification settings - Fork 410
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
Cosmos-SDK v0.47 integration brach #1149
Conversation
* Upgrade to sdk v0.47 branch * More integration work * SDK version upgrade; fixes * More fixes * Fixes * Deactivate failing tests * SDK + ibc-go version upgrades * limix gas fix (cherry picked from commit f7f8417) * with valset in bench (cherry picked from commit 35b2a8f) * Revert staking query handler; fix tests * Minor cleanup * Rebased * Address linter issues * Set legacy router proper * Deactivate failing test. Race condition needs to handled in SDK * Address some code smells * Bump sdk version * Use gov v1 internally for votes * Activate test after sdk fix * Add group test * Add config template for wasm fields * Add Rust backtrace flag for more debug output on simulations * Set unique node folder for tests * Revert "Add Rust backtrace flag for more debug output on simulations" This reverts commit 218c3c6. * Simulations * Run also im/export + deterministic sims * Add package prefix to interfaces * Add signer annotation (cosmos/cosmos-sdk#10933), minor cleanup * Bump sdk version * Review comments Co-authored-by: vuong <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1149 +/- ##
==========================================
+ Coverage 57.49% 59.46% +1.97%
==========================================
Files 55 57 +2
Lines 7460 7320 -140
==========================================
+ Hits 4289 4353 +64
+ Misses 2865 2653 -212
- Partials 306 314 +8
|
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.11.0 to 1.12.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.11.0...v1.12.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit f490595)
Bump bufbuild/buf-setup-action from 1.11.0 to 1.12.0 (backport #1151)
(cherry picked from commit 38d466a)
Remove intertx for vanilla ICA
Fix msg format in EVENTS.md (backport #1167)
* Better to sdk coin convertion * Review feedback (cherry picked from commit a925a9e)
Better to sdk coin convertion (backport #1164)
* Remove AccessTypeOnlyAddress for store msg * Remove AccessTypeOnlyAddress for update config msg * Review feedback Co-authored-by: Simon Warta <[email protected]> Co-authored-by: Simon Warta <[email protected]> (cherry picked from commit 8991633)
* Integrate wasmvm v1.2.0 (#1161) * Bump wasmvm version * Bump wasm test contracts * Encode weighted votes * Encode instantiate2 * Handle code info query; better wasmvm errors * Fix readme * Make linter happy * add non cgo build * Review comments * Bump wasmvm to release version Co-authored-by: jhernandezb <[email protected]> (cherry picked from commit 957b38e) # Conflicts: # x/wasm/keeper/handler_plugin_encoders.go # x/wasm/keeper/handler_plugin_encoders_test.go # x/wasm/keeper/keeper.go # x/wasm/keeper/keeper_test.go * Adress merge conflicts Co-authored-by: Alexander Peters <[email protected]>
Disallow only address permission (backport #1163)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.12.0 to 1.13.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.12.0...v1.13.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit ffa0e5e)
(cherry picked from commit c9e7830)
Bump bufbuild/buf-setup-action from 1.12.0 to 1.13.0 (backport #1181)
* Bump sdk version to lastest * Bump ibc-go version to lastest * Remove channel hack
Emit events for setContractAdmin + setAccessConfig (backport #1179)
Update to ibc-go v7 beta2 + protoVer=0.11.5
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.13.0 to 1.13.1. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.13.0...v1.13.1) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit de27e7f)
Bump bufbuild/buf-setup-action from 1.13.0 to 1.13.1 (backport #1191)
* Fix typos (cherry picked from commit c88b819) # Conflicts: # proto/cosmwasm/wasm/v1/tx.proto * Fix merge conflict --------- Co-authored-by: Alex Peters <[email protected]>
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.13.1 to 1.14.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.13.1...v1.14.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit f3fc31c)
Bump bufbuild/buf-setup-action from 1.13.1 to 1.14.0 (backport #1200)
Minor chore
* Set SDK version to v0.47x.0 * Set chainID * Minor updates * Set chainID for simulations * Buf mod update * Use sdk tag instead of hash in buf
Hey, I have had a look over this, and I believe that it is good to go. I'm also creating an issue about what I believe is called conformance testing, but I'm not certain I even have the correct name for the type of testing that I'm interested in either adding or seeing added to WASMD. Basically when looking through the test, the thing that I believe is missing is something that attempts to do as many random things as possible with contracts in an effort to find bugs. Overall I think that that tests here are really very rigorous and it's one of the more pleasant parts of working with WASMD, because I believe that we would catch most things. So if it's cool with you, what I'm going to do is I'm going to approve this, and I'm going to create an issue describing a class of tests that I'm interested in for this code. |
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.
waiting on the removal of propsal types and will re-review then
Ahh okay very nice. I'll have another go-through over the weekend, and I'm working to get a build of juno working with this code, too. |
Bump ibc-go to v7.0.0
undefined
@alpe thanks so much for the work you out into this one. I like the state of the release a lot. |
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.
Great job! 💯
thanks to you too @pinosu |
* Backport subset of CosmWasm#1149 * Update CHANGELOG.md * Update dependencies
* Backport subset of CosmWasm#1149 * Update CHANGELOG.md * Update dependencies
…105) * feat: apply Finschia/finschia-sdk#1063 (#81) * Backport subset of CosmWasm#1149 * Update CHANGELOG.md * Update dependencies * build: bump finschia-sdk from v0.48.0-rc1 to v0.48.0-rc2 * fix: delete message event Because message event move to finschia-sdk * docs: add CHANGELOG * reflect comment
* Backport subset of CosmWasm#1149 * Update CHANGELOG.md * Update dependencies
Resolves #1028
Time to bring this branch to
main
🚨 Warning: The sdk version used, includes some key store migration. Make sure you backup your private keys before testing this! You can not switch back to v0.45 afaik
🚨 Warning: Take care that you use the
goleveldb
version used in the SDK. A transitive dependency may change it which caused failing queries on a running server:Error: rpc error: code = InvalidArgument desc = failed to load state at height 1; version does not exist (latest height: 1): invalid request
Ensure:
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
🚨 Warning: CometBFT contains breaking changes to Tendermint
🚨 Warning: Use new proto-builder version (Makefile) to let proto types register with the correct registry, see
🚨 Warning: Ensure that all
ParameterChangeProposal
are completed before the upgrade or migrate them to v1.gov. SDK and wasm modules execute a migration before so that these proposals would not have an affect🚨 Warning: attribute keys/ values are strings and not bytes in CometBFT. This may break clients
💡 Info: CLI:
add-genesis-account
,gentx
,add-genesis-account
,collect-gentxs
and others are now undergenesis
command as parentFollow ups: