Finschia / cosmwasm

Fast and reusable WebAssembly smart contract runtime(and library) for finschia-sdk.
Apache License 2.0
27 stars 14 forks source link

research whether package/check should be change for dynamic link #299

Closed loloicci closed 1 year ago

loloicci commented 1 year ago

Research

loloicci commented 1 year ago

check does only check_wasm and compile

    // Check wasm
    check_wasm(&wasm, available_capabilities)?;

    // Compile module
    compile(&wasm, None, &[])?;

So, if they check dynamic link WASMs correctly, no other checks for dynamic link WASMs are needed.

And, we need to check dynamic link WASMs having _get_callable_points_properties. I leave it as https://github.com/Finschia/cosmwasm/issues/300.