Skip to content

Fixing wasm-opt#1160

Open
Pauan wants to merge 1 commit into
mainnetfrom
fix/wasm-opt
Open

Fixing wasm-opt#1160
Pauan wants to merge 1 commit into
mainnetfrom
fix/wasm-opt

Conversation

@Pauan
Copy link
Copy Markdown
Collaborator

@Pauan Pauan commented Jan 14, 2026

Note

Medium Risk
Medium risk because it changes the WASM build optimization flags and wasm-pack test invocation, which can affect produced artifacts and CI behavior; the rest is mostly dependency and GitHub Actions version bumps.

Overview
Updates CI and build tooling across the repo. GitHub Actions workflows/actions are bumped to newer major versions (checkout/setup-node/cache/artifact/github-script) and most jobs switch to ubuntu-latest runners.

Adjusts WASM packaging/testing and modernizes dependencies. wasm/build.js drops some wasm-opt flags and wasm/test.js now runs wasm-pack test in release mode with --no-default-features and explicit browser,<network> features. The PR also updates the Rust nightly, upgrades TypeScript (and various JS build/lint deps) across sdk, wasm, website, and create-leo-app templates, and tweaks TS configs/imports for Node ESM compatibility (e.g., node: builtins, types: ["node"], bundler module resolution).

Reviewed by Cursor Bugbot for commit d231490. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Member

@iamalwaysuncomfortable iamalwaysuncomfortable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like the wasm tests failed here, but once we that's solved we'll bench this against previous large function proving benchmarks to see what the speed improvement wasm-opt provides. With any luck it should speed up proving times.

@Pauan
Copy link
Copy Markdown
Collaborator Author

Pauan commented Jan 15, 2026

@iamalwaysuncomfortable Yeah, I'm still investigating that, wasm-opt is very finicky sometimes.

Comment thread wasm/test.js Outdated
Comment thread sdk/rollup.config.js Outdated
Comment thread create-leo-app/template-react-loyalty-program-ts/package.json Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7b6afbc. Configure here.

Comment thread sdk/tsconfig.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code wasm Relates to webassembly apis

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants