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

Support compiling contracts with Rust v1.70+ #1500

Merged
merged 10 commits into from
Aug 9, 2023
Merged

Conversation

assafmo
Copy link
Member

@assafmo assafmo commented Aug 6, 2023

Starting from v1.70, Rust uses the Wasm sign extension opcodes when compiling to Wasm. Our Wasm parser for static analysis had to be updated in order to correctly parse these opcodes.

Refs:

@assafmo assafmo force-pushed the support-rust-1.70-wasm branch 2 times, most recently from 5b54a0c to 2db8a95 Compare August 8, 2023 10:08
assafmo added 2 commits August 8, 2023 15:25
Starting from v1.70, Rust uses the Wasm sign extenstion opcodes when comipling to Wasm. Our Wasm parser for static analysis had to be updated in order to correctly parse these opcodes.

Refs:
- https://github.com/WebAssembly/sign-extension-ops/blob/master/proposals/sign-extension-ops/Overview.md
- CosmWasm/cosmwasm#1727
- CosmWasm/cosmwasm#1743
@assafmo assafmo force-pushed the support-rust-1.70-wasm branch from dc1fd07 to f64e2cf Compare August 8, 2023 12:30
@assafmo assafmo force-pushed the support-rust-1.70-wasm branch from f64e2cf to a7285b8 Compare August 8, 2023 12:36
Base automatically changed from snip-52-add-txhash-to-env to master August 9, 2023 11:15
@assafmo assafmo merged commit 4f21d57 into master Aug 9, 2023
@assafmo assafmo deleted the support-rust-1.70-wasm branch August 9, 2023 12:07
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 this pull request may close these issues.

1 participant