Finschia/cosmwasm

change the type of argument of validate dynamic interface to serialized binary

loloicci opened this issue · 1 comments

https://github.com/line/cosmwasm/blob/6774545efbdbfc24ee2130994e104a1b6924b710/packages/derive/src/dynamic_link.rs#L172-L175

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

closed via #289