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

Replace parity-wasm with wasmparser for static checks #1735

Closed
webmaster128 opened this issue Jun 19, 2023 · 2 comments · Fixed by #1786
Closed

Replace parity-wasm with wasmparser for static checks #1735

webmaster128 opened this issue Jun 19, 2023 · 2 comments · Fixed by #1786
Milestone

Comments

@webmaster128
Copy link
Member

webmaster128 commented Jun 19, 2023

To solve #1727

See https://crates.io/crates/wasmparser. This is in our dependency tree already via Wasmer and folks seem to recommend it.

@webmaster128 webmaster128 added this to the 1.3.0 milestone Jun 19, 2023
@webmaster128 webmaster128 self-assigned this Jun 22, 2023
@webmaster128
Copy link
Member Author

parity-wasm allows the sign extension via a feature. However, the crate is unmaintained and should still be replaced.

@webmaster128 webmaster128 modified the milestones: 1.3.0, 1.4.0 Jun 22, 2023
@webmaster128
Copy link
Member Author

This requires #1742 to be adopted. Otherwise subtle changes in the Wasm valiation might lead to rejecting Wasm blobs that are in use on a chain for a long time.

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 a pull request may close this issue.

1 participant