-
Notifications
You must be signed in to change notification settings - Fork 22
WASM build broken on litd
version bump due to taproot-assets symbol bloat
#113
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
Comments
We probably just need to complete/merge this: lightninglabs/taproot-assets#1090 EDIT: this will be the working PR: lightninglabs/taproot-assets#1487 |
This is the solution I think we should implement to fix the WASM build issue caused by importing
This approach isolates only the necessary RPC and permission modules for I've tested this |
First reported by @ViktorTigerstrom
Attempting to bump
litd
triggers a WASM build failure. Too many symbols fromtaproot-assets
are included, leading to relocation errors like:This doesn’t happen before the version bump — likely due to changes in the dependency pulling in more of
taproot-assets
than needed.Proposed fix: move
taprpc
to a submodule intaproot-assets
. This lets the WASM client depend only ontaprpc
, avoiding the full dependency and reducing symbol load.The text was updated successfully, but these errors were encountered: