Skip to content

Commit

Permalink
Bump parity-wasm from 0.42.2 to 0.45.0 (use-ink#590)
Browse files Browse the repository at this point in the history
* Bump parity-wasm from 0.42.2 to 0.45.0

Bumps [parity-wasm](https://github.com/paritytech/parity-wasm) from 0.42.2 to 0.45.0.
- [Release notes](https://github.com/paritytech/parity-wasm/releases)
- [Commits](paritytech/parity-wasm@v0.42.2...v0.45.0)

---
updated-dependencies:
- dependency-name: parity-wasm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix error

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ascjones <ascjones@gmail.com>
  • Loading branch information
dependabot[bot] and ascjones authored May 30, 2022
1 parent d3fc06c commit 934dafc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ clap = { version = "3.1.18", features = ["derive", "env"] }
log = "0.4.17"
heck = "0.4.0"
zip = { version = "0.6.2", default-features = false }
parity-wasm = "0.42.2"
parity-wasm = "0.45.0"
cargo_metadata = "0.14.2"
scale = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
which = "4.2.5"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ fn post_process_wasm(crate_metadata: &CrateMetadata) -> Result<()> {
validate_wasm::validate_import_section(&module)?;

debug_assert!(
!module.clone().to_bytes().unwrap().is_empty(),
!module.clone().into_bytes().unwrap().is_empty(),
"resulting wasm size of post processing must be > 0"
);

Expand Down

0 comments on commit 934dafc

Please sign in to comment.