Skip to content

fix(legacy): stellar adaption#190

Merged
somebodyLi merged 1 commit intomasterfrom
3.18.0
Feb 6, 2026
Merged

fix(legacy): stellar adaption#190
somebodyLi merged 1 commit intomasterfrom
3.18.0

Conversation

@somebodyLi
Copy link
Contributor

  1. BTC multi-sig signing issue
  2. rename EVM chain Optimistic to Optimism
  3. support ADA testnet message signing
  4. increase the storage keys size which in Ethereum transaction signing

@revan-zhang
Copy link
Contributor

revan-zhang commented Feb 6, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

guowei0105
guowei0105 previously approved these changes Feb 6, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements several fixes and improvements for the OneKey hardware wallet firmware, focusing on Stellar blockchain integration, multi-chain support, and bug fixes. The changes upgrade the firmware from version 3.17.2 to 3.18.0 and include substantial refactoring of the Stellar transaction signing UI.

Changes:

  • Fixed BTC multi-sig signing by properly setting the serialized field flag
  • Renamed EVM chain "Optimistic" to "Optimism" for accuracy
  • Added Cardano testnet message signing support with protocol magic parameter
  • Increased Ethereum access list storage keys capacity from 8 to 16
  • Completely refactored Stellar transaction signing UI to use a new paginated dialog system
  • Added internationalization strings for Stellar transactions across all supported languages

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
legacy/firmware/version.h Version bump to 3.18.0
legacy/firmware/signing.c Added missing has_serialized flag for BTC multi-sig signing
legacy/firmware/ethereum_onekey.h Renamed "Optimistic" chain to "Optimism"
legacy/firmware/ada.c Added protocol_magic support for testnet message signing
legacy/firmware/fsm_msg_ada.h Updated network validation to require protocol_magic for non-mainnet
legacy/firmware/protob/messages-ethereum-onekey.options Increased storage_keys max_count from 8 to 16
legacy/firmware/stellar.c Major refactoring of transaction UI with new dialog system and error handling
legacy/firmware/stellar.h Updated function signatures for new dialog system
legacy/firmware/fsm_msg_stellar.h Simplified operation confirmation flow with GO_AHEAD macro
legacy/firmware/i18n/* Added 9 new translation strings for Stellar across all locales
legacy/firmware/i18n/keys.h Added i18n key definitions (with one duplicate issue)
legacy/firmware/i18n/i18n.h Updated item count to 455
common/protob/messages-management.proto Reserved fields 519, 522, 523 for pro version
common/protob/messages-cardano.proto Added optional protocol_magic field for testnet support

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

lihuanhuan
lihuanhuan previously approved these changes Feb 6, 2026
1. BTC multi-sig signing issue
2. rename EVM chain `Optimistic` to `Optimism`
3. support ADA testnet message signing
4. increase the storage keys size which in Ethereum transaction signing
@somebodyLi somebodyLi merged commit bc78581 into master Feb 6, 2026
4 of 7 checks passed
@somebodyLi somebodyLi deleted the 3.18.0 branch February 6, 2026 08:27
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.

4 participants

Comments