feat: Add Batch (XLS-56) V1_1 (#6446)

Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
This commit is contained in:
Denis Angell
2026-07-01 08:47:14 -04:00
committed by GitHub
parent ecf7f805c9
commit 86d8b244d6
35 changed files with 1536 additions and 483 deletions

View File

@@ -635,6 +635,20 @@ STObject::getAccountID(SField const& field) const
return getFieldByValue<STAccount>(field);
}
AccountID
STObject::getFeePayer() const
{
// If sfDelegate is present, the delegate account is the payer
// note: if a delegate is specified, its authorization to act on behalf of the account is
// enforced in `Transactor::invokeCheckPermission`
// cryptographic signature validity is checked separately (e.g., in `Transactor::checkSign`)
if (isFieldPresent(sfDelegate))
return getAccountID(sfDelegate);
// Default payer
return getAccountID(sfAccount);
}
Blob
STObject::getFieldVL(SField const& field) const
{