dynamic link does not manage read/write context and permissions.
wasmvm (rust part) should manage read/write context and permission of dynamic link call stacks.
And contracts' functions should tell wasmvm that it is readonly or read/write.
It is considered necessary to expose the read/write context and permission to the WASM binary in some way, and for the VM to recognize it.
This PR is realeted to https://github.com/line/cosmwasm/issues/255
dynamic link does not manage read/write context and permissions.
wasmvm
(rust part) should manage read/write context and permission of dynamic link call stacks. And contracts' functions should tellwasmvm
that it is readonly or read/write.It is considered necessary to expose the read/write context and permission to the WASM binary in some way, and for the VM to recognize it.