Skip to content

Cache wasmer_runtime_core::Instance instead of cosmwasm_vm::Instance #137

Closed
@webmaster128

Description

@webmaster128

Caching the lower level wasmer_runtime_core::Instance would allow us to remove the public function cosmwasm_vm::Instance.set_gas and instead pass the limit at construct time (as shown in #136).

This would require the ability to preserve cosmwasm_vm::Instance.wasmer_instance when the container Instance is destructed in store_instance, just like storage.

Postponing this for now as not urgent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions