Commit Graph

13975 Commits

Author SHA1 Message Date
Gregory Tsipenyuk
733737d0dd Fix clang-tidy errors 2026-04-28 16:42:38 -04:00
Gregory Tsipenyuk
42e6a5a05c Allow AMMWithdraw if CanTrade/Transfer disabled 2026-04-28 14:50:41 -04:00
Gregory Tsipenyuk
bd9ed2f273 Merge branch 'gregtatcam/mpt/assorted-fixes-dev' into gregtatcam/mpt/assorted-fixes-dev-1 2026-04-28 10:35:09 -04:00
Gregory Tsipenyuk
6b71fb3f48 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-28 10:34:33 -04:00
Gregory Tsipenyuk
4967cf179b Fix ValidClawback for MPToken.
Add ClawbackMPT_test.
2026-04-28 10:16:50 -04:00
Vito Tumas
147da57348 feat: Add cleanup amendment for 3.2.0 (#7037) 2026-04-28 10:22:32 +00:00
Pratik Mankawde
3547112540 fix: Fix ubsan flagged issues (#6151)
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-27 20:34:16 +00:00
Gregory Tsipenyuk
cfaea2323f Make AMM pseudo-account MPToken implicitly authorized and fail explicit authorize/unauthorize of this token. 2026-04-27 12:00:21 -04:00
Gregory Tsipenyuk
e601c3a14b Enforce valid STPathSet decoding. 2026-04-24 17:32:12 -04:00
Alex Kremer
4dc923dcc5 chore: Enable clang-tidy modernize-use-nodiscard check (#7015) 2026-04-24 17:19:30 +00:00
Pratik Mankawde
158df5394c fix: Resolve MSVC Debug build failure in JobQueue.h; re-enable _CRTDBG_MAP_ALLOC in CI (#6993)
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
Co-authored-by: Ed Hennis <ed@ripple.com>
2026-04-24 16:47:16 +00:00
Zhiyuan Wang
a6bd9251d2 docs: Update hybrid offer invariant comment (#7007) 2026-04-24 16:35:10 +00:00
Mayukha Vadari
9ae29612ea fix: Fix flaky CI tests (#7005)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-24 13:23:43 +00:00
Mayukha Vadari
82abf2a849 docs: Update bug bounty information (#7006) 2026-04-24 13:15:12 +00:00
Mayukha Vadari
7cfa5d4610 fix: Make assorted Payments fixes (#6585) 2026-04-24 12:56:50 +00:00
Mayukha Vadari
248cb29681 refactor: Move LendingHelpers into libxrpl/ledger/helpers (#6638)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-24 12:06:26 +00:00
Jingchen
7a449edebb refactor: Clean up NetworkOPs (#6575)
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2026-04-23 17:59:49 +00:00
Gregory Tsipenyuk
ddc419daaf Add MPTAmount overflow check in directSendNoFeeMPT(). 2026-04-23 13:13:17 -04:00
Gregory Tsipenyuk
00f39cdd9c Fix BookStep rate calculation. Extend the unit-tests. 2026-04-23 13:12:49 -04:00
Gregory Tsipenyuk
5381133a8d Make MPTEndpointStep check on path calculation consistent with DirectStep. Extend unit-tests. 2026-04-23 13:07:59 -04:00
Gregory Tsipenyuk
17107d74a8 Enforce stricter canTrade() check in BookStep on path calculation. 2026-04-23 13:07:59 -04:00
Alex Kremer
19da25812b fix: Remaining clang-tidy unchecked optionals (#6979) 2026-04-23 16:21:01 +00:00
Jingchen
7cd503859e refactor: Remove seq from TMGetObjectByHash (#6976) 2026-04-23 13:59:23 +00:00
Alex Kremer
b41cbb08c6 chore: Add pre-commit hook to fix include style (#6995)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2026-04-22 22:20:14 +00:00
pdp2121
bd1b126230 feat: Add --definitions flag and artifact (#6858)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2026-04-22 20:10:52 +00:00
Mayukha Vadari
1c6cdc653c fix: More clang-tidy issues (#6992) 2026-04-22 17:42:15 +00:00
Alex Kremer
4ab20770f7 chore: Optionally run clang-tidy via pre-commit (#6680)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-22 15:06:36 +00:00
Vito Tumas
2e307329f0 refactor: Add transaction-specific invariant checking (#6551) 2026-04-22 14:41:19 +00:00
Ayaz Salikhov
3429845c40 style: Add bashate pre-commit hook to unify bash style (#6994) 2026-04-22 14:26:02 +00:00
Gregory Tsipenyuk
5ec090b258 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-22 06:35:21 -04:00
Alex Kremer
7c7c1894b9 chore: Add -fix to clang-tidy invocation (#6990) 2026-04-21 19:00:00 +00:00
Jingchen
45d4aacb53 chore: Remove empty Taker.h (#6984) 2026-04-21 18:15:58 +00:00
Alex Kremer
ce3951bbb3 chore: Enable clang-tidy modernize checks (#6975)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-21 15:32:51 +00:00
Gregory Tsipenyuk
35890680bf Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-21 11:12:32 -04:00
Gregory Tsipenyuk
d3e22a1251 Add testAutoCreateReserve() unit-test to verify MPT/IOU consistent in not checking the reserves when creating MPToken or Trustline on partial offer crossing. 2026-04-21 11:07:20 -04:00
Ayaz Salikhov
ab887f5049 ci: Upload clang-tidy git diff (#6983) 2026-04-21 14:22:33 +00:00
Alex Kremer
ea023121f5 fix: Add rounding to Vault invariants (#6217) (#6955)
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com>
Co-authored-by: Ed Hennis <ed@ripple.com>
2026-04-21 12:14:07 +00:00
yinyiqian1
4b198cd5bb fix: Disallow MPTClearRequireAuth if is set (#6712)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2026-04-20 21:25:52 +00:00
Alex Kremer
726f20c8f6 feat: Add GRPC TLS support (#6374)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-20 17:12:14 +00:00
Zhiyuan Wang
96643bb0fa fix: Check for empty sfAdditionalBooks array in hybrid offer invariant (#6716) 2026-04-20 17:10:28 +00:00
chuanshanjida
e83818241a chore: Remove repetitive word in multiple files (#6978)
Signed-off-by: chuanshanjida <chuanshanjida@outlook.com>
2026-04-20 16:56:03 +00:00
Ayaz Salikhov
852fbe955d ci: Add workflow to check PR description has been filled (#6965) 2026-04-20 12:12:58 +00:00
Gregory Tsipenyuk
0f262a56cf Add comments 2026-04-20 07:51:51 -04:00
dependabot[bot]
b33d0a0479 ci: [DEPENDABOT] Bump tj-actions/changed-files from 47.0.5 to 47.0.6 (#6973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 11:20:42 +00:00
Gregory Tsipenyuk
392e69ae67 Fix clang-tidy errors. 2026-04-19 15:14:34 -04:00
Gregory Tsipenyuk
080830c4ae Fix clang-tidy errors. 2026-04-19 14:27:17 -04:00
Gregory Tsipenyuk
940dcef212 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-18 10:36:05 -04:00
Gregory Tsipenyuk
62bdfc6bf6 Add MPT to ValidAMM invariant. Add ValidAMM invariant unit-tests. 2026-04-18 10:29:51 -04:00
Alex Kremer
653a383ff5 chore: Enable clang-tidy include cleaner (#6947) 2026-04-17 16:43:49 +00:00
Gregory Tsipenyuk
affe5835fe fix: Change AMMClawback return code to tecNO_PERMISSION (#6946) 2026-04-17 14:19:58 +00:00