Skip to content

chore: sync with LedgerHQ/app-cosmos v2.39.2 - #213

Closed
chcmedeiros wants to merge 14 commits into
mainfrom
sync/ledger-v2.39.2
Closed

chcmedeiros wants to merge 14 commits into
mainfrom
sync/ledger-v2.39.2

Conversation

@chcmedeiros

Copy link
Copy Markdown
Collaborator

Summary

Brings main in sync with the public LedgerHQ/app-cosmos main, which carries v2.39.2, the version Ledger Live deploys.

This branch merges LedgerHQ/app-cosmos@main into our main. The merge is clean, and it keeps the commit we have that Ledger does not.

Merge note

Please merge with a merge commit (not squash or rebase). That keeps our history aligned with Ledger's, so future syncs stay fast-forwards.

mbrousset-ledger and others added 14 commits April 29, 2026 17:05
Merge develop into main following B2CA-2666
Merge develop into master (B2CA-2666)
Review fidelity, parser hardening, and Babylon wrapped staking support
…lares

extractHDPath hard-coded 118' and 60', so a chain registering its own
SLIP-0044 coin type could not be derived at all. Derive the accepted set
from chainConfig[] instead: such a chain now needs nothing beyond its table
entry, matching the table's own comment.

Add Gonka (1200', hrp gonka) as one entry. The existing HRP-first lookup in
checkChainConfig already refuses a declared HRP on any path other than its
own, so gonka is refused on 118' the same way inj already is -- no separate
exclusivity check is needed for it.

Require the HRP on every coin type other than 118'. Only the generic Cosmos
path has a meaningful default; elsewhere an omitted HRP would derive a key
on that chain's path while defaulting the review screen to a cosmos1...
address.

Declare 44'/1200' in PATH_APP_LOAD_PARAMS -- the OS enforces this
independently of the checks above; without it the device answers a generic
0x6400 that no code review can predict.

Swap check_address now answers only for chains the app can also price and
verify at signing time, instead of relying on a later chain-id mismatch.

LIVE-36205
The version bump left the golden snapshots on 2.39.1, so the main menu
test fails on the version screen on all five devices.

Regenerates the *-mainmenu snapshots, the only ones the version screen
appears in: 00004.png everywhere, plus 00010.png on nanox and nanos+
where the menu wraps around to it a second time -- compareSnapshots
stops at the first mismatch, so that second one is never reported.
Nothing else moved: the full suite passes at 200/200.

LIVE-36205
feat(chain-config): add Gonka coin type 1200 with exclusive HRP resolution
Release 2.39.1 (stax_1.10.1_2.39.1_sdk_v26.6.1): merge into main
Sync with the version Ledger publishes and deploys.
@chcmedeiros
chcmedeiros requested a review from a team as a code owner October 1, 2026 08:24
@greptile-apps

greptile-apps Bot commented Oct 1, 2026

Copy link
Copy Markdown

PR author is not in the allowed authors list.

@chcmedeiros

Copy link
Copy Markdown
Collaborator Author

Closing: Cosmos has private PRs open with more changes, so we will sync after those land.

@chcmedeiros chcmedeiros closed this Oct 1, 2026
@chcmedeiros
chcmedeiros deleted the sync/ledger-v2.39.2 branch October 1, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants