Commit graph

345 commits

Author SHA1 Message Date
likho
bce20eab32 Resolve merge conflicts 2023-07-27 15:05:27 +02:00
likho
a21781a33b Update price tests to include Stellar 2023-07-27 14:54:42 +02:00
julian
80dad5156a Merge remote-tracking branch 'origin_SW/ui-fixes' into ordinals
# Conflicts:
#	lib/db/isar/main_db.dart
2023-07-26 15:11:03 -06:00
julian
dbcb567d6b fix tests 2023-07-26 11:54:46 -06:00
sneurlax
d169ea0b10 fix firo test 2023-07-26 12:53:19 -05:00
julian
7919353881 update mocks 2023-07-25 15:11:56 -06:00
julian
a0b42226f1 fix test 2023-07-25 10:39:23 -06:00
julian
c97de6017b update lelantus coin schema 2023-07-24 16:44:12 -06:00
sneurlax
38c2415a61 change function signature of test to match inscription-refresh hackfix 2023-07-23 23:16:43 -05:00
julian
974924de8d updated mocks 2023-07-21 18:17:59 -06:00
julian
87ed25bd5b use relative path for theme assets 2023-07-03 18:25:18 -06:00
julian
b7b43e3380 close coin cache hive boxes when not in use 2023-07-03 16:27:36 -06:00
julian
d8eb73ccd5 update mocks 2023-06-19 10:13:51 -06:00
julian
7bcfc87f4d feat: amount string group separator based on locale and parse those formatted strings back to amounts based on localized decimal pattern 2023-06-16 10:43:20 -06:00
julian
2643cdfb13 fix: price tests 2023-06-08 12:25:39 -06:00
julian
1d2d01d1de fix: banano price 2023-06-08 12:21:28 -06:00
julian
061f7d5c0d fix: uncomment previously disabled tests and fix them 2023-06-07 14:26:28 -06:00
julian
c3118fa715 temp: comment out tests - fix later lol 2023-06-05 16:35:00 -06:00
julian
3b9aba2eb5 fix: build runner 2023-06-05 16:31:52 -06:00
julian
79a22e12c3 Merge remote-tracking branch 'origin_SW/staging' into amount_display_precision 2023-05-30 09:04:34 -06:00
julian
4b6afe1db0 indicate loss of precision in displayed amounts 2023-05-29 17:13:45 -06:00
julian
d1c14ada55 fix: rpc test 2023-05-29 16:29:36 -06:00
julian
d811009600 fix: merge cleanup 2023-05-29 16:26:46 -06:00
julian
7484353854 Merge remote-tracking branch 'origin_SW/staging' into persistence
# Conflicts:
#	test/electrumx_test.mocks.dart
2023-05-29 16:24:25 -06:00
julian
1b1c61a3a3 feat: WIP use amount formatter in GUI 2023-05-29 15:11:48 -06:00
likho
c94cbf6cd9 Fix failing tests 2023-05-29 20:19:14 +02:00
julian
021165eb17 fix: update electrumx tests 2023-05-29 10:30:41 -06:00
likho
436b11a102 Generate isar model/ fix status showing incorrectly in the transaction view page 2023-05-29 14:33:57 +02:00
julian
5c2465784e update tests 2023-05-26 17:48:03 -06:00
Rylee Davis
60294e0144
Custom pin length (#555)
* WIP: pinCount stuff

* pin decoration + and pinCount is 0

* pin length tweaks

* fixes error when backspacing pin + add icon to flushbar

* removed Constants.pinLength + changes to "change pin" setting

* testing pin output

* WIP: tests pass + commented out isRandom pin 1234

* removed pin output

---------

Co-authored-by: ryleedavis <rylee@cypherstack.com>
Co-authored-by: julian <julian@cypherstack.com>
2023-05-26 09:45:45 -06:00
julian
d7fa52e9cd add ecash to price fetch service 2023-05-18 17:01:58 -06:00
julian
b946bba01b v2 theme assets 2023-05-18 12:52:48 -06:00
julian
57b7327287 update test and mocks 2023-05-16 15:59:33 -06:00
julian
1b92f2b36b no more derivations stored for firo 2023-05-16 11:33:00 -06:00
julian
59c1a49ee7 Merge branch 'ui-fixes' into address_book_isar
# Conflicts:
#	lib/pages_desktop_specific/address_book_view/subwidgets/desktop_contact_details.dart
#	lib/utilities/db_version_migration.dart
2023-05-15 14:15:34 -06:00
julian
52bffbac08 add contacts migration from hive to isar and remove contact class conversion 2023-05-15 14:12:06 -06:00
julian
5e5e89278a fix tests 2023-05-15 12:51:43 -06:00
julian
3e51624631 update test 2023-05-13 21:32:49 -06:00
julian
4a5ca30b6f fix: tests 2023-05-12 14:02:04 -06:00
julian
e53e7e5055 set up installing of themes and including default themes 2023-05-09 15:58:42 -06:00
julian
39f06f1654 updated mocks 2023-05-09 14:59:16 -06:00
julian
d182fd2740 replace ThemeType enum with themeId Strings 2023-05-09 14:20:29 -06:00
julian-CStack
5edb8c68f0 WIP update tests 2023-05-08 11:59:00 -06:00
ryleedavis
aaee3f8e68 another pin test fix 2023-05-03 08:27:25 -06:00
ryleedavis
dc135597e6 fixed tests for randomized pin 2023-05-02 16:45:34 -06:00
julian
47e1bfbe5a updated mocks 2023-04-26 17:11:54 -06:00
julian
e5e17f92b7 updated mocks 2023-04-21 07:19:36 -06:00
julian
347c69339c fix tests 2023-04-11 11:09:24 -06:00
julian
5bf678d41a Balance class clean up 2023-04-10 12:00:23 -06:00
julian
742036138b add search to mobile coin wallets per-coin list 2023-04-10 12:00:23 -06:00
julian-CStack
a5e7c32c23 update mocks and relevant tests that use the new Amount 2023-04-09 17:07:15 -06:00
julian
16a6619746 remove fromDouble constructor from amount due to possible precision errors 2023-04-06 17:30:33 -06:00
julian
ae51ce61c3 amount unit + tests 2023-04-06 17:27:42 -06:00
julian
25ff880280 move amount.dart file 2023-04-06 15:24:56 -06:00
julian
14d68b0743 Amount tweaks and fixes 2023-04-06 14:21:49 -06:00
julian
81c612ddd7 WIP use Amount 2023-04-05 16:06:31 -06:00
julian
2936c1b807 Amount refinements 2023-04-04 10:47:36 -06:00
julian
f7a49c8f8a fix tests 2023-03-31 18:53:52 -06:00
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
f969179ea6 updated mocks 2023-03-31 09:39:17 -06:00
julian
31cc4beb43 test fixes 2023-03-30 11:05:43 -06:00
julian
8452758d17 added extra Amount functionality + tests 2023-03-30 10:49:07 -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
7c3b50552a tests fix 2023-03-24 16:43:47 -06:00
julian
7e6642cd84 update tests 2023-03-24 15:55:17 -06:00
julian
f44774745e WIP amount class 2023-03-24 11:08:02 -06:00
julian
44a87df41c merge clean up 2023-03-23 18:21:09 -06:00
julian
3e1e68237a Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/models/isar/models/blockchain_data/address.dart
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/settings_views/global_settings_view/appearance_settings_view.dart
#	lib/pages_desktop_specific/settings/settings_menu/appearance_settings.dart
#	lib/utilities/db_version_migration.dart
#	test/pages/send_view/send_view_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/add_address_book_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/address_book_entry_details_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/edit_address_book_entry_view_screen_test.mocks.dart
#	test/screen_tests/exchange/exchange_view_test.mocks.dart
#	test/screen_tests/lockscreen_view_screen_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testA_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testB_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testC_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_warning_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/create_pin_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/restore_wallet_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/verify_backup_key_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/currency_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/add_custom_node_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/node_details_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_backup_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rescan_warning_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/wallet_delete_mnemonic_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_view_screen_test.mocks.dart
#	test/screen_tests/transaction_subviews/transaction_search_results_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/confirm_send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/receive_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/wallet_view_screen_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/transaction_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-03-23 18:13:24 -06:00
julian-CStack
9b91948b11 BCH 0-conf test update 2023-03-23 17:53:56 -06:00
julian
bb75a8c57c generated mocks update 2023-03-23 09:37:49 -06:00
julian
702054ac61 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	assets/svg/themed/forest/ethereum.png
#	assets/svg/themed/forest/ethereum.svg
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/receive_view/addresses/edit_address_label_view.dart
#	lib/pages/receive_view/addresses/receiving_addresses_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/route_generator.dart
#	lib/utilities/assets.dart
#	lib/utilities/constants.dart
#	lib/widgets/animated_widgets/rotate_icon.dart
#	pubspec.lock
#	pubspec.yaml
2023-03-22 08:54:25 -06:00
julian
172429f94a add address tags property and update generated 2023-03-21 10:37:01 -06:00
julian
d97c208135 update mocks 2023-03-09 13:54:44 -06:00
julian
855767ba54 update mocks and a couple tests 2023-03-08 16:17:32 -06:00
julian
9716bed96f update mocks 2023-03-08 14:28:47 -06:00
julian
be7fcbe5a0 update mocks 2023-03-08 08:57:33 -06:00
julian
3cad15652e update mocks 2023-03-06 14:40:18 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -06:00
julian
6b7eb8f463 fix price tests to include ethereum 2023-02-28 14:42:43 -06:00
julian
0c11e859aa changenow v2 currencies call to access tokenContract param 2023-02-28 14:27:42 -06:00
julian
fd0400e7f7 update mock calls 2023-02-23 14:08:07 -06:00
julian
706b886fd3 test fix 2023-02-21 16:40:32 -06:00
julian
76794f14b8 update bip47 lib 2023-02-15 16:16:34 -06:00
julian
a42e5278a9 update mocks 2023-02-13 13:01:06 -06:00
julian
2eb0b2e123 clean up exchange rate type enum, build runner mocks 2023-02-08 16:46:30 -06:00
julian
5bac2a79ea build runner mocks fix 2023-02-07 11:24:04 -06:00
julian
d4db845494 Merge branch 'exchange_refactor' into paynyms
# Conflicts:
#	test/pages/send_view/send_view_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/wallet_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-02-07 11:17:16 -06:00
julian
1455808d7a WIP refactor exchange to use isar as cache instead of in memory using riverpod 2023-02-05 14:32:39 -06:00
julian
d4499ac3bc firo bug fix and test update 2023-02-03 19:04:43 -06:00
julian
9b4dee76a5 add derivationPath to Address constructor as required 2023-02-03 17:30:32 -06:00
julian
4d891e0f31 clean up 2023-02-03 16:42:27 -06:00
julian
5b5ee30e41 centralized and cleaned up bip32 utils, and added mnemonic password functionality 2023-02-03 16:34:06 -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
1f7bd41d8e update tests mock calls 2023-01-30 14:15:44 -06:00
julian
5de22ca858 Merge branch 'simplex' into paynyms 2023-01-26 10:16:01 -06:00
julian
8cd34fc228 build runner update mocks 2023-01-25 16:16:20 -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
6314570f8f disable hashcode tests that appear to give different results in different environments 2023-01-24 16:30:39 -06:00
julian
83c0beb2ee disable libmonero tests in sw 2023-01-24 16:06:18 -06:00