Bart
882bb4efa4
refactor: Add a reusable peer harness for acquisition tests
...
DeepChain (src/tests/libxrpl/shamap/DeepChain.h) builds node chains for both
acquisition suites: fabricated chains that run to SHAMap::kLeafDepth, which
no valid tree can hold, and toLeaf() chains that complete an acquisition.
AcquireTestHelpers.h adds ChargeRecordingPeer, RequestCountingPeerSet
(deduping by tracked id like the real PeerSetImpl), packetFor(), waitFor(),
and tallyIs(), so both suites can drive an acquisition through its real
gotData() dispatch instead of reproducing it.
TransactionAcquire and InboundLedger drop final and take a defaulted
retryInterval, so tests can run a whole timeout chain in a fraction of a
second; nothing in production passes one.
AcquireTestHelpers.h is the first src/test file to include one from
src/tests, so levelization records a new test.app > tests.libxrpl edge in
ordering.txt. No loop is introduced: nothing under src/tests includes
src/test.
Addresses Copilot review feedback on PR #8081 .
2026-08-25 17:57:58 -04:00
Bart
e7e9bd4c30
test: Read a SHAMapAddNode verdict as counts
...
SHAMapAddNode gains getBad() and getDuplicate() beside getGood(), so a
verdict can be read as counts instead of just a log string. get()'s wording
is pinned by src/tests/libxrpl/shamap/SHAMapAddNode.cpp, the one place that
depends on it.
2026-08-25 17:57:57 -04:00
Ayaz Salikhov
fee4bfc22e
build: Implement packaging in Python ( #8109 )
2026-08-25 19:32:03 +00:00
Vito Tumas
5e3d20b3ed
fix: Prevent vault clawback and withdraw overrun ( #8075 )
2026-08-25 17:59:37 +00:00
Ayaz Salikhov
9e2aaf6f60
build: Add rust-toolchain.toml to .envrc ( #8107 )
2026-08-25 17:09:03 +00:00
Vito Tumas
ec042fefee
fix: Absorb Vault invariant rounding noise ( #8055 )
2026-08-25 17:07:58 +00:00
Ayaz Salikhov
45e4b8899d
build: Update packaging images; add Python ( #8106 )
2026-08-25 14:34:41 +00:00
Jingchen
c5dc408596
fix: Remove explicit from std/boost hash specialisation default constructors ( #8100 )
2026-08-25 14:13:02 +00:00
Sergey Kuznetsov
473fe44a85
chore: Upgrade rust toolchain to 1.97.1 ( #8105 )
2026-08-25 13:48:26 +00:00
Bart
0fdaf69e2c
chore: Bump version to 3.4.0-b1 ( #8102 )
3.4.0-b1
2026-08-24 20:41:58 +00:00
Timur Yalymov
9d41b1bd1c
fix: Exempt vault and loan broker accounts from IOU authorization ( #8013 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-24 16:23:43 +00:00
Jingchen
f137d71510
test: Split Invariants_test.cpp into per-topic files ( #8077 )
2026-08-24 16:17:33 +00:00
Bart
8bc6e81c5f
fix: Reject an inner node claimed at leaf depth in verifyProofPath ( #7940 )
...
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-24 16:17:12 +00:00
Ed Hennis
764cbe7c29
perf: Pause online delete if there any gaps in recent ledger history ( #5531 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-08-24 14:16:03 +00:00
Timur Yalymov
520650081b
fix: Remove credentials pinned to Vault, LoanBroker, and AMM pseudo-accounts ( #7877 )
...
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
2026-08-24 13:06:44 +00:00
Timur Yalymov
a097ccebae
fix: Tighten destination checks on vault withdrawal ( #7977 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
2026-08-24 12:50:57 +00:00
Mayukha Vadari
fe4ccdf750
fix: Add assert for account_info flags ( #7987 )
2026-08-21 15:20:44 +00:00
Timur Yalymov
046d4dd4af
fix: Reject vault deposits that move nothing from the depositor ( #8014 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-21 12:30:17 +00:00
Ed Hennis
d27beef500
perf: Speed up addition time for drastically different exponents ( #7825 )
2026-08-20 19:40:42 +00:00
Mayukha Vadari
85512541ad
refactor: Collapse transactions.macro settings into a TxSettings struct ( #8001 )
...
Co-authored-by: Timur Yalymov <36795566+tyalymov@users.noreply.github.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
2026-08-20 19:25:27 +00:00
Gregory Tsipenyuk
3ab5288ef2
fix: Enforce MPT balance invariants under the latest cleanup amendment ( #7889 )
2026-08-20 19:05:28 +00:00
Kassaking7
d0dbf9163c
fix: Prevent AMM auction slots from being acquired at zero cost when trading fee is zero ( #7430 )
2026-08-20 19:04:04 +00:00
Ayaz Salikhov
a1478fac39
docs: Fix yum installation baseurl ( #8066 )
2026-08-20 16:28:43 +00:00
Timur Yalymov
cc76708563
fix: Return specific and consistent errors from vault_info ( #8015 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 16:05:18 +00:00
Sergey Kuznetsov
422e5245e4
ci: Save cargo cache only from develop by default ( #8063 )
2026-08-20 16:02:26 +00:00
Shawn Xie
e3ba569187
fix: Check credential for LoanBrokerCoverWithdraw and VaultWithdraw ( #7107 )
...
Co-authored-by: Peter Chen <ychen@ripple.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
2026-08-20 15:33:46 +00:00
Jingchen
959a186a0f
build: Suppress MSVC linker warning LNK4099 ( #8049 )
2026-08-20 13:19:07 +00:00
dependabot[bot]
3b1c9e4320
chore: [DEPENDABOT] Bump cxx from 1.0.198 to 1.0.199 in /crates in the rust-dependencies group across 1 directory ( #8050 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-20 13:12:14 +00:00
Ayaz Salikhov
a3a2c85c41
build: Use debian any distribution & signed (hosted) rpm repo ( #8053 )
2026-08-20 13:05:18 +00:00
Ayaz Salikhov
b1ac891210
ci: Do not cache cargo binaries ( #8062 )
2026-08-20 11:47:27 +00:00
Ayaz Salikhov
da57183e0c
build: Compress the RPM payload with zstd ( #8047 )
2026-08-19 15:05:04 +00:00
Sergey Kuznetsov
f370289733
chore: Rust-C++ cmake and CI integration ( #7034 )
2026-08-19 14:30:06 +00:00
Vito Tumas
d1dc7a6ccf
refactor: Extract invariant invocation into free checkInvariants runner ( #7404 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 14:10:11 +00:00
Ayaz Salikhov
5639863715
docs: Rewrite the install guide ( #8048 )
2026-08-19 14:02:42 +00:00
Ayaz Salikhov
1be4868875
build: Sign RPM packages ( #8046 )
2026-08-19 13:46:11 +00:00
Timur Yalymov
368ff1afce
fix: Exempt loan default from asset freeze ( #7932 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
2026-08-19 13:43:40 +00:00
Vito Tumas
3adf2d40b5
fix: Reject VaultWithdraw fixed-share amounts that round to zero ( #7950 )
2026-08-19 13:09:38 +00:00
Ayaz Salikhov
a6983f8bf3
build: Use AlmaLinux for the RHEL packaging image ( #8045 )
2026-08-19 00:25:46 +00:00
Ayaz Salikhov
4113b105a5
build: Run nix macos builds in CI; deny nix store references ( #8023 )
2026-08-18 23:34:16 +00:00
Olek
7442ff2dec
fix: Enable reserve checking on ending sponsorship ( #8044 )
2026-08-18 22:39:32 +00:00
Kassaking7
666e77b22c
fix: Add ValidPermissionedDEX invariant track for fully consumed offer ( #6736 )
2026-08-18 21:08:02 +00:00
Vito Tumas
8c12de6c56
test: Split Vault_test into topical suites under src/test/app/vault/ ( #8041 )
2026-08-18 17:57:12 +00:00
Shawn Xie
b21fd86f6e
fix: Fix assorted NFT and pDEX bugs ( #7749 )
2026-08-18 17:56:33 +00:00
Ayaz Salikhov
f5f47f1cf5
chore: Publish debian/rpm packages from GitHub directly ( #8031 )
2026-08-18 15:03:45 +00:00
Bart
ca39bff3c8
refactor: Add SHAMapNodeID::isPrefixOf ( #7939 )
...
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com >
2026-08-18 12:35:32 +00:00
Vito Tumas
dd0edc19a0
fix: Conserve funds correctly when LoanPay fee payee is below reserve ( #7843 )
2026-08-18 11:09:33 +00:00
Copilot
820ca5b332
refactor: Convert boost::beast::string_view to std::string_view ( #6306 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: mvadari <8029314+mvadari@users.noreply.github.com >
Co-authored-by: Mayukha Vadari <mvadari@ripple.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com >
Co-authored-by: Timur Yalymov <36795566+tyalymov@users.noreply.github.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
2026-08-17 23:19:56 +00:00
Gregory Tsipenyuk
1b226c8b2e
perf: Optimize MPT freeze checks to reduce redundant state reads ( #7411 )
...
Co-authored-by: Chenna Keshava B S <21219765+ckeshava@users.noreply.github.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-08-17 21:15:16 +00:00
Gregory Tsipenyuk
ca6121c5b3
feat: Enforce MPT CanTransfer on AMM LPTokens transfers ( #7418 )
2026-08-17 20:58:46 +00:00
Gregory Tsipenyuk
c49789086a
fix: Extend locked-MPToken unauthorize check to fixCleanup3_4_0 ( #8004 )
2026-08-17 12:52:20 +00:00