Skip to content

fix: Revert "chore(Core): Limit wasm locals" - #10475

Merged
schneiderstefan merged 1 commit into
masterfrom
revert-10430-mwe/limit_locals
Jun 16, 2026
Merged

schneiderstefan merged 1 commit into
masterfrom
revert-10430-mwe/limit_locals

Conversation

@schneiderstefan

Copy link
Copy Markdown
Contributor

Reverts #10430

@github-actions github-actions Bot added the fix label Jun 15, 2026
@schneiderstefan
schneiderstefan marked this pull request as ready for review June 16, 2026 15:15
@schneiderstefan
schneiderstefan requested a review from a team as a code owner June 16, 2026 15:15
@schneiderstefan
schneiderstefan added this pull request to the merge queue Jun 16, 2026
@zeropath-ai

zeropath-ai Bot commented Jun 16, 2026

Copy link
Copy Markdown

✅ No security or compliance issues detected. Reviewed everything up to a9b545e.

Security Overview
Detected Code Changes
Change Type Relevant files
Refactor ► rs/embedders/src/wasm_utils/validation.rs
    Remove MAX_WASM_FUNCTION_NUM_LOCALS constant and validation logic
► rs/embedders/tests/validation.rs
    Remove test for wasm with many locals
► rs/types/wasm_types/src/errors.rs
    Remove WasmValidationError::TooManyLocals variant

Merged via the queue into master with commit e6ba261 Jun 16, 2026
41 checks passed
@schneiderstefan
schneiderstefan deleted the revert-10430-mwe/limit_locals branch June 16, 2026 15:59
pull Bot pushed a commit to bit-cook/ic that referenced this pull request Jul 20, 2026
Essentially reverts this revert:
dfinity#10475
Metrics show that this is almost twice the max of existing canisters
over all subnets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants