Skip to content

run rename script

427b7ea
Select commit
Loading
Failed to load commit list.
Closed

feat: add WASM host functions #5791

run rename script
427b7ea
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 4, 2025 in 0s

78.7% (target 75.0%)

View this Pull Request on Codecov

78.7% (target 75.0%)

Details

Codecov Report

❌ Patch coverage is 92.41448% with 153 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.7%. Comparing base (334bcfa) to head (427b7ea).

Files with missing lines Patch % Lines
src/xrpld/app/wasm/detail/WamrVM.cpp 76.6% 86 Missing ⚠️
src/xrpld/app/wasm/detail/HostFuncWrapper.cpp 93.5% 56 Missing ⚠️
src/xrpld/app/wasm/HostFuncImpl.h 81.8% 4 Missing ⚠️
src/xrpld/app/wasm/detail/WasmVM.cpp 95.9% 4 Missing ⚠️
src/xrpld/app/wasm/detail/HostFuncImpl.cpp 99.7% 2 Missing ⚠️
src/libxrpl/basics/Number.cpp 95.2% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           ripple/wamr   #5791     +/-   ##
=============================================
+ Coverage         78.2%   78.7%   +0.4%     
=============================================
  Files              816     825      +9     
  Lines            68948   70964   +2016     
  Branches          8354    8436     +82     
=============================================
+ Hits             53941   55819   +1878     
- Misses           15007   15145    +138     
Files with missing lines Coverage Δ
include/xrpl/basics/Number.h 100.0% <ø> (ø)
include/xrpl/protocol/IOUAmount.h 100.0% <ø> (ø)
include/xrpl/protocol/TER.h 100.0% <ø> (ø)
src/libxrpl/protocol/IOUAmount.cpp 90.1% <100.0%> (+0.1%) ⬆️
src/libxrpl/protocol/TER.cpp 100.0% <ø> (ø)
src/xrpld/app/wasm/HostFunc.h 100.0% <100.0%> (ø)
src/xrpld/app/wasm/ParamsHelper.h 100.0% <100.0%> (ø)
src/xrpld/app/wasm/WamrVM.h 100.0% <100.0%> (ø)
src/xrpld/app/wasm/WasmVM.h 100.0% <100.0%> (ø)
src/libxrpl/basics/Number.cpp 99.3% <95.2%> (-0.2%) ⬇️
... and 5 more

... and 5 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.