CosmWasm / sylvia

CosmWasm smart contract framework
Apache License 2.0
88 stars 14 forks source link

Remove `InterfaceApi` in favor of `InterfaceMessagesApi` #363

Open kulikthebird opened 2 months ago

kulikthebird commented 2 months ago
          Ideally I would remove the `InterfaceMessagesApi` and change `InterfaceApi` to be generic over the `Contract: Interface`. But for this change we may go with this solution as a bridge.

_Originally posted by @jawoznia in https://github.com/CosmWasm/sylvia/pull/361#discussion_r1576557218_

jawoznia commented 2 months ago

To do this we should inspect the possibility to make all the messages generic over the contract. This might cause issues in schema API.