feat: expose raw Cosmos KV reads to CosmWasm

🔎 Visual review of d5f9eea9: explainer, review flags and prompts to ask an AI about the change

Register a read-only cosmos_kv CustomQuery binding for mounted persistent stores, preserving binary keys, native values, missing/empty distinctions, and SDK gas metering. Bound request, key, and value sizes and reject unsupported requests. Rejections reach contracts as fixed, deterministic cosmos_kv error texts and codes, while unknown variants return UnsupportedRequest.

Add binding tests and contract-facing documentation. The app package tests pass with -tags mocknet and 100% binding statement coverage, including a native pool parity test through the full app; the simulation tests were skipped. tss-lib-private v3.0.0-rc6 was supplied from a local checkout via a -modfile replace.

Edited by Huginn Ai

Merge request reports

Loading
Loading