-
Notifications
You must be signed in to change notification settings - Fork 299
chore: fix rel/latest merge conflicts #7896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use wasm-utxo Dimensions to calculate transaction dimensions in PSBT recovery, replacing temporary utxolib conversion. This provides more consistent fee estimation by using the same Dimensions implementation throughout the process. Co-authored-by: llm-git <llm-git@ttll.de> Ticket: BTC-2909 TICKET: BTC-2909
This commit installs @api-ts/openapi-generator as a dev dependency. This used to be manually installed in CI, but got lost when moving the generation step into a new workflow TICKET: DX-2708
fix: install @api-ts/openapi-generator
fix: override verify tss txn for xdc token
Replace utxolib address generation with unified wasm-utxo implementation for both testnet and mainnet networks. Issue: BTC-2912 Co-authored-by: llm-git <llm-git@ttll.de>
Use a type union with template literals to derive testnet coin names from mainnet names. Update validation function to check if name starts with 't' followed by a valid mainnet coin name. This now declares some testnets that may not really exists, but simplifies the code and type definitions significantly. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Refines and enhances type definitions throughout the abstract-utxo module. Introduces cleaner naming conventions with `getCoinName` replacing the deprecated `getChainFromNetwork` function. Adds proper return type annotations to class methods for better static analysis and IDE support. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Check that obj.coin is a string before testing if it's a valid UTXO coin name. This prevents potential runtime errors when processing wallet data. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
This change makes coin name an explicit property of each coin class instead of deriving it from the network. Coin classes now declare their name directly with a readonly property, and the network is derived from the name instead. This simplifies the constructor by removing the network parameter and improves the type safety by making the relationship between coin name and network explicit. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Add explicit array of testnet coin names instead of deriving them with string operations. Add getMainnetCoinName function to map any coin to its mainnet variant, with special handling for Bitcoin testnet variants. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Replace getFamilyFromNetwork with getMainnetCoinName to directly determine the family name from the coin name without going through the network. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Replace the deprecated `getFullNameFromNetwork` with the new `getFullNameFromCoinName` function that determines the full coin name directly from the coin name rather than the network object. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Use wasm-utxo dimensions for recovery
…xo-prod feat(abstract-utxo): use wasm-utxo address generator for all networks
chore: remove duplicate PSBT hex from signTransaction response
feat: enable multisig stuck tx for all EVM chains
feat(sdk-coin-tempo): add transaction serialization
feat(abstract-utxo): refactor coin name handling and improve type safety
feat: use fromOutput to remove utxolib dependency in wasm path
Refactor signAndVerifyPsbt to separate signing and finalization steps. Remove isLastSignature parameter from the function to make it more modular and focused on just signing. Finalization is now handled separately where needed. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Rename signPsbt.ts to signPsbtUtxolib.ts and update all references to it. This improves clarity by making the utxolib dependency explicit in the filename. Also rename signPsbtWithMusig2Participant to signPsbtWithMusig2ParticipantUtxolib for consistency. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Add new function that selects between utxolib or wasm-utxo implementations based on the PSBT type. This simplifies client code by providing a single entry point for both signing implementations. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
Change PSBT creation functions to use coin name instead of network. This makes the code more robust against network naming differences between utxolib and wasm-utxo. The coin name is used to determine the network through helper functions, ensuring consistency across recovery implementations. Issue: BTC-2909 Co-authored-by: llm-git <llm-git@ttll.de>
feat(abstract-utxo): implement BIP-322 signature verification with wasm-utxo
Simplify the signature of isReplayProtectionUnspent to accept any object with an address property instead of requiring a full utxolib unspent. Issue: BTC-2916 Co-authored-by: llm-git <llm-git@ttll.de>
This commit refactors the code to use coin name strings instead of utxolib network objects when interacting with addresses, descriptors, and other coin-specific functionality. This makes the code more maintainable and helps in the transition to wasm-utxo. Also adds utility functions isTestnetCoin and isMainnetCoin to replace the utxolib functions. Issue: BTC-2916 Co-authored-by: llm-git <llm-git@ttll.de>
feat: address resolution function for hbarevm
Tokens added: - ETH: RESOLV, SPEC, PROMPT, YB - BSC: STO (StakeStone) - Arbitrum: NEXT (Everclear) - Base: B3, KAITO - SOL: PRCL (Parcl), ASP (Aspecta) - SUI: DMC (DeLorean) Ticket: COIN-2681
feat(statics): onboard 11 new ungated tokens with OFC equivalents
chore: enable staking feature for og
feat(abstract-utxo): deprecate `network` for AbstractUtxoCoin internally
fix(express): allow string for feeRate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.