Skip to content
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

change compile to pub #205

Merged
merged 1 commit into from
Nov 1, 2023
Merged

change compile to pub #205

merged 1 commit into from
Nov 1, 2023

Conversation

yymone
Copy link
Contributor

@yymone yymone commented Nov 1, 2023

We need pre-do compile in a spawn thread to avoid the wasmi panic to crash the calling serivce.
The other pub function like checksum() which use it will need big param which normally have to be in a mutex cache so the panic will poison the mutex/lock and make cache never be using anymore

https://delphinuslab.atlassian.net/browse/ZKWAS-147

@junyu0312 junyu0312 merged commit f27dac8 into main Nov 1, 2023
1 check passed
@yymone yymone deleted the yyu/ChangeCompiletoPub branch November 2, 2023 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants