fix build

This commit is contained in:
Mayukha Vadari
2026-05-26 17:57:28 -04:00
parent 4c657bc92e
commit a2205190a6

View File

@@ -62,11 +62,22 @@ private:
*/
class TestServiceRegistry : public ServiceRegistry
{
static Fees
defaultFees()
{
Fees fees{XRPAmount{10}, XRPAmount{10 * kDropsPerXrp}, XRPAmount{2 * kDropsPerXrp}};
fees.extensionComputeLimit = 1'000'000;
fees.extensionSizeLimit = 100'000;
fees.gasPrice = 1'000'000;
return fees;
}
TestLogs logs_{beast::Severity::Warning};
boost::asio::io_context io_context_;
TestFamily family_{logs_.journal("TestFamily")};
LoadFeeTrack feeTrack_{logs_.journal("LoadFeeTrack")};
TestNetworkIDService networkIDService_;
Fees fees_{defaultFees()};
HashRouter hashRouter_{HashRouter::Setup{}, stopwatch()};
NodeCache tempNodeCache_{
"TempNodeCache",
@@ -365,6 +376,12 @@ public:
throw std::logic_error("TestServiceRegistry::getWalletDB() not implemented");
}
Fees
getFees() const override
{
return fees_;
}
// Temporary: Get the underlying Application
Application&
getApp() override