-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust/Go Pointer Sharing Issue #273
Labels
dynamic_link
relate the dynamic link call feature
Comments
This was referenced Mar 20, 2023
This was referenced Mar 23, 2023
Closed
loloicci
added a commit
to loloicci/line-cosmwasm
that referenced
this issue
Mar 29, 2023
This was referenced Mar 29, 2023
8 tasks
11 tasks
loloicci
added a commit
to loloicci/line-cosmwasm
that referenced
this issue
Apr 11, 2023
some tests in vm/dynamic_link.rs are testing mock.rs's call_callable point. this is verbose, and this mock will be removed in Finschia#273. so this commit removes these tests.
loloicci
added a commit
that referenced
this issue
Apr 11, 2023
…ust/Go pointer sharing issue (#283) * feat: improve contracts using dynamic link for test new dynamic link functions * feat: change how to dynamic link and validate interface * chore: cargo fmt * chore: cargo fmt * ci: update rust-toolchain version in ci tests according to latest dynamic link branch * chore: cargo schema on events contract * chore: cargo clippy * chore: cargo clippy for dynamic-caller-contract * test: remove verbose tests for dynamic link some tests in vm/dynamic_link.rs are testing mock.rs's call_callable point. this is verbose, and this mock will be removed in #273. so this commit removes these tests.
This was referenced Apr 12, 2023
loloicci
added a commit
to loloicci/wasmvm
that referenced
this issue
Apr 17, 2023
- change depnding cosmwasm - remove unused functions on libwasmvm after solving Finschia/cosmwasm#273
loloicci
added a commit
to loloicci/wasmvm
that referenced
this issue
Apr 17, 2023
- change depnding cosmwasm - remove unused functions on libwasmvm after solving Finschia/cosmwasm#273
8 tasks
loloicci
added a commit
to Finschia/wasmvm
that referenced
this issue
Apr 17, 2023
* fix: change depending cosmwasm and remove unused functions on libwasmvm - change depnding cosmwasm - remove unused functions on libwasmvm after solving Finschia/cosmwasm#273 * fix: remove GetContractEnv from API
5 tasks
This was referenced Apr 20, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 (feat: implement CallCallablePoint to VM wasmvm#97)CallCallablePoint
CallCallablePoint
from rust (feat: switch how to do dynamic link and validate interface to solve rust/Go pointer sharing issue #283)ValidateDynamicLinkInterface
to wasmvm (feat: Implement "ValidateDynamicLinkInterface" to vm wasmvm#99)ValidateDynamicLinkInterface
(feat: Implement "ValidateDynamicLinkInterface" to vm wasmvm#99)ValidateDynamicLinkInterface
from rust (feat: switch how to do dynamic link and validate interface to solve rust/Go pointer sharing issue #283)The text was updated successfully, but these errors were encountered: