-
Notifications
You must be signed in to change notification settings - Fork 638
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
chore: upgrade wasmd to v0.53.0 and wasmvm to v2.1.2 #8616
Changes from all commits
131c589
71ce7fe
dc496d8
1bde51d
8c9286d
8f3ddf8
31c0d5f
14d8ede
520091f
ccaecdb
fc9c8bd
3ed379c
56d4856
9fcf2e4
e3ec12d
228b695
cd9a181
942c752
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ import ( | |
"encoding/json" | ||
"fmt" | ||
"io" | ||
"math/rand" | ||
"net/http" | ||
"os" | ||
"path/filepath" | ||
|
@@ -354,7 +355,8 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { | |
WithHomeDir(homeDir). | ||
WithViper("OSMOSIS") | ||
|
||
tempApp := osmosis.NewOsmosisApp(log.NewNopLogger(), cosmosdb.NewMemDB(), nil, true, map[int64]bool{}, osmosis.DefaultNodeHome, 5, sims.EmptyAppOptions{}, osmosis.EmptyWasmOpts, baseapp.SetChainID("osmosis-1")) | ||
tempDir := fmt.Sprintf("%s%d", ".temp-osmosis", rand.Int()) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needed this as we call There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is basically why the PR is so big as well 🥹 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😢 |
||
tempApp := osmosis.NewOsmosisApp(log.NewNopLogger(), cosmosdb.NewMemDB(), nil, true, map[int64]bool{}, tempDir, 5, sims.EmptyAppOptions{}, osmosis.EmptyWasmOpts, baseapp.SetChainID("osmosis-1")) | ||
|
||
// Allows you to add extra params to your client.toml | ||
// gas, gas-price, gas-adjustment, and human-readable-denoms | ||
|
@@ -471,6 +473,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { | |
if err := autoCliOpts(initClientCtx, tempApp).EnhanceRootCommand(rootCmd); err != nil { | ||
panic(err) | ||
} | ||
os.RemoveAll(tempDir) | ||
|
||
return rootCmd, encodingConfig | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,19 @@ require ( | |
cosmossdk.io/x/evidence v0.1.1 | ||
cosmossdk.io/x/tx v0.13.4 | ||
cosmossdk.io/x/upgrade v0.1.4 | ||
github.com/CosmWasm/wasmd v0.50.0 | ||
github.com/CosmWasm/wasmvm v1.5.4 | ||
github.com/CosmWasm/wasmd v0.53.0 | ||
github.com/CosmWasm/wasmvm/v2 v2.1.2 | ||
github.com/cometbft/cometbft v0.38.11 | ||
github.com/cometbft/cometbft-db v0.12.0 | ||
github.com/cosmos/cosmos-db v1.0.2 | ||
github.com/cosmos/cosmos-proto v1.0.0-beta.5 | ||
github.com/cosmos/cosmos-sdk v0.50.9 | ||
github.com/cosmos/go-bip39 v1.0.0 | ||
github.com/cosmos/gogoproto v1.6.0 | ||
github.com/cosmos/gogoproto v1.7.0 | ||
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 v8.0.2 | ||
github.com/cosmos/ibc-apps/modules/async-icq/v8 v8.0.0 | ||
github.com/cosmos/ibc-go/modules/capability v1.0.1 | ||
github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.1.1-ibc-go-v7.3-wasmvm-v1.5 | ||
github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.4.2-0.20240730185033-ccd4dc278e72 | ||
Comment on lines
+19
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checked deps There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would appreciate linking commit next time for security critical deps |
||
github.com/cosmos/ibc-go/v8 v8.4.0 | ||
github.com/cosmos/rosetta v0.50.9 | ||
github.com/golang/mock v1.6.0 | ||
|
@@ -72,14 +72,14 @@ require ( | |
|
||
require ( | ||
cloud.google.com/go v0.115.0 // indirect | ||
cloud.google.com/go/auth v0.7.2 // indirect | ||
cloud.google.com/go/auth/oauth2adapt v0.2.3 // indirect | ||
cloud.google.com/go/auth v0.8.1 // indirect | ||
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect | ||
cloud.google.com/go/compute/metadata v0.5.0 // indirect | ||
cloud.google.com/go/iam v1.1.10 // indirect | ||
cloud.google.com/go/storage v1.41.0 // indirect | ||
cosmossdk.io/collections v0.4.0 // indirect | ||
cosmossdk.io/depinject v1.0.0 // indirect | ||
cosmossdk.io/x/feegrant v0.1.0 // indirect | ||
cosmossdk.io/x/feegrant v0.1.1 // indirect | ||
dario.cat/mergo v1.0.0 // indirect | ||
github.com/DataDog/datadog-go v3.2.0+incompatible // indirect | ||
github.com/DataDog/zstd v1.5.5 // indirect | ||
|
@@ -99,7 +99,7 @@ require ( | |
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect | ||
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect | ||
github.com/cosmos/gogogateway v1.2.0 // indirect | ||
github.com/cosmos/iavl v1.1.3 // indirect | ||
github.com/cosmos/iavl v1.2.0 // indirect | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checked. Can we bump to 1.3.0? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll do that in a separate PR if that's ok? |
||
github.com/cosmos/ics23/go v0.10.0 // indirect | ||
github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect | ||
github.com/creachadair/atomicfile v0.3.1 // indirect | ||
|
@@ -115,7 +115,7 @@ require ( | |
github.com/gogo/googleapis v1.4.1 // indirect | ||
github.com/google/btree v1.1.2 // indirect | ||
github.com/google/flatbuffers v23.5.26+incompatible // indirect | ||
github.com/google/s2a-go v0.1.7 // indirect | ||
github.com/google/s2a-go v0.1.8 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect | ||
github.com/googleapis/gax-go/v2 v2.13.0 // indirect | ||
|
@@ -142,6 +142,7 @@ require ( | |
github.com/rogpeppe/go-internal v1.12.0 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/shamaton/msgpack/v2 v2.2.0 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/tidwall/match v1.1.1 // indirect | ||
github.com/tidwall/pretty v1.2.0 // indirect | ||
|
@@ -283,11 +284,9 @@ replace ( | |
|
||
github.com/cosmos/iavl => github.com/cosmos/iavl v1.1.2-0.20240405172238-7f92c6b356ac | ||
|
||
github.com/cosmos/ibc-go/modules/light-clients/08-wasm => github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.1.1-0.20231213092650-57fcdb9a9a9d | ||
|
||
// UNFORKING v2 TOOD: Need to manually define these until we tag, it keeps trying to "upgrade" which actually downgrades us to the old sdk submodules logic | ||
github.com/osmosis-labs/osmosis/osmomath => github.com/osmosis-labs/osmosis/osmomath v0.0.12-0.20240517165907-1625703bc16d | ||
github.com/osmosis-labs/osmosis/osmoutils => github.com/osmosis-labs/osmosis/osmoutils v0.0.12-0.20240624163106-4c70b0253af8 | ||
github.com/osmosis-labs/osmosis/osmoutils => github.com/osmosis-labs/osmosis/osmoutils v0.0.12-0.20240814114813-131c58911ab6 | ||
github.com/osmosis-labs/osmosis/x/epochs => github.com/osmosis-labs/osmosis/x/epochs v0.0.8-0.20240517165907-1625703bc16d | ||
github.com/osmosis-labs/osmosis/x/ibc-hooks => github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.14-0.20240517165907-1625703bc16d | ||
|
||
|
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.
added the latest cosmwasm features here
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.
For ref of what this is:
https://github.com/CosmWasm/cosmwasm/blob/main/docs/CAPABILITIES-BUILT-IN.md