Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Switch from pwasm-utils to wasm-instrument #10680

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

athei
Copy link
Member

@athei athei commented Jan 17, 2022

The crate pwasm-utils contains a lot of unused code and us largely unmaintained. The only parts of it that are in production use (by parity) is the stack height metering and gas instrumentation. All the "optimization" parts and CLI utils are provided by binaryen.

For that reason I created a new repository where I removed all the unused functionality and cleaned up the documentation. The old repository should be archived after we made the switch with substrate.

This PR switches to the new crate wasm-instrument. No functionality changes where made when cleaning up the code.

@athei athei added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jan 17, 2022
@athei athei requested review from pepyakin and bkchr January 17, 2022 08:53
athei added a commit to paritytech/wasm-utils that referenced this pull request Jan 17, 2022
I created a successor crate with a proper crate name and without all the dead code.

Substrate is switched to the new crate here: paritytech/substrate#10680
@athei
Copy link
Member Author

athei commented Jan 17, 2022

bot merge

@paritytech-processbot paritytech-processbot bot merged commit e2d1f18 into master Jan 17, 2022
@paritytech-processbot paritytech-processbot bot deleted the at-use-wasm-instrument branch January 17, 2022 15:00
athei added a commit to paritytech/wasm-utils that referenced this pull request Jan 17, 2022
I created a successor crate with a proper crate name and without all the dead code.

Substrate is switched to the new crate here: paritytech/substrate#10680
niklasad1 added a commit that referenced this pull request Jan 28, 2022
grishasobol pushed a commit to gear-tech/substrate that referenced this pull request Mar 28, 2022
* Switch executor to wasm-instrument

* Switch pallet-contracts to wasm-instrument
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Switch executor to wasm-instrument

* Switch pallet-contracts to wasm-instrument
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants