Skip to content

Commit

Permalink
Merge remote-tracking branch 'namada/tiago/main/wasm-vm-allow-sign-ex…
Browse files Browse the repository at this point in the history
…tend' (#833) into main

* namada/tiago/main/wasm-vm-allow-sign-extend:
  changelog: add #833
  Update Cargo.lock files
  Enable sign extend wasm opcodes
  • Loading branch information
juped committed Dec 13, 2022
2 parents 732a8d0 + 71b348b commit c7c582b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow sign extension opcodes in WASM
([#833](https://github.com/anoma/namada/pull/833))
9 changes: 4 additions & 5 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ ibc = {version = "0.14.0", default-features = false, optional = true}
ibc-proto = {version = "0.17.1", default-features = false, optional = true}
itertools = "0.10.0"
loupe = {version = "0.1.3", optional = true}
parity-wasm = {version = "0.42.2", optional = true}
parity-wasm = {version = "0.45.0", features = ["sign_ext"], optional = true}
paste = "1.0.9"
# A fork with state machine testing
proptest = {git = "https://github.com/heliaxdev/proptest", branch = "tomas/sm", optional = true}
prost = "0.9.0"
pwasm-utils = {version = "0.18.0", optional = true}
pwasm-utils = {git = "https://github.com/heliaxdev/wasm-utils", tag = "v0.20.0", features = ["sign_ext"], optional = true}
rayon = {version = "=1.5.3", optional = true}
rust_decimal = "1.26.1"
serde_json = "1.0.62"
Expand Down
2 changes: 1 addition & 1 deletion shared/src/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const UNTRUSTED_WASM_FEATURES: WasmFeatures = WasmFeatures {
memory64: false,
mutable_global: false,
saturating_float_to_int: false,
sign_extension: false,
sign_extension: true,
relaxed_simd: false,
extended_const: false,
};
Expand Down
9 changes: 4 additions & 5 deletions wasm/Cargo.lock

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

9 changes: 4 additions & 5 deletions wasm_for_tests/wasm_source/Cargo.lock

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

0 comments on commit c7c582b

Please sign in to comment.