firmware
firmware copied to clipboard
fix(legacy): fix ada swap issue and add common path check for chains
PR Summary
-
Improved Checks in Ada Protocol
- Added conditions to prevent unnecessary write calls when processing certificates and withdrawals within the Ada protocol implementation.
- Removed unnecessary state changes and process finishing based on tx_dict_items_count and is_finished flags.
-
Added Path Verification to Common Workflow
- A new function has been added to provide path verification for various uses. This is intended to provide better process flow efficiencies for different cryptocurrencies.
-
Path Verification across Cryptocurrency Implementations
- Enhanced path validation for transaction signing, message signing, address acquisition, and public key fetching for multiple cryptocurrencies, including Ada, Algorand, Aptos, Conflux, Cosmos, Filecoin, Kaspa, Near, Nervos CKB, Nostr, Polkadot, Ripple, Solana, Starcoin, and Solituffman.
- This generic security addition helps to ensure platform robustness and reliability.
-
Refining Tron Handling
- Added further definition and checking for the Tron protocol. This allows us to solidify our support for Tron and provide improved service to clients using it.
-
Cleaned up Nexa Implementation
- Removed redundant function and variables from the Nexa protocol. This ensures clearer codebase and offers efficiency in processing Nexa transactions.