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

Pack resolc.js and resolc.wasm into single file #173

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

smiasojed
Copy link
Collaborator

Pack resolc.js and resolc.wasm into single file
Format JS files
Fix issue with Module overwriting in preloaded js.

@athei
Copy link
Member

athei commented Jan 23, 2025

This way of packing it works better in Firefox than the way we tried before?

@smiasojed
Copy link
Collaborator Author

smiasojed commented Jan 23, 2025

This way of packing it works better in Firefox than the way we tried before?

No is does not, I am doing still experiments
The most important point is that I have exposed the wasm data outside the code generated by emscripten, so for example I can experiment with wasm data compression.
For example the Wasm data bundled in soljson is compressed with lz4
To main issue is for me that we need to instantiate wasm two times as we need call revive twice in one compilation run.

Added lz4 compression, but there is still issue with compilation large contracts in firefox

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
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.

3 participants