Finschia / cosmwasm

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

fix: fix the dynamic linked functions' module name starts with "dynamiclinked_" #247

Closed loloicci closed 2 years ago

loloicci commented 2 years ago

Description

Before this PR, importing modules like WASI API cannot be detected in the dynamiclink branch. This is because all importing is treated as dynamic link functions' import. We want to detect imports other than dynamic link functions and issue an error. This PR changes the rule of the dynamic linked function's module name and forces them to start with "dynamiclinked".

solves #243

Types of changes

Checklist

loloicci commented 2 years ago

close for changing branch to merge