forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Fork Sync #9
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
Open
github-actions
wants to merge
864
commits into
better-dart:master
Choose a base branch
from
trustwallet:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fork Sync #9
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
* feat(manta): Add support for Manta Pacific Mainnet * feat(manta): Fix iOS, Android, Kotlin tests * feat(manta): Fix some tests, codegen-v2
* [Kotlin]: Update Kotlin yarn.lock * [Kotlin]: Update Kotlin yarn.lock with node@21 * [Kotlin]: Upgrade Webpack to 5.89.0 * [CI] Trigger CI * [CI/KMP]: Bump version to 4.0.14 * [CI/iOS]: Use 16.4 iOS runtime
* [Greenfield]: Generate Rust skeleton for BNB Greenfield * [Greenfield]: Add `Eip712Preimager` * [Greenfield]: Continue implementing tx signing * Add `TxBuilder` * TODO add `TransferOut` message * [Greenfield]: Small refactoring * [Greenfield]: Add a signer test, fix bugs * [Greenfield]: Add support for TransferOut message * [Greenfield]: Finish implementing `Signer` and `Compiler` * [Greenfield]: Add a signing test, fix Signer * [Greenfield]: Add missing tests, mainnet as well * [Greenfield]: Add compile test * [Greenfield]: Fix TODO * [Greenfield]: Remove C++ implementation * [Greenfield]: Minor changes * [Greenfield]: Move Cosmos protobuf directory to `tw_cosmos_sdk` * [Greenfield]: Add fuzz test * [Greenfield]: Update chainId * [CI] Trigger CI * [Greenfield]: Fix fmt * [Greenfield]: Fix kmp sample
Bumps [unsafe-libyaml](https://github.com/dtolnay/unsafe-libyaml) from 0.2.8 to 0.2.10. - [Release notes](https://github.com/dtolnay/unsafe-libyaml/releases) - [Commits](dtolnay/unsafe-libyaml@0.2.8...0.2.10) --- updated-dependencies: - dependency-name: unsafe-libyaml dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update owners for kotlin/ related files
Co-authored-by: satoshiotomakan <[email protected]>
…3632) * [WalletConnect/BNB]: Add `WalletConnectSigner` optional module * [WalletConnect/BNB]: Implement `cosmos_signAmino` handler * TODO fix compilation error * [WalletConnect/BNB]: POC * [WalletConnect/BNB]: Move `TxBuilder` implementation * [WalletConnect/BNB]: Finalize `WalletConnector` in `CoinEntry` * [WalletConnect/BNB]: Add `tw_wallet_connect_request_parse` FFI * [WalletConnect/BNB]: Add `signature` and `signature_json` to Binance::SigningOutput * [WalletConnect/BNB]: Add `TWWalletConnectRequestParse` C FFI * Improve WalletConnect.proto interface * [WalletConnect/BNB]: Add Android test * [WalletConnect/BNB]: Add iOS test * [WalletConnect/BNB]: Update the year in Copyright * [WalletConnect/BNB]: Fix codegen-v2 template * [WalletConnect/BNB]: Minor changes * [CI] Trigger CI * [WalletConnect/BNB]: Fix C++ tests --------- Co-authored-by: Sztergbaum Roman <[email protected]>
* [Nano]: Update block explorer for Nano * [Bitcoin]: Update block explorer * [Nano]: Fix `txPath` and `accountPath` * [KMP]: Fix KMP CI * [NEAR]: Update blockchain explorer * [Misc]: Add a Python script to validate `registry.json` * Fix sampleTx and Explorer URL for `BandChain`, `Oasis`, `OKXChain`, `Stellar`
* [Misc]: Update Copyright to 2024 * [Copyright]: Change Copyright Disclamer format * [Copyright]: Change Copyright disclaimer format * [Copyright]: Change Copyright disclaimer format * [Copyright]: Change Copyright disclaimer format * [CI] Trigger CI
…3665) * [Bitcoin/V2]: Add BitcoinV2.proto signing, planning request/result to the legacy Bitcoin.proto * [Bitcoin/V2]: Forward `signing_v2` and `plan_v2` requests to Rust * Add a Plan/Sign V2 test * TODO fix the test * [Bitcoin/V2]: Fix the test * [Linux]: Fix CI * [CI]: Fix Rust sample, SonarCloud pipelines * [Bitcoin/V2]: Try using a GitHub Action for SonarCloud Scan * [CI]: Update sonar-scanner-cli to 5.0.1.3006 * [CI]: Enable all CI pipelines
Co-authored-by: satoshiotomakan <[email protected]>
* change utxo selection logic for tw_utxo::Compiler * small cleanup * update selected utxos, init input_selection test module * expand tests for change output generation * handle change output correctly in fee estimation, expand tests * calculate the effective fee rate, not the theoretical * add extra sanity checks * add input_selection_select_ascending test * test for empty inputs and outputs, extend error variant * additional comments and sanity checks * simplify transaction builder for BRC20, update tests * update reveal transaction signing in BRC20 builder * remove weight and fee_estimate checks in tw_utxo, plan for later * extra check for error * add input_selection_insufficient_inputs test * scrap the BitcoinPlanBuilder * remove utils module * cargo fmt * calculate the effective fee after setting the change output, if enabled * add UseAll selection tests, check for 'effective' fee * remove fee_estimate.rs, covered in input_selection.rs * use consts for alice and bob info * do extra checks in compile_impl * update change amount correctly in the native Transaction type before calculating sighash * build index of private keys AFTER selecting UTXOs * cargo fmt * [BRC20]: Take Inscription amount as a string * [BRC20]: Take Inscription amount as a string in C++ * [BRC20]: Add a test for BitcoinV2 bridge through the legacy `SigningInput` --------- Co-authored-by: Satoshi Otomakan <[email protected]>
* feat(ZetaChain): Add `new-cosmos-chain` command * feat(ZetaChain): Add `NativeZetaChain` mainnet * feat(ZetaChain): Add support for custom Cosmos chain * feat(ZetaChain): Add `SignerInfo` to the Cosmos.proto protocol * feat(ZetaChain): Fix zetachain params in registry.json * feat(ZetaChain): Add mobile tests * [CI] Trigger CI * feat(ZetaChain): Update JSON Public Key Type * feat(ZetaChain): Fix `accountPath` in `registry.json` * feat(ZetaChain): Fix rustfmt * feat(ZetaChain): Slightly refactor NativeEvmos and NativeInjective public key types
* feat(ZetaChain): Add `new-cosmos-chain` command * feat(ZetaChain): Add `NativeZetaChain` mainnet * feat(ZetaChain): Add support for custom Cosmos chain * feat(ZetaChain): Add `SignerInfo` to the Cosmos.proto protocol * feat(ZetaChain): Fix zetachain params in registry.json * feat(ZetaChain): Add mobile tests * [CI] Trigger CI * feat(ZetaChain): Update JSON Public Key Type * feat(ZetaChain): Fix `accountPath` in `registry.json` * feat(ZetaChain): Fix rustfmt * feat(ZetaChain): Add ZetaEVM chain * feat(ZetaChain): Add mobile tests * feat(ZetaChain): Fix Swift test * feat(ZetaChain): Slightly refactor NativeEvmos and NativeInjective public key types * feat(ZetaChain): Fix C++ test
* feat(dYdX): Add support for dYdX Cosmos chain * feat(dYdX): Fix Kotlin tests
* [EVM]Make public key as optional As evm public key is optional, we need to keep compatible with before implemented in C++. Otherwise we have to change our existing prod codes to adapt this change. * [Rust]Fix format check
* [Solana]: Add Solana skeleton * [Solana]: Implement `SolanaAddress` * [Solana]: Add transaction serialization/deserialization * [Solana]: Versioned transaction signing * [Solana]: Add `tw_solana_transaction_update_blockhash_and_sign` in Rust * [Solana]: Add TWSolanaTransactionUpdateBlockhashAndSign * [Solana]: Add Kotlin test * [CI] Trigger CI * [Solana]: Do not sign a transaction if there is no private keys provided * Add `SigningOutput::message_encoded` that needs to be sent to a fee estimation service * [Solana]: Remove extra comments
* feat(ios): fix ios ci * feat(kotlin): fix kotlin ci * feat(kotlin): fix kotlin ci
* Add declaration to Barz header * Add Bytes32 type to ETH ABI Proto * Add DiamondCut input to Barz Proto * Add functions for Barz * Add Barz interface * Add Barz test * Update comments * Update header comments * Remove comments * Update hardcode text to constants * Update initData encoding --------- Co-authored-by: Sztergbaum Roman <[email protected]>
* [RVN]: Update block explorer * [Misc]: Fix Protobuf comments regarding U256 encoding
* [Bitcoin]: Add Fixed Dust threshold to SigningInput * Filter out Dust UTXOs before actual UTXO selecting * [Bitcoin]: Check the Change output to be at least Dust threshold * [Bitcoin]: Add Fixed Dust threshold to SigningInput * Filter out Dust UTXOs before actual UTXO selecting * [Bitcoin]: Fix iOS test * [Bitcoin]: Fix comments * [Bitcoin]: Update KMP WC * [Bitcoin]: Return Error_not_enough_utxos if max amount requested, but total amount is dust
* [Solana]: Add `MessageRaw` to `SigningInput` * Replace `Pubkey` with `SolanaAddress` * [Solana]: Add instruction builders * [Solana]: WIP Signer * [Solana]: Move instruction builders to dedicated modules * [Bitcoin]: Fix the order of compiled account keys * [Solana]: Fix delegate staking * [Solana]: Add deactivate staking transaction * [Solana]: Add deactivate all stake transaction * [Solana]: Add withdraw stake transaction * [Solana]: Add withdraw all stake transaction * [Solana]: Add create token account transaction * [Solana]: Add TokenTransfer transaction * Refactor `InstructionBuilder` to allow easily append references, add memo and nonce instructions * [Solana]: Minor changes * [Solana]: Add CreateAndTransferToken transaction * Add support for fee payer * [Solana]: Add CreateNonceAccount and WithdrawNonceAccount transactions * [Solana]: Add AdvanceNonceAccount transaction * [Solana]: Add RawMessage transaction * [Solana]: Add support for preimage hashing and compiling * [Solana]: Replace C++ implementation * [Solana]: Add more compile tests * [Solana]: Add tw_solana_address_default_token_address * [Solana]: Add "WithDurableNonce" tests * [Solana]: Remove C++ implementation * Identify a bug in `Address::findProgramAddress` function * [CI] Trigger CI * [Solana]: Remove extra C++ tests * [Solana]: Fix clippy warnings * [Solana]: Fix `tw_solana_address_default_token_address` * Replace C++'s implementation with `tw_solana_address_default_token_address` * [Solana]: Remove fix Boost path at CMakeLists.txt * [Solana]: Add `TransactionDecoder` module (#3698) * [Solana]: Add external signatures to the `RawMessage` * [Solana]: Add `ProtoBuilder` to convert `VersionedTransaction` to a `Proto::RawMessage` * [Solana]: Add `TransactionDecoder` module * [Solana]: Fix signature overriding, add more tests * [Solana]: Refactor tests * [Solana]: Add and implement `TWTransactionDecoderDecode` FFI in C++ * [Solana]: Add Kotlin test * [Solana]: Remove fix Boost path at CMakeLists.txt * [Solana]: Add Swift test * [WalletConnect/Solana]: Add support for WalletConnect signing requests (#3705) * [Solana]: Add SolanaWalletConnector * [Solana]: Add pubkey signatures to the `Proto::SigningOutput` * [Solana]: Add `TWSolanaWalletConnect` test * [Solana]: Add Kotlin, Swift tests * [Solana]: Fix C++ test * [Solana]: Fix iOS test * [Solana]: Add support for priority fee (#3710) * [Solana]: Add priority fee price and limit * [Solana]: Add priority fee tests * [CI]: Split linux-ci-rust.yml into two jobs * Move `new-blockchain-rust` step into codegen-v2.yml * [CI]: Fix linux-ci-rust.yml
…3717) * [Solana]: Fix advance nonce not work with priority fee instruction * Convert indent to spaces * Adjust format
* remove CARGO_WORKSPACE_DIR from .env * rustfmt tw_ffi.rs
* Migrates Barz and Eth Address APIs to rust * Adds FFI tests and migrate C++ tests * FMT * Fixes memory leak * Fixes invalid ptr issue * Another try * Addresses review comments * Addresses review comments * Addresses review comment --------- Co-authored-by: Sergei Boiko <[email protected]>
* Support compiling tron raw json from DApp * Support raw json in method sign * chore: change code comments * Fix signature structure in compiling output
* test(ci): Print all work schemas * test(ci): Manually update macos to 15 * test(ci): Clean up Podfile.lock * test(ci): Use iOS 18.5 simulator * test(ci): Fix iOS device * fix(ci): Enale all CIs * fix(ci): Downgrade objectVersion to 56 * fix(ci): Try to use new SONAR_TOKEN * fix(ci): Use macos-latest-xlarge * fix(ci): Disable SonarCloud analysis temporarily * fix(ci): Add `xcodegen` script * fix(ci): Fix `xcodegen` script * chore(ci): Trigger build * fix(ci): Minor changes --------- Co-authored-by: Sergei Boiko <[email protected]>
* chore(aptos): Deprecate `register_token` in Rust * chore(ci): Fix brew install cmake * chore(aptos): Remove `test_aptos_register_token` test * chore(ci): CMake * chore(ci): Downgrade KMP sample CI to MacOS 14 temporarily * chore(ci): Fix padding in a script
* Throw exception rather than SIGSEGV * Fix test cases * Add NULL checker for exceptionClass
* feat(plasma): Add Plasma Mainnet * feat(plasma): Add mobile tests
* Initial setup * Minor updates * Restructure
* Disallow to use unsigned integer parameters within class methods
…a is NULL (#4508) * fix(data): Allocate empty array on `tw_data_create_with_bytes` if data is NULL * fix(data): Add TWData test
…#4516) * feat(biz-passkey): Add `TWBarzEncodeRegisterSessionCall` FFI * feat(biz-passkey): Add `TWBarzEncodeRemoveSessionCall` FFI * feat(biz-passkey): Add `TWBarzEncodePasskeySessionNonce` FFI * feat(biz-passkey): Add `TWBarzEncodeExecuteWithPasskeySessionCall` FFI * refactor(barz): Move some functions to TWBiz and TWEip7702 modules * feat(biz): Add WebAuthn * feat(biz): Add `TWWebAuthnGetMessageHash` and `TWWebAuthnGetFormattedSignature` * feat(biz): Fix C++ and Mobile * Rename `TWWebAuthn` module to `TWWebAuthnSolidity` * feat(biz): Adjust `executeWithPasskeySession` arguments * feat(biz): Fix fmt * feat(biz): Add Biz Android tests * feat(biz): Add final Biz Android test * feat(biz): Fix lints * feat(biz): Minor change * feat(biz): fmt
* feat(zcash): Add `TexAddress` in Rust * feat(zcash): Add successfully broadcasted transaction test * feat(zcash): Add successfully broadcasted transaction C++ test * feat(zcash): Fix C++ tests * feat(zcash): Reuse code in `TexAddress::isValid` * feat(zcash): Fix `TexAddress:isValid`
* [Solana]: Renames fee recipient token account for clarity * Fix typo
* my tracked commit * MsgInstantiateContract * revert formatting * test * Tests fixes and broadcast * cargo fmt * remove unused * feat: add trade and secured fields to Thorchain Asset - Add trade and secured boolean fields to Asset proto message - Update ThorchainAsset struct in Rust with new fields - Update asset initialization in tx_builder.rs - Matches Thorchain blockchain Asset struct definition --------- Co-authored-by: gupnik <[email protected]>
…ment` (#4541) * feat(kusama-asset-hub): Add ability to force to use `ChargeAssetTxPayment` for native tip * feat(kusama-asset-hub): Add a unit test
* TODO update explorer
* feat(monad): Update explorer * feat(monad): Update explorer schema
Co-authored-by: Sergei Boiko <[email protected]>
…alidation (#4565) * fix(public-key): Fix `PublicKey::verify` by adding signature length validation * fix(public-key): Fix PR comments
* Since the Seoul protocol, reveal operations require the presence of a boolean for whether or not the proof field is present. This is required when manually forging bytes. Added. * Fix TezosTests.swift * Fix TezosTests.swift * Update tests * Update tests * Fix TezosCompiler.CompileWithSignatures * Fix TezosCompiler.CompileWithSignatures * fix(tezos): Fix Tezos compile test * fix(tezos): Fix Tezos signing test * fix(tezos): Add mainnet test transaction --------- Co-authored-by: gupnik <[email protected]> Co-authored-by: Sergei Boiko <[email protected]>
* fix(public-key): Check zilliqa schnorr signature size * Replace assert macros with proper checks * fix(public-key): Address a PR comment * fix(public-key): Address a PR comments * fix(public-key): Fix a bug in PublicKey constructor
* feat(pczt): Add implementation of PCZT signing * feat(pczt): Add a successfully broadcasted tx test * feat(pczt): Address PR comments
* fix(webauthn): Fix buffer out of bounds * fix(webauthn): Fix `TWWebAuthnGetRSValues` implicit Data conversion * fix(webauthn): Extra checks for algorithm, and public key parts * fix(webauthn): Test common buffer overflows * fix(webauthn): Check `crv` and `kty` parameters * fix(private-key): Add PrivateKey Data move constructor * chore(noexcept): Remove wrong noexcept * fix(private-key): Zeroize memory on move `operator=` * fix(private-key): Avoid cleaning private key if self-assign
* fix(aes): Add iv size validation * fix(aes): Add unit tests
…cit links to clang binaries (#4568) * install cbindgen with --locked * add explicit links to clang/clang++ since CMake will not use the ENV --------- Co-authored-by: Sergei Boiko <[email protected]>
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.