Merge remote-tracking branch 'ripple/develop' into spns5

This commit is contained in:
Oleksandr
2026-05-18 21:51:42 -04:00
694 changed files with 8328 additions and 7345 deletions

View File

@@ -674,12 +674,12 @@ class Ticket_test : public beast::unit_test::Suite
// Successfully create several tickets (using a sequence).
std::uint32_t ticketSeq{env.seq(alice)};
static constexpr std::uint32_t kTICKET_COUNT{10};
env(ticket::create(alice, kTICKET_COUNT));
static constexpr std::uint32_t kTicketCount{10};
env(ticket::create(alice, kTicketCount));
uint256 const txHash1{getTxID()};
// Just for grins use the tickets in reverse from largest to smallest.
ticketSeq += kTICKET_COUNT;
ticketSeq += kTicketCount;
env(noop(alice), ticket::Use(--ticketSeq));
uint256 const txHash2{getTxID()};
@@ -758,7 +758,7 @@ class Ticket_test : public beast::unit_test::Suite
testSignWithTicketSequence()
{
// The sign and the submit RPC commands automatically fill in the
// Sequence field of a transaction if kNONE is provided. If a
// Sequence field of a transaction if kNone is provided. If a
// TicketSequence is provided in the transaction, then the
// auto-filled Sequence should be zero.
testcase("Sign with TicketSequence");
@@ -780,7 +780,7 @@ class Ticket_test : public beast::unit_test::Suite
{
// Test that the "sign" RPC command fills in a "Sequence": 0 field
// if kNONE is provided.
// if kNone is provided.
// Create a noop transaction using a TicketSequence but don't fill
// in the Sequence field.
@@ -813,7 +813,7 @@ class Ticket_test : public beast::unit_test::Suite
}
{
// Test that the "submit" RPC command fills in a "Sequence": 0
// field if kNONE is provided.
// field if kNone is provided.
// Create a noop transaction using a TicketSequence but don't fill
// in the Sequence field.