Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new WASM features - WIP #2065

Draft
wants to merge 28 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7285178
Check maximum table size in WASM table section
lrubasze Jan 17, 2025
d31c38c
Remove not used wasm_validator_config from ScryptoVm struct
lrubasze Jan 17, 2025
62bc8f7
Implement WasmFeaturesConfig module
lrubasze Jan 17, 2025
f1e31e5
Update tests
lrubasze Jan 17, 2025
663a544
Make sure wasmi uses the same WASM features as Radix Engine
lrubasze Jan 17, 2025
785f09e
Enable 'reference-types' and 'multi-value' WASM features
lrubasze Jan 17, 2025
d88c985
Fix no_std tests
lrubasze Jan 20, 2025
8c73bb5
Add ScryptoVmVersion::V1_3
lrubasze Jan 20, 2025
8c0feac
Make WASM-related modules aware of Protocol/Vm version
lrubasze Jan 20, 2025
6659eff
Add WASM new features to the Dugong protocol update
lrubasze Jan 21, 2025
79849b5
Do not use VmBoot::latest() in Bottlenose protocol update
lrubasze Jan 21, 2025
aeb34a8
Bump VmBoot and ScryptoVmVersion latest to Dugong
lrubasze Jan 21, 2025
8dcd1ba
Update scenarios for protocol updates
lrubasze Jan 21, 2025
687b7cb
Support ScryptoVmVersion in Scrypo compiler
lrubasze Jan 22, 2025
450b1b0
Fix some comments
lrubasze Jan 22, 2025
2762fb7
WASM multi-value tests
lrubasze Jan 22, 2025
4a1ec3e
More comments on multi-value feature
lrubasze Jan 22, 2025
bcbd7e8
Improve WASM table handling if 'reference-types' enabled
lrubasze Jan 23, 2025
3498656
Cleanup WASM tests
lrubasze Jan 23, 2025
e7d1791
WASM reference-types tests
lrubasze Jan 23, 2025
1296aee
Replace outdated WASM parser 'wabt' with 'wat' and 'wasmprinter'
lrubasze Jan 23, 2025
1d04c80
Fix tests after replacing WASM parser
lrubasze Jan 23, 2025
b090af7
Remove unnecessary test
lrubasze Jan 23, 2025
15de607
Update Cargo.lock
lrubasze Jan 23, 2025
338d7ed
Fix benchmarks and no_std
lrubasze Jan 24, 2025
db73ae3
Tests cleanup
lrubasze Jan 24, 2025
69a5893
Temporarily add fallback weights for instructions enabled with refere…
lrubasze Jan 24, 2025
d2ee1a3
More WASM reference-types tests
lrubasze Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 82 additions & 60 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ tar = { version = "0.4.40" } # Used in radix-clis
temp-env = { version = "0.2.0" } # Used in radix-clis
tempfile = { version = "3.8.0" }
trybuild = { version = "1.0.85" }
wabt = { version = "0.10.0" }
wat = { version = "1.224.0" } # Used in tests to parse '*.wat' files
wasmprinter = { version = "0.224.0" } # Used in tests to convert '*.wasm' to '*.wat'
walkdir = { version = "2.3.3", default-features = false }
wasmi = { version = "=0.39.1" } # Used for WASM Execution in the Engine. Requires explicit upgrades for testing non-determinism.
wasm-opt = { version = "0.114.1" }
Expand Down
Loading
Loading