cosmwasm icon indicating copy to clipboard operation
cosmwasm copied to clipboard

Support pass to reference type arguments using the EXTERNREF

Open brew0722 opened this issue 3 years ago • 1 comments

Closes: #151

wasm cannot easily reference external memory regions, since each instance is guaranteed to be a sandboxed region of memory. To solve this limitation, there is a feature spec that supports reference types. I am particularly interested in the EXTERNREF keyword.

But now, it seems that most of them have been introduced in a limited way only in the web environment. find the methods using in our VM.

brew0722 avatar Jan 26 '22 06:01 brew0722

https://github.com/wasmerio/wasmer/blob/4c1bf5cb15c8743412ae0c2418e17a776eb3756f/lib/types/src/features.rs#L91 To use the reference type, the bulk_memory feature must also be activated. Before this issue, the bulk_memory related issue must be resolved first. https://github.com/line/cosmwasm/issues/154

brew0722 avatar Feb 18 '22 02:02 brew0722