GetContractEnv Api has a race error in the way to share the pointer of cache between rust and go.
How to solve
Change how to call callable points in the dynamic link.
Now: rust gets a cache pointer from Go and rust uses it to make a callee instance.
Suggestion: rust requests Go to make callee instance and call a callable point.
https://github.com/line/wasmvm/actions/runs/4300130935/jobs/7496102345?pr=89#step:7:105
GetContractEnv Api has a race error in the way to share the pointer of
cache
between rust and go.How to solve
Change how to call callable points in the dynamic link.
Now: rust gets a cache pointer from Go and rust uses it to make a callee instance. Suggestion: rust requests Go to make callee instance and call a callable point.
CallCallablePoint
to wasmvm (https://github.com/line/wasmvm/pull/97)CallCallablePoint
CallCallablePoint
from rust (https://github.com/Finschia/cosmwasm/pull/283)ValidateDynamicLinkInterface
to wasmvm (https://github.com/line/wasmvm/pull/99)ValidateDynamicLinkInterface
(https://github.com/line/wasmvm/pull/99)ValidateDynamicLinkInterface
from rust (https://github.com/line/cosmwasm/pull/283)