Integration of wasm module into junction#23
Merged
ComputerKeeda merged 12 commits intofeature/wasmfrom Dec 16, 2024
Merged
Conversation
Co-authored-by: Kritarth Agrawal <singhalkritarth@gmail.com>
The commit updates the dependencies in the go.mod file, specifically theossdk.io/depinject package and the github.com/cometbft/cometbft package.
…sure compatibility with new versions.
- Added support for WASM VM cache metrics using Prometheus in `commands.go` - Imported `wasmkeeper`, `prometheus`, and `cast` packages to enable telemetry features - Introduced `wasmOpts` to configure WASM options dynamically based on telemetry settings - Integrated telemetry handling for `telemetry.enabled` flag using `cast.ToBool` - Updated `app.New` and `appExport` functions to support optional WASM options - Ensured backward compatibility with `emptyWasmOpts` when telemetry is disabled
- Integrated Wasm module into the Cosmos SDK app. - Registered necessary keys, parameters, and handlers for the Wasm module. - Added IBC middleware and routes for Wasm module. - Updated `app.go`, `app_config.go`, and `ibc.go` to include Wasm module logic. - Created `start.sh` for automated node setup and configuration. - Updated `genesis.json`, `app.toml`, `config.toml`, and `client.toml` files. - Known Issues: - Missing error handling in Wasm configuration initialization. - Potential race condition in capability index initialization. - Legacy param subspace registration for Wasm is incomplete.
Bugfix/wasm patch 1
…config.go. Register WasmKeeper in app.go and create wasm middleware for fee-enabled IBC stack in ibc.go.
- Centralized registry for upgrade handlers - Added upgrade handlers for JIP-2 and JIP-3 - Set store loader for upgrades with store changes - Initialized capability index if not set - Defined version map for the upgrades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wasmmodule into the Cosmos SDK app.wasmmodule.