[Proposal] Reduce Wasm Binary Size
iamalwaysuncomfortable opened this issue · 0 comments
iamalwaysuncomfortable commented
💥 Proposal
Currently the Wasm Binary size is over 10 mb. This should be reduced to significantly under 10MB if possible.
Reducing the wasm binary will probably involve the following tasks
- Removing some of the pre-loaded parameters from the SnarkVM parameters crate
- Checking existing dependencies that may be bringing in large amounts of extra data
- Optimizing wasm build options
Tasks
- Refactor functions bloating space usage
- Remove parameters from local storage and base SDK on updated SnarkVM version which removes them