Skip to content

Backport SignextLowering #1189 + #1280#1286

Merged
ascjones merged 8 commits into
v3.x.xfrom
aj/backport-signext
Aug 22, 2023
Merged

Backport SignextLowering #1189 + #1280#1286
ascjones merged 8 commits into
v3.x.xfrom
aj/backport-signext

Conversation

@ascjones
Copy link
Copy Markdown
Collaborator

@ascjones ascjones commented Aug 21, 2023

Backport #1189 + #1280. Enables new toolchains > 1.69 + nodes with old pallet_contracts (pre sign_ext support)

Edit: Also had to manually backport subxt updates from #1149 and #1236 in order to fix compatibility issues with an old version of sp-core on which the current version of subxt depends. wasmi-validation does not expect the sign-ext instruction, but this dependency is removed in recent releases.

Can be released as 3.2.0. Rel #1239

ascjones and others added 3 commits August 21, 2023 12:38
* Add `SignextLowering` pass to `wasm-opt`

* Remove check for Rust version

(cherry picked from commit 756aa38)
* Enable Wasm sign_ext

* Bump substrate crates

* Add warning when building with new rustc

* Stable toolchain

* Revert "Stable toolchain"

This reverts commit aa2a2e6.

---------

Co-authored-by: Andrew Jones <ascjones@gmail.com>
@ascjones ascjones changed the title Backport SignextLowering #1280 Backport SignextLowering #1189 + #1280 Aug 21, 2023
@SkymanOne
Copy link
Copy Markdown
Contributor

Is CI supposed to be failing?

@ascjones
Copy link
Copy Markdown
Collaborator Author

Is CI supposed to be failing?

No, I need to fix it.

@ascjones ascjones merged commit 8a8f0cb into v3.x.x Aug 22, 2023
@ascjones ascjones deleted the aj/backport-signext branch August 22, 2023 08:58
@ascjones ascjones mentioned this pull request Aug 22, 2023
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.

4 participants