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: remake functions to read/write from/to env region for dynamic link #259

Closed loloicci closed 1 year ago

loloicci commented 1 year ago

Description

This PR

This PR is for #257

This is used is needed by https://github.com/line/wasmvm/pull/83 and https://github.com/line/lbm-sdk/pull/835. See them to check the used way.

Gas Fee Changes

Without this series of issues (an example)

With this series of issues (an example)

Types of changes

Checklist

loloicci commented 1 year ago

I think this is caused by the coexistence of wasmer-types 1.0.2 and 2.2.1

Yes, and wasmer-type 1.0.2 is needed by dynamic_link macro. So I want to make an another issue for it.