feat: bump up wasmd base version from v0.29.0 to v0.50.0#121
Conversation
More verbose error message
Don't run checkLibwasmVersion automatically on start (backport CosmWasm#1338)
* Add wasm command to support v1 gov proposals * fix lint issues * fix comments * Minor tweak and test files --------- Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
Redesign IBC on packet recv error/ result.Err handling
remove starport config
Extract configured capabilities
Bumped SDK to 0.47.2 and CometBFT to 0.37.1
Add wasm store to import-export sims
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.17.0...v1.18.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ons/bufbuild/buf-setup-action-1.18.0 Bump bufbuild/buf-setup-action from 1.17.0 to 1.18.0
…stack (backport CosmWasm#1375) (CosmWasm#1379) * Use ICS4Wrapper to send raw IBC packets & fix Fee in wasm stack (cherry picked from commit 6dfa5cb) # Conflicts: # app/app.go # x/wasm/keeper/handler_plugin.go # x/wasm/keeper/keeper_cgo.go # x/wasm/keeper/keeper_test.go # x/wasm/keeper/options_test.go # x/wasm/keeper/test_common.go * Fix merge conflicts * Inline ibc packet sender interface and minor chore * Rename IBCPacketSender --------- Co-authored-by: Assaf Morami <assaf.morami@gmail.com> Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
…stack (backport CosmWasm#1375) (CosmWasm#1379) * Use ICS4Wrapper to send raw IBC packets & fix Fee in wasm stack (cherry picked from commit 6dfa5cb) # Conflicts: # app/app.go # x/wasm/keeper/handler_plugin.go # x/wasm/keeper/keeper_cgo.go # x/wasm/keeper/keeper_test.go # x/wasm/keeper/options_test.go # x/wasm/keeper/test_common.go * Fix merge conflicts * Inline ibc packet sender interface and minor chore * Rename IBCPacketSender --------- Co-authored-by: Assaf Morami <assaf.morami@gmail.com> Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
Bumps [github.com/cosmos/gogoproto](https://github.com/cosmos/gogoproto) from 1.4.8 to 1.4.9. - [Release notes](https://github.com/cosmos/gogoproto/releases) - [Changelog](https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md) - [Commits](cosmos/gogoproto@v1.4.8...v1.4.9) --- updated-dependencies: - dependency-name: github.com/cosmos/gogoproto dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…github.com/cosmos/gogoproto-1.4.9 Bump github.com/cosmos/gogoproto from 1.4.8 to 1.4.9
* Apply review feedback (CosmWasm#1376) * Apply review feedback * Better test name * Add contract integration test * Better doc in test and minor refactoring (cherry picked from commit 29481db) * Set correct test chain id --------- Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
Revert gogoproto to v1.4.8
Bump pinned docker version in circleCI config
(cherry picked from commit c6bf5e3)
Update changelog for v0.32.0 (backport CosmWasm#1285)
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.1+incompatible to 2.8.2+incompatible. - [Release notes](https://github.com/docker/distribution/releases) - [Commits](distribution/distribution@v2.8.1...v2.8.2) --- updated-dependencies: - dependency-name: github.com/docker/distribution dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…github.com/docker/distribution-2.8.2incompatible Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible
Decouple testing from app with an interface
Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.0.0 to 1.0.1. - [Release notes](https://github.com/cosmos/cosmos-sdk/releases) - [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md) - [Commits](cosmos/cosmos-sdk@log/v1.0.0...math/v1.0.1) --- updated-dependencies: - dependency-name: cosmossdk.io/math dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update compatibility metrics
* Fix migrate legacy params * Better tests * Handle upgrade from wasmd 33 chains
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.0 to 0.38.1. - [Release notes](https://github.com/cometbft/cometbft/releases) - [Changelog](https://github.com/cometbft/cometbft/blob/main/CHANGELOG.md) - [Commits](cometbft/cometbft@v0.38.0...v0.38.1) --- updated-dependencies: - dependency-name: github.com/cometbft/cometbft dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update changelog * Update readme
(cherry picked from commit Finschia@b8d992b)
| 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
| for acc := range GetMaccPerms() { | ||
| modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true | ||
| } |
Check warning
Code scanning / CodeQL
Iteration over map
| 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
| go func() { | ||
| for start, current := atomic.LoadInt64(&s.currentHeight), atomic.LoadInt64(&s.currentHeight); current == start; current = atomic.LoadInt64(&s.currentHeight) { | ||
| time.Sleep(s.blockTime) | ||
| } | ||
| done <- atomic.LoadInt64(&s.currentHeight) | ||
| close(done) | ||
| }() |
Check notice
Code scanning / CodeQL
Spawning a Go routine
| go func(pid int) { | ||
| _ = cmd.Wait() // blocks until shutdown | ||
| s.pidsLock.Lock() | ||
| delete(s.pids, pid) | ||
| s.pidsLock.Unlock() | ||
| s.Logf("Node stopped: %d\n", pid) | ||
| }(pid) |
Check notice
Code scanning / CodeQL
Spawning a Go routine
| require.NoError(l.t, err) | ||
| cleanup := func() { | ||
| ctx, _ := context.WithTimeout(ctx, DefaultWaitTime) //nolint:govet | ||
| go l.client.WSEvents.Unsubscribe(ctx, "testing", query) //nolint:errcheck |
Check notice
Code scanning / CodeQL
Spawning a Go routine
| go func() { | ||
| for e := range eventsChan { | ||
| if !cb(e) { | ||
| return | ||
| } | ||
| } | ||
| }() |
Check notice
Code scanning / CodeQL
Spawning a Go routine
| go func() { | ||
| select { | ||
| case <-ctx.Done(): | ||
| case <-timeout.C: | ||
| timedOut <- struct{}{} | ||
| close(timedOut) | ||
| } | ||
| }() |
Check notice
Code scanning / CodeQL
Spawning a Go routine
This reverts commit f1b420c
This commit is based on CosmWasm#1611
This testdata based on CosmWasm#1590
…ause there is a similar test in testutil.)
Description
closes: #XXXX
Motivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.mdclient/docs/swagger-ui/swagger.yaml