Description
adapters/ledger.ts opens a transport and signs without verifying the Ledger device's firmware version. Outdated firmware versions lack support for newer Stellar transaction features, causing silent signing failures.
Acceptance Criteria
Context
- Target file:
src/adapters/ledger.ts
- The firmware check should be skipped in test environments via a constructor flag
Description
adapters/ledger.tsopens a transport and signs without verifying the Ledger device's firmware version. Outdated firmware versions lack support for newer Stellar transaction features, causing silent signing failures.Acceptance Criteria
MIN_LEDGER_FIRMWARE(export this constant) reject with aLedgerFirmwareTooOldErrorlisting the required versionContext
src/adapters/ledger.ts