Bronek Kozicki
bbe49132a6
Reorganize and extend unit tests
2025-05-02 17:23:25 +01:00
Bronek Kozicki
84abcba497
Add defensive checks for IOU issuer and MPTokenIssuance
2025-05-02 16:56:47 +01:00
Bronek Kozicki
a87f58eb22
Code cleanup in SetTrust
2025-05-02 11:38:08 +01:00
Bronek Kozicki
1925ceace6
Add unit test
2025-05-01 21:36:03 +01:00
Bronek Kozicki
140fd829a0
Enforce defult rippling in VaultCreate::preclaim
2025-05-01 21:11:16 +01:00
Bronek Kozicki
b3657220de
More tests
2025-05-01 16:59:15 +01:00
Bronek Kozicki
117bfcc4a1
Consolidate preflight tests
2025-05-01 15:15:00 +01:00
Bronek Kozicki
4c6c8a08c9
Add LCOV_EXCL_LINE in appropriate locations
2025-05-01 12:30:33 +01:00
Bronek Kozicki
7b680ed47b
Remove redundant check, add test
...
There is no way to pass a non-object params to an RPC because it is
always prepared as an object inside ServerHandler.cpp
2025-05-01 11:42:34 +01:00
Bronek Kozicki
6c97d2ec7e
Update addEmptyHolding from review
...
Co-authored-by: Ed Hennis <ed@ripple.com >
2025-05-01 10:09:49 +01:00
Bronek Kozicki
3c386bee4e
Minor cleanup
2025-04-30 18:18:49 +01:00
Bronek Kozicki
5472d7e1ff
Minor cleanup
2025-04-30 13:45:28 +01:00
Bronek Kozicki
01cc089b0c
Revert changes preventing deletion of a vault
2025-04-29 15:29:59 +01:00
Bronek Kozicki
ffb1959be5
Disallow deletion of vault if asset is under global lock
2025-04-29 14:38:57 +01:00
Bronek Kozicki
efe9f99b50
Unit test fix
2025-04-29 14:02:09 +01:00
Bronek Kozicki
b03cd57a92
Merge branch 'develop' into vault
2025-04-29 13:18:02 +01:00
Bronek Kozicki
071beca306
Allow freezeing trust line to vault, disallow deleting vault when asset is locked
2025-04-29 13:16:04 +01:00
Vito Tumas
3502df2174
fix: Replaces random endpoint resolution with sequential ( #5365 )
...
This change addresses an issue where `rippled` attempts to connect to an IPv6 address, even when the local network lacks IPv6 support, resulting in a "Network is unreachable" error.
The fix replaces the custom endpoint selection logic with `boost::async_connect`, which sequentially attempts to connect to available endpoints until one succeeds or all fail.
2025-04-28 15:38:55 -04:00
Bronek Kozicki
298aaac456
Check for pseudo-account in other transaction types
2025-04-28 19:41:14 +01:00
Bronek Kozicki
a205906e54
Prevent pseudo-accounts from receiving checks
2025-04-28 15:58:04 +01:00
Bronek Kozicki
d46a2d8a71
Allow resetting DomainID
2025-04-28 15:21:34 +01:00
Bronek Kozicki
5bfbb09970
Minor improvements
2025-04-28 14:49:47 +01:00
Bronek Kozicki
7e5845f209
Merge branch 'develop' into vault
2025-04-28 14:20:54 +01:00
Bronek Kozicki
22901af25d
Minor cleanup
2025-04-25 19:57:14 +01:00
Bronek Kozicki
e9491669a7
Add unit tests
2025-04-25 16:31:28 +01:00
Vlad
fa1e25abef
chore: Small clarification to lsfDefaultRipple comment ( #5410 )
2025-04-25 15:21:27 +00:00
Bronek Kozicki
77c70d8a64
Update RPC codes, improve seq parsing
2025-04-25 15:23:41 +01:00
Bronek Kozicki
afeb6287f5
Cleanup in MPTokenAuthorize
2025-04-25 14:09:26 +01:00
Bronek Kozicki
b2abfc0bd2
Minor cleanup in MPTokenIssuanceCreate
2025-04-25 13:03:43 +01:00
Bronek Kozicki
6a25ac9481
Decouple VaultDestroy from MPTokenIssuanceDestroy
...
Also drive-by fix in MPTokenIssuanceDestroy, the sfOutstandingAmount
field is required.
2025-04-25 12:37:53 +01:00
Bronek Kozicki
fb2eb3522d
Prohibit VaultCreate to assets without real issuer
2025-04-24 15:53:35 +01:00
Denis Angell
217ba8dd4d
fix: CTID to use correct ledger_index ( #5408 )
2025-04-24 10:24:10 -04:00
Bronek Kozicki
270355f77a
Keep existing order of checks
2025-04-24 14:27:19 +01:00
Bronek Kozicki
5cd3b1fb59
Add check in preclaim and extra tests
2025-04-24 14:26:34 +01:00
Bronek Kozicki
7eadb88d0d
Replace tecKILLED with tecLIMIT_EXCEEDED in VaultCreate depth exceeded
2025-04-23 17:35:36 +01:00
Bronek Kozicki
0ab792263a
Code cleanup
2025-04-23 16:13:58 +01:00
Ed Hennis
20ce0e79ab
Need to decrement owner counts in removeEmptyHolding
2025-04-14 20:14:39 +01:00
Bronek Kozicki
d6d07e6fcf
Fix authorization issues
2025-04-14 17:20:37 +01:00
Ed Hennis
51f1764e50
Fix formatting
2025-04-11 19:09:22 -04:00
Ed Hennis
b1bf115536
Merge branch 'develop' into vault
2025-04-11 18:26:58 -04:00
Ed Hennis
405f4613d8
chore: Run CI on PRs that are Ready or have the "DraftRunCI" label ( #5400 )
...
- Avoids costly overhead for idle PRs where the CI results don't add any
value.
2025-04-11 22:20:59 +00:00
Ed Hennis
457877118e
Merge branch 'develop' into vault
2025-04-11 15:33:17 -04:00
Mayukha Vadari
cba512068b
refactor: Clean up test logging to make it easier to search ( #5396 )
...
This PR replaces the word `failed` with `failure` in any test names and renames some test files to fix MSVC warnings, so that it is easier to search through the test output to find tests that failed.
2025-04-11 09:07:42 +00:00
Valentin Balaschenko
1c99ea23d1
Temporary disable automatic triggering macOS pipeline ( #5397 )
...
We temporarily disable running unit tests on macOS on the CI pipeline while we are investigating the delays.
2025-04-10 21:58:29 +02:00
Ed Hennis
5fea68eb41
Merge branch 'develop' into vault
2025-04-10 11:39:33 -04:00
Ed Hennis
2abbb25bc3
Fix unit test that fails with varying reference fee
...
- Caused by a env.close() in the middle of the test that could change
transaction ordering. Moved it to after the successful transaction
that caused the later transactions to fail.
2025-04-10 11:38:37 -04:00
Denis Angell
c4308b216f
fix: Adds CTID to RPC tx and updates error ( #4738 )
...
This change fixes a number of issues involved with CTID:
* CTID is not present on all RPC tx transactions.
* rpcWRONG_NETWORK is missing in the ErrorCodes.cpp
2025-04-10 12:38:52 +00:00
Wietse Wind
aafd2d8525
Fix: admin RPC webhook queue limit removal and timeout reduction ( #5163 )
...
When using subscribe at admin RPC port to send webhooks for the transaction stream to a backend, on large(r) ledgers the endpoint receives fewer HTTP POSTs with TX information than the amount of transactions in a ledger. This change removes the hardcoded queue length to avoid dropping TX notifications for the admin-only command. In addition, the per-request TTL for outgoing RPC HTTP calls has been reduced from 10 minutes to 30 seconds.
2025-04-10 06:37:24 +00:00
Ed Hennis
75375905a4
Merge remote-tracking branch 'upstream/develop' into vault
...
* upstream/develop:
fix: `fixPayChanV1` (4717)
2025-04-09 18:26:02 -04:00
Ed Hennis
cd726f96d4
Merge remote-tracking branch 'upstream/develop' into vault
...
* upstream/develop:
refactor(trivial): reorganize ledger entry tests and helper functions (5376)
2025-04-09 18:22:48 -04:00