Compare commits

..

9 Commits

Author SHA1 Message Date
tequ
10e76c0475 Merge branch 'dev' into test-hook-fee 2026-03-01 13:28:00 +09:00
tequ
b2b160e9ea Update util_keylet fee test 2026-02-24 17:23:11 +09:00
tequ
164b1765b6 Merge branch 'dev' into test-hook-fee 2026-02-24 16:47:28 +09:00
RichardAH
3a2e3e99c4 Merge branch 'dev' into test-hook-fee 2026-02-18 09:35:05 +10:00
tequ
176de80369 Updated tests to align with the changes merged into the dev branch. 2026-02-17 10:37:27 +09:00
RichardAH
508a16cbe4 Merge branch 'dev' into test-hook-fee 2026-02-17 11:34:28 +10:00
tequ
9eb539da2b Merge branch 'dev' into test-hook-fee 2026-02-16 14:25:00 +09:00
tequ
335dcb1351 Merge branch 'dev' into test-hook-fee 2026-01-27 21:00:06 +09:00
tequ
5d9071695a Add tests for Hooks fee 2026-01-20 12:12:45 +09:00
5 changed files with 396 additions and 207 deletions

View File

@@ -375,15 +375,3 @@ jobs:
echo "Error: rippled executable not found in ${{ env.build_dir }}"
exit 1
fi
- name: Export server definitions
run: |
${{ env.build_dir }}/rippled --definitions | python3 -m json.tool > server_definitions.json
- name: Upload server definitions
if: matrix.compiler_id == 'gcc-13-libstdcxx'
uses: actions/upload-artifact@v7
with:
name: server-definitions
path: server_definitions.json
archive: false

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,6 @@
#include <xrpld/core/TimeKeeper.h>
#include <xrpld/net/RPCCall.h>
#include <xrpld/rpc/RPCHandler.h>
#include <xrpld/rpc/handlers/Handlers.h>
#include <xrpl/basics/Log.h>
#include <xrpl/basics/StringUtilities.h>
#include <xrpl/basics/contract.h>
@@ -388,8 +387,7 @@ run(int argc, char** argv)
po::value<std::string>(),
"Specify the range of present ledgers for testing purposes. Min and "
"max values are comma separated.")(
"version", "Display the build version.")(
"definitions", "Output server definitions as JSON and exit.");
"version", "Display the build version.");
po::options_description data("Ledger/Data Options");
data.add_options()("import", importText.c_str())(
@@ -531,13 +529,6 @@ run(int argc, char** argv)
return 0;
}
if (vm.count("definitions"))
{
auto defs = getStaticServerDefinitions();
std::cout << Json::FastWriter().write(defs);
return 0;
}
#ifndef ENABLE_TESTS
if (vm.count("unittest") || vm.count("unittest-child"))
{

View File

@@ -129,8 +129,6 @@ doRipplePathFind(RPC::JsonContext&);
Json::Value
doServerDefinitions(RPC::JsonContext&);
Json::Value
getStaticServerDefinitions();
Json::Value
doServerInfo(RPC::JsonContext&); // for humans
Json::Value
doServerState(RPC::JsonContext&); // for machines

View File

@@ -523,15 +523,6 @@ public:
}
};
Json::Value
getStaticServerDefinitions()
{
static const Definitions defs{};
Json::Value ret = defs();
ret[jss::hash] = to_string(defs.getHash());
return ret;
}
Json::Value
doServerDefinitions(RPC::JsonContext& context)
{