Commit Graph

855 Commits

Author SHA1 Message Date
Denis Angell
e7dab07e91 Update URIToken_test.cpp 2023-08-14 13:16:47 -04:00
Denis Angell
f6258deb96 Merge branch 'dev' into uritoken-v2-testing 2023-08-14 10:20:46 -04:00
Richard Holland
1cb0e428b7 change failing txQ test 2023-08-05 10:11:37 +00:00
Richard Holland
b2ec73cdc5 Merge branch 'patch-txq' into dev 2023-08-05 09:51:09 +00:00
Denis Angell
52e58ceade fix TXQ tests 2023-08-04 05:14:53 +02:00
Denis Angell
0be22fd91c add sfDestination tests 2023-08-04 03:33:22 +02:00
Denis Angell
5038a42701 add max supply test 2023-08-03 01:02:49 +02:00
Denis Angell
b9f40f4dc5 Update Import_test.cpp 2023-08-02 23:22:05 +02:00
Denis Angell
0c4441ac36 remove acl and fix import test cases (json) 2023-08-01 19:56:23 +02:00
RichardAH
0454beaf76 Merge branch 'dev' into import-qc 2023-08-01 13:21:34 +02:00
Richard Holland
6c65c6199a refactor Import for readability 2023-08-01 11:17:12 +00:00
Richard Holland
febdb1c9c2 fix ledger header accounting for genesismint/import 2023-08-01 08:38:21 +00:00
Richard Holland
264f25c2a6 change to boost::filesystem to support older compilers 2023-08-01 07:48:11 +00:00
Denis Angell
35a0e18973 Update Import_test.cpp 2023-07-21 11:36:26 +02:00
Richard Holland
f89bd966ec refactor XahauGenesis slightly, start test cases 2023-07-18 13:33:44 +00:00
Denis Angell
00a3b5adc2 Merge branch 'import-qc' of github.com:Xahau/xahaud into import-qc 2023-07-18 15:30:29 +02:00
Denis Angell
1cb9b67a0f import tests 2023-07-18 15:28:07 +02:00
Richard Holland
ba8b5a8cbe add overflow protection to sethook fee calculation 2023-07-17 11:20:15 +00:00
Denis Angell
c36683a825 XRPLF review of XLS34 (#69)
* add amendment guard for sfTransferRate

* make `sfTransferRate` optional

* split tests into existing / xls34

* make variables `const`

* clang-format

* chage error code

* guard optional `sfTransferRate`

* rename tests

* Guard Optional sfTransferRate

* clang-format

* fixup tests
2023-07-17 12:12:36 +02:00
Denis Angell
a3e2f4257b add test 2023-07-12 11:40:25 +02:00
Denis Angell
7b8d5fc5b8 update tests 2023-07-12 11:40:11 +02:00
Denis Angell
623778d1a9 fix tests 2023-07-12 11:39:08 +02:00
Richard Holland
152780b218 bug fixes 2023-07-12 08:02:04 +00:00
Denis Angell
728d2b4683 update tests 2023-07-11 16:38:56 +02:00
Denis Angell
08e7059b8c fix tests 2023-07-11 16:38:51 +02:00
Richard Holland
a3e940844d fix signerlist import crashbug 2023-07-09 12:18:35 +00:00
Richard Holland
b38c2c14dc fix import test after merge 2023-06-26 13:27:51 +00:00
RichardAH
b64650af71 Merge pull request #70 from Xahau/governance_hook_l2
Governance hook l2
2023-06-26 15:10:46 +02:00
Denis Angell
afde76bd11 update tests 2023-06-22 04:19:12 +00:00
Richard Holland
d70ec5d2e4 change UNLReport to also run consensus on import_vl_keys, change gensisMint to also allow Governance flags and marks to be set on account root, compiling, not tested 2023-06-19 13:09:14 +00:00
Denis Angell
b13e515698 fee must be 0 2023-06-18 21:00:10 +00:00
Denis Angell
ea02919a0c fix test env autofill 2023-06-17 00:15:32 +00:00
Denis Angell
de03278927 cont tests.. 2023-06-15 23:01:10 +00:00
Denis Angell
0bec0515b6 import test cont... 2023-06-15 23:01:10 +00:00
Denis Angell
df4891c4a7 update no autofill (change autosign) 2023-06-15 23:01:10 +00:00
Denis Angell
f42d9124df setup import test 2023-06-15 23:01:09 +00:00
Denis Angell
fa31522d5c fix ledger entry tests 2023-04-10 17:38:59 +00:00
Denis Angell
056262d922 fix precision loss 2023-04-06 17:02:05 +00:00
Denis Angell
669a0bc040 Sync IOUEscrow (#51) 2023-04-06 17:01:28 +00:00
Denis Angell
f9af9ac6c8 ledger and account rpc tests (#62) 2023-04-06 17:01:12 +00:00
Denis Angell
dfc95ec291 Sync CTID (#53)
* ctid tests
2023-04-06 17:01:12 +00:00
Denis Angell
81d795dcfc add autofill + refactor (#54) 2023-04-06 17:00:31 +00:00
Denis Angell
e71137fe4a cherry-ff (#52)
Co-authored-by: Richard Holland <richard.holland@starstone.co.nz>
2023-04-06 17:00:31 +00:00
Denis Angell
b7ccfaa7b1 delete test (#56) 2023-04-06 17:00:31 +00:00
Richard Holland
a56034b47c Fix FeeUint64->XRPAmount mismatch after merge 2023-04-06 12:43:12 +00:00
Richard Holland
311d0b8bf1 Revert "Use the Conan package manager (#4367)"
This reverts commit c3a9f3dbf3.
2023-04-06 09:46:00 +00:00
Richard Holland
a5ca117ff6 Merge remote-tracking branch 'ripple/develop' into dev 2023-04-06 09:36:24 +00:00
RichardAH
f191c911d4 Add NFTokenPages to account_objects RPC: (#4352)
- Include NFTokenPages in account_objects to make it easier to
  understand an account's Owner Reserve and simplify app development.
- Update related tests and documentation.
- Fix #4347.

For info about the Owner Reserve, see https://xrpl.org/reserves.html

---------

Co-authored-by: Scott Schurr <scott@ripple.com>
Co-authored-by: Ed Hennis <ed@ripple.com>
2023-04-05 13:58:55 -07:00
drlongle
e6f49040f5 Fix unit test app.LedgerData (#4484) 2023-03-31 11:18:42 -07:00
drlongle
2f3f6dcb03 Fix ledger_data to return an empty list: (#4398)
Change `ledger_data` to return an empty list when all entries are
filtered out.

When the `type` field is specified for the `ledger_data` method, it is
possible that no objects of the specified type are found. This can even
occur if those objects exist, but not in the section that the server
checked while serving your request. Previously, the `state` field of the
response has the value `null`, instead of an empty array `[]`. By
changing this to an empty array, the response is the same data type so
that clients can handle it consistently.

For example, in Python, `for entry in state` should now work correctly.
It would raise an exception if `state` is `null` (or `None`). 

This could break client code that explicitly checks for null. However,
this fix aligns the response with the documentation, where the `state`
field is an array.

Fix #4392.
2023-03-30 11:59:10 -07:00