Commit graph

58 commits

Author SHA1 Message Date
julian
9addf101a9 more build runner mocks regen 2023-11-16 12:19:04 -06:00
julian
5b5908196d refactor various electrumx class names 2023-11-14 14:35:53 -06:00
julian
a9094a4ad9 update tests 2023-10-27 09:56:26 -06:00
julian
ad14c16bcc util func to check if scriptpubkey is a fusion 2023-10-19 16:25:12 -06:00
julian
b0338aa76a quick and dirty SLP check 2023-10-18 14:46:57 -06:00
julian
4db85cb5f1 use valid hex string so the hex parser doesn't throw and cause the test to explode 2023-10-17 14:58:14 -06:00
julian
ee88cd8fb0 move test function to a test 2023-10-17 14:53:18 -06:00
julian
a97be12f57 update tests 2023-09-08 10:04:56 -06:00
julian
4f7f7d5797 update mocks 2023-08-22 17:24:22 -06:00
julian
21d81a9574 update mocks 2023-07-27 15:08:43 -06:00
julian
3b9aba2eb5 fix: build runner 2023-06-05 16:31:52 -06:00
julian
021165eb17 fix: update electrumx tests 2023-05-29 10:30:41 -06:00
julian
57b7327287 update test and mocks 2023-05-16 15:59:33 -06:00
julian
5e5e89278a fix tests 2023-05-15 12:51:43 -06:00
julian
347c69339c fix tests 2023-04-11 11:09:24 -06:00
julian
e29d8dc047 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/add_wallet_views/add_wallet_view/add_wallet_view.dart
2023-03-27 08:50:10 -06:00
julian-CStack
9b91948b11 BCH 0-conf test update 2023-03-23 17:53:56 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -06:00
julian
b0c00d8ec7 db refactor and added address labels 2023-02-03 13:22:21 -06:00
sneurlax
4aec78f0ed
Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330)
* add new derive path for bch

and make it the new default.  we currently use slip44 (coinType 145) as the default

* add default cases to DerivePathType switches now failing

* normalize DerivePathType errors

log failing derivePathType or type, as appropriate

* add default derive path case to paynym interface

* use slip44 in bch wallet

* linting

* WIP look up both bip44 and slip44 addresses

slip44 is used by default

* typo fix

* typo fix

thanks Julian

* remove print

* use slip44 addresses by default

* use AddressType unknown for bip44 derive path type

* use address type unknown in _getCurrentAddressForChain, too

* generate different keys for SLIP44 and BIP44 paths

* couple more slips

* return slip44 from addressType

* slip before bip

* revert slip44-bip44, bch's bip44->bch44

* set bch44 derive path to type unknown

do not comingle paths in later output selection by index

* handle bip44 and bch44 path addresses when handling outputs

* use bip44 by default

* typofix

* typo fix in the typo fix

yo dawg

* separate new derivation path functions into their own non-testnet block

* cleanup

* disable test

should re-enable if it can be fixed with the test mnemonic in hand

---------

Co-authored-by: julian <julian@cypherstack.com>
2023-02-02 09:24:26 -06:00
julian
700084f708 remove wallet specific derivePathType tests as it was removed from the wallet files 2023-01-25 16:11:06 -06:00
julian
0c1db6f249 clean up tests for now 2023-01-20 10:22:18 -06:00
julian
fd5a237170 move db modifying func to MainDB out of WalletDb, add MainDB mocks to coin tests, build runner generate mocks 2023-01-19 15:13:03 -06:00
julian
60e850f442 add mockable override option for testing purposes 2023-01-19 14:33:23 -06:00
julian
daa2648763 builder runner update mocks 2023-01-19 13:54:31 -06:00
julian
ea68e811ec remove unneeded PriceAPI mock generation for coin tests 2023-01-19 13:52:50 -06:00
julian
722a884553 coin tests code error cleanup 2023-01-19 13:47:51 -06:00
julian
35f6ffd4fc coin tests linter warnings and clean up 2023-01-19 13:24:16 -06:00
julian
aafca9289d WIP test fixing 2023-01-19 13:07:20 -06:00
julian
fee175531d fixed tablerow test and commented out pointless tests 2022-12-05 17:21:20 -06:00
julian
3ee0e97628 DesktopSecureStore implementation using Isar as backend, renamed FlutterSecureStorageInterface 2022-11-09 17:55:34 -06:00
julian
2bdf5f152c dynamic secure storage provider 2022-11-09 17:55:34 -06:00
julian
c962f597fd added extra checks to BCH as well as test cases 2022-11-07 15:48:27 -06:00
julian
7dbc9d270b temp bch send fix testnet and fix tests 2022-11-04 18:18:39 -06:00
Marco Salazar
b8d304f9a3
Merge branch 'staging' into flutter3.3.4 2022-10-24 10:56:12 -06:00
Marco
27c2e38311 fix bitcoin cash tests 2022-10-19 16:16:00 -06:00
Likho
be45315487 WIP: widget testing, update transaction card tests to use riverpod 2022-10-16 08:50:10 +02:00
Likho
efc5582fb2 WIP: Widget testing 2022-10-07 10:34:30 +02:00
julian
6126588e60 WIP simpleswap and generic exchange 2022-10-02 13:37:11 -06:00
julian
c803519a42 re enable certain bch+nmc tests 2022-09-30 17:35:28 -06:00
julian
8e05d4ef56 various small bch fixes, temp disable tests 2022-09-26 14:44:07 -06:00
Likho
4ce47042b8 Update tests for bch after adding P2SH 2022-09-26 10:42:46 +02:00
Likho
04f80c61a5 WIP: Fix bch tests 2022-09-26 10:12:54 +02:00
Likho
d5c3b29813 WIP: Testing 2022-09-26 08:41:54 +02:00
Likho
d4cfea4bb7 WIP: Fix failing tests 2022-09-23 17:14:22 +02:00
Likho
909436afdc WIP: Add p2sh address for bch 2022-09-23 14:31:14 +02:00
Likho
b5ad9ec004 Add new nodes from Rylee and fix bch tests 2022-09-20 15:09:46 +02:00
Likho
8bb6ba6ab7 WIP: Update dust limit for nmc and bch, update nmc history data 2022-09-19 19:38:32 +02:00
Likho
0ce49eacc2 Remove custom mock, makes no difference 2022-09-18 11:02:06 +02:00
julian
5267d9198b update fullRescan succeeds test and sample data 2022-09-16 08:36:30 -06:00