namada
namada copied to clipboard
wasm: switch to cranelift compiler
Describe your changes
Taking advantage of tx allowlist that prohibit execution of untrusted wasm, we can switch to cranelift compiler to improve wasm performance.
TODOs:
- [ ] use singlepass compiler for dry-run RPC (needed for gov proposals? tbc.) or disable dry-run RPC by default unless explicitly enabled in the config
Indicate on which release or other PRs this topic is based on
Checklist before merging to draft
- [ ] I have added a changelog
- [ ] Git history is in acceptable state
Codecov Report
Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.
Project coverage is 59.40%. Comparing base (
9d4de02) to head (a37a2a5). Report is 12 commits behind head on main.
| Files | Patch % | Lines |
|---|---|---|
| ...tes/namada/src/vm/wasm/compilation_cache/common.rs | 0.00% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #3183 +/- ##
==========================================
- Coverage 59.40% 59.40% -0.01%
==========================================
Files 298 298
Lines 92326 92326
==========================================
- Hits 54849 54848 -1
- Misses 37477 37478 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.