Merge remote-tracking branch 'xrplf/develop' into sponsor

This commit is contained in:
tequ
2026-04-08 11:47:16 +09:00
741 changed files with 7547 additions and 6324 deletions

View File

@@ -108,7 +108,7 @@ public:
// test error on no account
{
Json::Value params;
Json::Value const params;
auto resp = env.rpc("json", "account_objects", to_string(params));
BEAST_EXPECT(resp[jss::result][jss::error_message] == "Missing field 'account'.");
}
@@ -489,7 +489,7 @@ public:
params[jss::type] = jss::nft_page;
auto resp = env.rpc("json", "account_objects", to_string(params));
BEAST_EXPECT(!resp.isMember(jss::marker));
Json::Value& aobjs = resp[jss::result][jss::account_objects];
Json::Value const& aobjs = resp[jss::result][jss::account_objects];
BEAST_EXPECT(aobjs.size() == 2);
}
// test stepped one-at-a-time with limit=1, resume from prev marker
@@ -1303,7 +1303,7 @@ public:
// valid, because when dirIndex = 0, we will use root key to find
// dir.
{
std::string s = "0," + entryIndex;
std::string const s = "0," + entryIndex;
Json::Value params;
params[jss::account] = bob.human();
params[jss::limit] = limit;