Skip to content

Conversation

chipshort
Copy link
Contributor

The warning was originally introduced because the LLVM upgrade in Rust 1.82 introduces a requirement for reference-types. This is because of a different encoding for the call_indirect instruction.

However, it turns out that the wasm-opt call actually changes this encoding back to the MVP-compatible one, making the resulting wasm compatible with pre-3.0 versions of CosmWasm. Because of the removal of the --signext-lowering, we are bounded to 1.3+.

We noticed this during a test run at Axelar and I manually tested that this is because of the wasm-opt call.

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