-
Notifications
You must be signed in to change notification settings - Fork 373
latest wasmer + fixes to learn perf #2462
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
base: main
Are you sure you want to change the base?
Conversation
faddat
commented
Apr 27, 2025
- Update wasmer to 6.0
- Fix tests
- [autofix.ci] apply automated fixes
- feat: Implement module size limit and overflow protection
- finish updatge to wasmver v6
- Added a check for Wasm module size limit in `check_wasm` function to prevent oversized modules. - Introduced a default module size limit of 3MiB in `WasmLimits`. - Implemented overflow protection in `read_region_cost` and `validate_region` functions. - Added unit tests to ensure module size limits and overflow checks are enforced correctly.
…m/faddat/cosmwasm into faddat/use-latest-wasmer-plus-fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noone here would read through 7k lines changes, I'd ask you to split this in part. One thing I see immediately is that upgrade to Wasmer 6 is impossible legal-wise due to license changes. I didn't even look at any changes, so no other comments from me at this point, but it's not mergable for sure.
See https://wasmer.io/posts/singlepass-relicensing for an elaboration of the Wasmer 6 upgrade issue. We will upgrade to Wasmer 5.0.6 in a few days which includes the patches we need. |
Thank you @webmaster128 |