Skip to content

Implement Api methods in cosmwasm_std::ExternalApi #757

@ethanfrey

Description

@ethanfrey

Part of #751
Requires #756

  • Add imports to cosmwasm_vm::Instance for all the calls in cosmwasm_std::Api trait
  • Use same implementation as in MockApi to implement these calls in the vm (native code)
  • Add hooks in cosmwasm_std::ExternalApi to call these new entry points
  • Add integration tests to the sample crypto app. Ensure these calls work full stack (request -> wasm, wasm -> vm -> wasm for verification, wasm -> response)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions