cosmos / ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
Apache License 2.0
197 stars 79 forks source link

Use macro to auto-generate CosmWasm entrypoints and handle required conversions #1169

Closed Farhad-Shabani closed 4 months ago

Farhad-Shabani commented 5 months ago

Improvement Summary

Following PR #1167, to make it even simpler to create CosmWasm contracts for implemented light clients, we can write some macros to automate adding the Context to the entrypoints, and also generate required conversions for the client and consensus state types shared across CW contract implementations.

seanchen1991 commented 4 months ago

Closing this issue in favor of #1218