Skip to content

Modularise wasm (#6441)

a9ebf78
Select commit
Loading
Failed to load commit list.
Open

feat: add WASM host functions (Wasmi version) #6075

Modularise wasm (#6441)
a9ebf78
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 4, 2026 in 1s

80.3% (target 75.0%)

View this Pull Request on Codecov

80.3% (target 75.0%)

Details

Codecov Report

❌ Patch coverage is 96.87805% with 64 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.3%. Comparing base (61bcb76) to head (a9ebf78).

Files with missing lines Patch % Lines
src/libxrpl/tx/wasm/HostFuncWrapper.cpp 97.2% 25 Missing ⚠️
src/libxrpl/tx/wasm/WasmiVM.cpp 92.4% 24 Missing ⚠️
include/xrpl/tx/wasm/HostFuncImpl.h 75.0% 7 Missing ⚠️
include/xrpl/tx/wasm/WasmiVM.h 94.3% 2 Missing ⚠️
src/libxrpl/tx/wasm/HostFuncImplFloat.cpp 99.1% 2 Missing ⚠️
src/libxrpl/tx/wasm/WasmVM.cpp 97.7% 2 Missing ⚠️
src/libxrpl/basics/Number.cpp 97.4% 1 Missing ⚠️
src/libxrpl/tx/wasm/HostFuncImplTrace.cpp 95.7% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff               @@
##           ripple/wasmi   #6075     +/-   ##
==============================================
+ Coverage          79.8%   80.3%   +0.5%     
==============================================
  Files               858     873     +15     
  Lines             67761   69811   +2050     
  Branches           7550    7587     +37     
==============================================
+ Hits              54081   56073   +1992     
- Misses            13680   13738     +58     
Files with missing lines Coverage Δ
include/xrpl/basics/Number.h 98.7% <ø> (ø)
include/xrpl/protocol/Protocol.h 100.0% <ø> (ø)
include/xrpl/protocol/TER.h 100.0% <ø> (ø)
include/xrpl/protocol/detail/ledger_entries.macro 100.0% <ø> (ø)
include/xrpl/tx/wasm/HostFunc.h 100.0% <100.0%> (ø)
include/xrpl/tx/wasm/ParamsHelper.h 100.0% <100.0%> (ø)
include/xrpl/tx/wasm/WasmVM.h 100.0% <100.0%> (ø)
src/libxrpl/protocol/TER.cpp 100.0% <ø> (ø)
src/libxrpl/tx/wasm/HostFuncImpl.cpp 100.0% <100.0%> (ø)
src/libxrpl/tx/wasm/HostFuncImplGetter.cpp 100.0% <100.0%> (ø)
... and 11 more

... and 6 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.