Skip to content

Integration of wasm module into junction#23

Merged
ComputerKeeda merged 12 commits intofeature/wasmfrom
feature/wasm-patch-1
Dec 16, 2024
Merged

Integration of wasm module into junction#23
ComputerKeeda merged 12 commits intofeature/wasmfrom
feature/wasm-patch-1

Conversation

@ComputerKeeda
Copy link
Copy Markdown
Member

  • Features Added:
    • Integrated wasm module into the Cosmos SDK app.
    • Registered necessary keys, parameters, and handlers for the wasm module.
  • Known Issues:
    • Test files related to wasm module haven't been updated

ComputerKeeda and others added 12 commits December 9, 2024 18:35
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.
- 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.
…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
@ComputerKeeda ComputerKeeda merged commit 6cf8174 into feature/wasm Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants