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

check if wasm and zkey exist #109

Merged

Conversation

s-ekai
Copy link
Contributor

@s-ekai s-ekai commented Sep 26, 2023

fix: #49

description:

  • I will check if there are files at wasmFilePath and finalZkeyPath.
  • The path can be either a local file path or a URL.
  • There are two environments at runtime: the browser environment and the Node.js environment. During the browser environment, you cannot access the path to a local file.
  • I am using the window and process variables to determine if it's a browser environment.

@mhchia
Copy link
Member

mhchia commented Sep 26, 2023

@s-ekai Awesome work! Could you run npm run format to fix the lint?

@s-ekai
Copy link
Contributor Author

s-ekai commented Sep 26, 2023

@mhchia
Thank you very much, I ran npm run format!

@mhchia mhchia merged commit 1fb03c5 into Rate-Limiting-Nullifier:main Sep 26, 2023
2 of 3 checks passed
@mhchia
Copy link
Member

mhchia commented Sep 26, 2023

@s-ekai Great work. Thanks a lot for your contribution 😄

@s-ekai
Copy link
Contributor Author

s-ekai commented Sep 26, 2023

@mhchia Thank you very much for checking!

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.

Check if wasm/zkey/vkey exist on RLN initialization
2 participants