mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove gRPC code previously used for the xpring SDK
This commit is contained in:
@@ -773,25 +773,6 @@ class ReportingETL_test : public beast::unit_test::suite
|
||||
testNeedCurrentOrClosed()
|
||||
{
|
||||
testcase("NeedCurrentOrClosed");
|
||||
{
|
||||
org::xrpl::rpc::v1::GetAccountInfoRequest request;
|
||||
request.mutable_ledger()->set_sequence(1);
|
||||
BEAST_EXPECT(!needCurrentOrClosed(request));
|
||||
request.mutable_ledger()->set_hash("");
|
||||
BEAST_EXPECT(!needCurrentOrClosed(request));
|
||||
request.mutable_ledger()->set_shortcut(
|
||||
org::xrpl::rpc::v1::LedgerSpecifier::SHORTCUT_VALIDATED);
|
||||
BEAST_EXPECT(!needCurrentOrClosed(request));
|
||||
request.mutable_ledger()->set_shortcut(
|
||||
org::xrpl::rpc::v1::LedgerSpecifier::SHORTCUT_UNSPECIFIED);
|
||||
BEAST_EXPECT(!needCurrentOrClosed(request));
|
||||
request.mutable_ledger()->set_shortcut(
|
||||
org::xrpl::rpc::v1::LedgerSpecifier::SHORTCUT_CURRENT);
|
||||
BEAST_EXPECT(needCurrentOrClosed(request));
|
||||
request.mutable_ledger()->set_shortcut(
|
||||
org::xrpl::rpc::v1::LedgerSpecifier::SHORTCUT_CLOSED);
|
||||
BEAST_EXPECT(needCurrentOrClosed(request));
|
||||
}
|
||||
|
||||
{
|
||||
org::xrpl::rpc::v1::GetLedgerRequest request;
|
||||
@@ -904,18 +885,6 @@ class ReportingETL_test : public beast::unit_test::suite
|
||||
org::xrpl::rpc::v1::LedgerSpecifier::SHORTCUT_CURRENT);
|
||||
BEAST_EXPECT(needCurrentOrClosed(request));
|
||||
}
|
||||
|
||||
{
|
||||
org::xrpl::rpc::v1::GetFeeRequest feeRequest;
|
||||
BEAST_EXPECT(!needCurrentOrClosed(feeRequest));
|
||||
|
||||
org::xrpl::rpc::v1::GetAccountTransactionHistoryRequest
|
||||
accountTxRequest;
|
||||
BEAST_EXPECT(!needCurrentOrClosed(accountTxRequest));
|
||||
|
||||
org::xrpl::rpc::v1::GetTransactionRequest txRequest;
|
||||
BEAST_EXPECT(!needCurrentOrClosed(txRequest));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user