-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Dev]: Chore #4043
Closed
Closed
[Dev]: Chore #4043
Conversation
This file contains 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
* [wip] Add ed25519 tests * [wip] Implement signing, getting public from private key * TODO: Implement verifying signature * TODO: Add `PrivateKeyExtended`, `PublicKeyExtended` * [wip] Implement signature verifying * [wip] Implement Cardano extended private and public keys * [wip] Integrate Ed25519 curves into C++ * [wip] Minor changes * Remove unused dependencies * Rename `SigningHash` to `SigningMessage` * Fix tw_keypair/fuzz * Move cardano specific keypair to `modifications` module * [wip] Add ed25519 KeyPair's * [wip] Fix code coverage * [wip] Minor changes * Rename `Hash512` trait to `Hasher512` * [wip] Document the new added structures * [wip] Add test cases generated using `trezor-crypto` * Fix generating Cardano extended public key * Fix signing using Cardano extended private key * [r2r] Optimize, add doc comments, improve tests * [wip] Don't use sccache for WASM target * [wip] Ignore sccache * [wip] Verbose WASM tests * [wip] Use opt-level=2 * [wip] Use opt-level=2 for all tests * [wip] Enable sccache, run only WASM tests with opt-level=2 * Add `tools/rust-test` script * [r2r] Enable all CI workflows and checks * [r2r] Fix Clippy warnings * [r2r] Avoid implementing `From<&'static str'>` for key pairs * [r2r] Fix PR issues * Add `SplitHash<L, R>` type alias * Rename `tw_keypair::Error` into `KeyPairError` * Add `KeyPairResult<T>` type alias * [wip] Add Curve25519 impl * TODO cover with tests * Document * Integrate into C++ * [wip] Add two tests * [wip] Add Waves signing cases * [wip] Add Private to Public test cases * [wip] Add missing JSON * [wip] Cover with more tests * [wip] Integrate Curve25519 into CPP * [wip] Add doc comments * [wip] Push missing PrivateKey and PublicKey files * [r2r] Minor changes
* [r2r]: Add ThetaFuel EVM compatible chain * [r2r]: Bump wc-kotlin version to 3.1.38 (#3218) * [ERC-4337] Fix user operation hash mistake (#3228) * [ERC-4337] Fix user operation hash mistake * Update TestBarz.kt --------- Co-authored-by: hewigovens <[email protected]> * [r2r] Update starknet-ff crate (#3230) * [Sync]: Apply changes from DeFi wallet-core (#3225) * [Barz] Format signature API changes (#3241) * [Barz] Public API refactoring (#3212) * Getting rid of attestationObject in Barz public API * remove duplicates * Update Barz.cpp * Update Barz.cpp * Update BarzTests.swift * update tests * Update WebAuthnTests.cpp * Update TestBarz.kt * Update TestWebAuthn.kt * update android tests * Update TestBarz.kt * Update TestBarz.kt * Update TestBarz.kt * fix nullability * tests update * Add support for Taproot and BRC20 (#3233) * [Barz] Add TokenReceiverFacet support (#3240) * [CFX]: Add support for Conflux eSpace (#3259) * [License]: update to apache 2.0 (#3256) * [Barz] Execute batch (#3257) * [Kotlin] Fixed GH Action (#3263) * feat(evm/thorchain): use depositWithExpiry for regular transfer (#3266) * feat(swift): update to 3.2.1 (#3269) * Add iOS and android tests to check if new methods available (#3267) * [WASM] Fixed CoinType.deriveAddressFromPublicKeyAndDerivation (#3271) * [Polkadot]: Refactor Polkadot to support any Substrate chain (#3261) * [Acala]: Add Acala and AcalaEVM chains (#3274) * [Kotlin] Added UInt value to enums (#3276) Co-authored-by: Sztergbaum Roman <[email protected]> * fix(bitcoin): Fix `TWAnySignerPlan` (#3278) * [README]: Update README.md (#3280) Removed broken IFWallet link Updated supported blockchain count according to registry.md Corrected some typos and grammatical mistakes * [Chain/EVM]: add opbnb testnet (#3291) * [Barz] Upgrade to the new Barz contract constructor (#3288) * [Polkadot]: Fix `Staking::Bond` and `Staking::BondAndNominate` (#3293) * [Webauthn] Add some helpers to extract P256 values (#3292) * [Cardano] Support utxo with legacy(byron) address (#3284) * [Cardano]: Fix signing in JS (#3299) --------- Co-authored-by: Ruslan Serebriakov <[email protected]> Co-authored-by: hewigovens <[email protected]> Co-authored-by: Fabio Lama <[email protected]> Co-authored-by: Sztergbaum Roman <[email protected]> Co-authored-by: Maxim Pestryakov <[email protected]> Co-authored-by: Sabuhi Fatalizada <[email protected]> Co-authored-by: Sergey Balashov <[email protected]>
* [NewChain/Base]: add base blockchain (#3342) * [Aptos]: Add `transfer_coins` function call (#3344) * feat(aptos): Add `TokenTransferCoinsMessage` to call `aptos_account::transfer_coins` function * Add test with testnet transaction * feat(aptos): Add mainnet test * feat(aptos): Fix comment * [Bitcoin] Fix `TWBitcoinFeeCalculateFee` (for JavaScript) (#3346) * [Barz] Allow deriving multiple addresses from a single public key (#3340) * [Barz] Allow deriving multiple addresses from a single public key * fix tests * Update BarzTests.swift * update tests * update tests * update tests * [ETH]: Handle `tuple[]` ABI type parameter (#3352) --------- Co-authored-by: Sztergbaum Roman <[email protected]> Co-authored-by: Fabio Lama <[email protected]> Co-authored-by: Ruslan Serebriakov <[email protected]>
# Conflicts: # .github/workflows/linux-ci-rust.yml # include/TrustWalletCore/TWEthereumRlp.h # include/TrustWalletCore/TWTransactionCompiler.h # rust/Cargo.lock # rust/Cargo.toml # rust/coverage.stats # rust/frameworks/tw_utxo/src/transaction/asset/entry.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/legacy/build_and_sign.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/legacy/mod.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/mod.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/plan_builder.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/signer.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/brc20.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/input_builder.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/input_claim_builder.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/mod.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/ordinals.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/transactions/output_builder.rs # rust/frameworks/tw_utxo/src/transaction/asset/modules/utils.rs # rust/frameworks/tw_utxo/src/transaction/asset/ordinal.rs # rust/tw_any_coin/Cargo.toml # rust/tw_any_coin/src/any_address.rs # rust/tw_any_coin/src/any_signer.rs # rust/tw_any_coin/src/ffi/mod.rs # rust/tw_any_coin/src/ffi/tw_any_address.rs # rust/tw_any_coin/src/ffi/tw_any_signer.rs # rust/tw_any_coin/src/ffi/tw_message_signer.rs # rust/tw_any_coin/src/ffi/tw_transaction_compiler.rs # rust/tw_any_coin/src/lib.rs # rust/tw_any_coin/src/message_signer.rs # rust/tw_any_coin/src/test_utils/mod.rs # rust/tw_any_coin/src/transaction_compiler.rs # rust/tw_bitcoin/Cargo.toml # rust/tw_bitcoin/src/lib.rs # rust/tw_bitcoin/src/ordinals.rs # rust/tw_bitcoin/src/tests/data.rs # rust/tw_bitcoin/tests/common/data.rs # rust/tw_coin_entry/Cargo.toml # rust/tw_coin_entry/src/coin_context.rs # rust/tw_coin_entry/src/coin_entry.rs # rust/tw_coin_entry/src/coin_entry_ext.rs # rust/tw_coin_entry/src/common/compile_input.rs # rust/tw_coin_entry/src/common/mod.rs # rust/tw_coin_entry/src/derivation.rs # rust/tw_coin_entry/src/lib.rs # rust/tw_coin_entry/src/modules/json_signer.rs # rust/tw_coin_entry/src/modules/message_signer.rs # rust/tw_coin_entry/src/modules/mod.rs # rust/tw_coin_entry/src/modules/plan_builder.rs # rust/tw_coin_entry/src/prefix.rs # rust/tw_coin_entry/src/test_utils/mod.rs # rust/tw_coin_registry/Cargo.toml # rust/tw_coin_registry/src/blockchain_type.rs # rust/tw_coin_registry/src/coin_context.rs # rust/tw_coin_registry/src/dispatcher.rs # rust/tw_coin_registry/src/error.rs # rust/tw_coin_registry/src/lib.rs # rust/tw_coin_registry/src/registry.rs # rust/tw_encoding/Cargo.toml # rust/tw_encoding/fuzz/Cargo.toml # rust/tw_encoding/fuzz/fuzz_targets/base_encode.rs # rust/tw_encoding/src/base58.rs # rust/tw_encoding/src/ffi.rs # rust/tw_encoding/src/hex.rs # rust/tw_ethereum/src/lib.rs # rust/tw_evm/Cargo.toml # rust/tw_evm/fuzz/Cargo.toml # rust/tw_evm/fuzz/fuzz_targets/abi_decode_value.rs # rust/tw_evm/fuzz/fuzz_targets/abi_encode_function.rs # rust/tw_evm/fuzz/fuzz_targets/abi_function_decode_input.rs # rust/tw_evm/fuzz/fuzz_targets/rlp_encode.rs # rust/tw_evm/fuzz/fuzz_targets/sign.rs # rust/tw_evm/src/abi/contract.rs # rust/tw_evm/src/abi/decode.rs # rust/tw_evm/src/abi/encode.rs # rust/tw_evm/src/abi/function.rs # rust/tw_evm/src/abi/mod.rs # rust/tw_evm/src/abi/non_empty_array.rs # rust/tw_evm/src/abi/param.rs # rust/tw_evm/src/abi/param_token.rs # rust/tw_evm/src/abi/param_type/constructor.rs # rust/tw_evm/src/abi/param_type/mod.rs # rust/tw_evm/src/abi/param_type/reader.rs # rust/tw_evm/src/abi/param_type/writer.rs # rust/tw_evm/src/abi/prebuild/erc1155.rs # rust/tw_evm/src/abi/prebuild/erc20.rs # rust/tw_evm/src/abi/prebuild/erc4337.rs # rust/tw_evm/src/abi/prebuild/erc721.rs # rust/tw_evm/src/abi/prebuild/mod.rs # rust/tw_evm/src/abi/signature.rs # rust/tw_evm/src/abi/token.rs # rust/tw_evm/src/abi/uint.rs # rust/tw_evm/src/address.rs # rust/tw_evm/src/evm_context.rs # rust/tw_evm/src/evm_entry.rs # rust/tw_evm/src/lib.rs # rust/tw_evm/src/message/eip191.rs # rust/tw_evm/src/message/eip712/eip712_message.rs # rust/tw_evm/src/message/eip712/mod.rs # rust/tw_evm/src/message/eip712/property.rs # rust/tw_evm/src/message/mod.rs # rust/tw_evm/src/message/signature.rs # rust/tw_evm/src/modules/abi_encoder.rs # rust/tw_evm/src/modules/compiler.rs # rust/tw_evm/src/modules/message_signer.rs # rust/tw_evm/src/modules/mod.rs # rust/tw_evm/src/modules/rlp_encoder.rs # rust/tw_evm/src/modules/signer.rs # rust/tw_evm/src/modules/tx_builder.rs # rust/tw_evm/src/rlp/buffer.rs # rust/tw_evm/src/rlp/impls.rs # rust/tw_evm/src/rlp/list.rs # rust/tw_evm/src/rlp/mod.rs # rust/tw_evm/src/signature.rs # rust/tw_evm/src/transaction/mod.rs # rust/tw_evm/src/transaction/signature.rs # rust/tw_evm/src/transaction/transaction_eip1559.rs # rust/tw_evm/src/transaction/transaction_non_typed.rs # rust/tw_evm/src/transaction/user_operation.rs # rust/tw_evm/tests/abi_encoder.rs # rust/tw_evm/tests/barz.rs # rust/tw_evm/tests/message_signer.rs # rust/tw_evm/tests/rlp.rs # rust/tw_evm/tests/signer.rs # rust/tw_hash/Cargo.toml # rust/tw_hash/fuzz/fuzz_targets/hash_fuzz.rs # rust/tw_hash/src/hash_array.rs # rust/tw_hash/src/lib.rs # rust/tw_keypair/Cargo.toml # rust/tw_keypair/fuzz/fuzz_targets/tw_private_sign.rs # rust/tw_keypair/fuzz/fuzz_targets/tw_private_to_public.rs # rust/tw_keypair/fuzz/fuzz_targets/tw_public_verify.rs # rust/tw_keypair/src/ecdsa/canonical.rs # rust/tw_keypair/src/ecdsa/nist256p1/keypair.rs # rust/tw_keypair/src/ecdsa/nist256p1/mod.rs # rust/tw_keypair/src/ecdsa/nist256p1/private.rs # rust/tw_keypair/src/ecdsa/nist256p1/public.rs # rust/tw_keypair/src/ecdsa/secp256k1/keypair.rs # rust/tw_keypair/src/ecdsa/secp256k1/mod.rs # rust/tw_keypair/src/ecdsa/secp256k1/private.rs # rust/tw_keypair/src/ecdsa/secp256k1/public.rs # rust/tw_keypair/src/ecdsa/signature.rs # rust/tw_keypair/src/ed25519/keypair.rs # rust/tw_keypair/src/ed25519/mangle.rs # rust/tw_keypair/src/ed25519/mod.rs # rust/tw_keypair/src/ed25519/modifications/cardano/extended_keypair.rs # rust/tw_keypair/src/ed25519/modifications/cardano/extended_private.rs # rust/tw_keypair/src/ed25519/modifications/cardano/extended_public.rs # rust/tw_keypair/src/ed25519/modifications/cardano/mod.rs # rust/tw_keypair/src/ed25519/modifications/mod.rs # rust/tw_keypair/src/ed25519/modifications/waves/keypair.rs # rust/tw_keypair/src/ed25519/modifications/waves/mod.rs # rust/tw_keypair/src/ed25519/modifications/waves/private.rs # rust/tw_keypair/src/ed25519/modifications/waves/public.rs # rust/tw_keypair/src/ed25519/modifications/waves/signature.rs # rust/tw_keypair/src/ed25519/private.rs # rust/tw_keypair/src/ed25519/public.rs # rust/tw_keypair/src/ed25519/secret.rs # rust/tw_keypair/src/ed25519/signature.rs # rust/tw_keypair/src/ffi/mod.rs # rust/tw_keypair/src/ffi/privkey.rs # rust/tw_keypair/src/ffi/pubkey.rs # rust/tw_keypair/src/lib.rs # rust/tw_keypair/src/starkex/keypair.rs # rust/tw_keypair/src/starkex/mod.rs # rust/tw_keypair/src/starkex/private.rs # rust/tw_keypair/src/starkex/public.rs # rust/tw_keypair/src/starkex/signature.rs # rust/tw_keypair/src/test_utils/mod.rs # rust/tw_keypair/src/test_utils/tw_private_key_helper.rs # rust/tw_keypair/src/test_utils/tw_public_key_helper.rs # rust/tw_keypair/src/traits.rs # rust/tw_keypair/src/tw/mod.rs # rust/tw_keypair/src/tw/private.rs # rust/tw_keypair/src/tw/public.rs # rust/tw_keypair/tests/ed25519_blake2b_tests.rs # rust/tw_keypair/tests/ed25519_extended_cardano_tests.rs # rust/tw_keypair/tests/ed25519_tests.rs # rust/tw_keypair/tests/ed25519_waves_tests.rs # rust/tw_keypair/tests/nist256p1_tests.rs # rust/tw_keypair/tests/private_key_ffi_tests.rs # rust/tw_keypair/tests/public_key_ffi_tests.rs # rust/tw_keypair/tests/secp256k1_tests.rs # rust/tw_keypair/tests/tw_keypair_starkex_tests.rs # rust/tw_memory/src/ffi/tw_data.rs # rust/tw_memory/src/ffi/tw_data_vector.rs # rust/tw_memory/src/ffi/tw_string.rs # rust/tw_memory/src/test_utils/mod.rs # rust/tw_memory/src/test_utils/tw_data_helper.rs # rust/tw_memory/src/test_utils/tw_data_vector_helper.rs # rust/tw_memory/src/test_utils/tw_string_helper.rs # rust/tw_memory/src/test_utils/tw_wrapper.rs # rust/tw_number/Cargo.toml # rust/tw_number/src/i256.rs # rust/tw_number/src/lib.rs # rust/tw_number/src/sign.rs # rust/tw_number/src/u256.rs # rust/tw_number/tests/u256.rs # rust/tw_proto/src/lib.rs # rust/tw_proto/tests/proto_ffi_tests.rs # rust/tw_tests/tests/chains/common/bitcoin/data.rs # rust/wallet_core_rs/Cargo.toml # rust/wallet_core_rs/cbindgen.toml # rust/wallet_core_rs/src/ffi/bitcoin/mod.rs # rust/wallet_core_rs/src/ffi/ethereum/abi.rs # rust/wallet_core_rs/src/ffi/ethereum/mod.rs # rust/wallet_core_rs/src/ffi/ethereum/rlp.rs # rust/wallet_core_rs/src/ffi/mod.rs # rust/wallet_core_rs/src/lib.rs # samples/kmp/shared/build.gradle.kts # src/Bitcoin/Script.cpp # src/Bitcoin/Signer.cpp # src/Bitcoin/Transaction.cpp # src/Ethereum/ABI/ProtoParam.h # src/Ethereum/Barz.cpp # src/Ethereum/Entry.cpp # src/Ethereum/Entry.h # src/Greenfield/SignerEip712.cpp # src/Ronin/Entry.cpp # src/Ronin/Entry.h # src/interface/TWEthereumRlp.cpp # src/proto/BitcoinV2.proto # src/proto/Common.proto # src/rust/Wrapper.h # swift/Tests/Blockchains/EthereumRlpTests.swift # tests/chains/Ethereum/TWRlpTests.cpp # tests/chains/Ethereum/TransactionCompilerTests.cpp # tests/common/PublicKeyLegacy.h # tools/android-build # tools/android-release # tools/rust-test
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.
Description
How to test
Types of changes
Checklist
If you're adding a new blockchain