change the type of argument of validate dynamic interface to serialized binary
loloicci opened this issue · 1 comments
loloicci commented
the argument is Vec<wasmer_types::ExportType<wasmer_types::FunctionType>>
. Change it to &[u8]
(serialized one)
This is because
- After merging Finschia/wasmvm#99, rust passes the serialized expected interface to Go.
- If we change it, contracts do not need to import wasmer