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
julian
f386a8803c
disable libmonero tests in sw
2023-01-24 15:29:45 -06:00
julian
017719971b
isar init fix and renaming of init functions
2023-01-20 15:57:54 -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
8921302ee0
remove useless walletId param from db init
2023-01-19 14:07:08 -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
e2b7c07b78
update transaction card test
2023-01-19 12:20:27 -06:00
julian
e248a6fd77
fix manager tests and update fakecoinservice
2023-01-19 11:55:40 -06:00
julian
42e53c31a6
build runner
2023-01-18 17:48:44 -06:00
julian
6ac6dc2724
build runner mocks
2023-01-16 16:37:12 -06:00
julian
5562c14527
WIP refactor to single main isar db
2023-01-16 15:04:03 -06:00
julian
40af5e5206
build runner
2023-01-13 15:58:05 -06:00
julian
d119296492
build runner
2023-01-13 11:13:52 -06:00
julian
6adf1d3148
generated test mocks updates
2023-01-11 21:17:12 -06:00
julian
15258314cd
update test mocks
2023-01-10 17:48:55 -06:00
julian
86956b3fad
update dogecoin test
2023-01-10 10:05:22 -06:00
julian
a0df73551e
update generated files
2023-01-10 10:02:54 -06:00
julian
682c55e493
mobile xmr/wow loading test fix
2023-01-02 12:43:26 -06:00
Diego Salazar
2a38d5691e
Merge pull request #260 from cypherstack/add-particl
...
Add Particl
2022-12-12 16:13:43 -07:00
julian
ea1c7fd204
fix price test
2022-12-12 15:00:39 -06:00
sneurlax
e1fc746c5d
Merge remote-tracking branch 'cypherstack/try-removing-bip84-default' into add-particl
2022-12-12 09:59:34 -06:00
sneurlax
86704b37de
Merge remote-tracking branch 'cypherstack/add-particl' into add-particl
2022-12-12 09:58:31 -06:00
likho
a0e38aab31
Fix and test the rest of the tests
2022-12-12 10:19:36 +02:00
likho
be64df3315
WIP: Update tests for Particl
2022-12-11 13:48:24 +02:00
julian
22c1687fe6
fix price test
2022-12-10 10:51:16 -06:00
sneurlax
419e5a3372
expect different output in getPricesAnd24hChange
2022-12-09 17:07:44 -06:00
sneurlax
df9e020235
fix values getPricesAnd24hChange fetch
2022-12-09 15:22:22 -06:00
sneurlax
92602276db
fix more price tests
...
fix more price tests
fix price tests
2022-12-09 14:24:01 -06:00
sneurlax
be5cfdc099
fix "no internet available" price test
2022-12-09 13:10:11 -06:00
sneurlax
8a5dd7ccc2
refresh wallet normally
2022-12-09 10:58:25 -06:00
sneurlax
363e0da8ff
refresh wallet mutex locked
2022-12-09 10:56:18 -06:00
sneurlax
8640353be8
fullRescan fails
2022-12-09 10:53:35 -06:00
sneurlax
74a25d5001
recoverFromMnemonic using non empty seed on mainnet succeeds
2022-12-09 10:41:54 -06:00
sneurlax
e3111cf9d2
fullRescan succeeds
...
by removing P2SH and P2WKPH derivation paths which we could re-enable when we need completeness
2022-12-09 10:22:13 -06:00
sneurlax
ac28432009
disable recoverFromMnemonic test
2022-12-09 09:44:11 -06:00
sneurlax
b2b4fb970f
recoverFromMnemonic using non empty seed on mainnet succeeds
2022-12-09 09:36:32 -06:00
sneurlax
81935aa00c
comment cleaning
2022-12-09 09:30:41 -06:00
sneurlax
a15c975553
fix bip49 derivation path test
2022-12-09 09:24:39 -06:00
julian
fee175531d
fixed tablerow test and commented out pointless tests
2022-12-05 17:21:20 -06:00
julian
3ff0e9dd81
desktop code file structure refactor
2022-12-01 08:48:23 -06:00
likho
4dec3fbf48
Update tests that use batchHistory
2022-11-30 16:05:56 +02:00
likho
f984a6a208
Add test history data and WIP change tests to particl
2022-11-30 15:06:31 +02:00
sneurlax
861d362966
linting and TODO
...
AS linted and removed unused imports
2022-11-29 15:27:32 -06:00
sneurlax
2df3b0f3ed
update particl tests to the point of testing address validity
2022-11-29 14:27:15 -06:00
sneurlax
6c9690dcf5
Namecoin->Particl
2022-11-29 13:41:11 -06:00
sneurlax
fa03c5de74
disable all but 2-3 particl tests
...
TODO re-enable as we implement up to these
2022-11-29 13:15:25 -06:00
sneurlax
e82a4d95fa
update bip32 root test
...
TODO update ROOT_WIF ... is that in the .gitignored wallet test parameters?
2022-11-29 13:15:05 -06:00
sneurlax
7a0cb3669a
update genesis hash test vector
2022-11-29 13:14:56 -06:00
sneurlax
6776477897
WIP particl tests
...
see out of band particl_wallet_test_parameters.dart
2022-11-29 13:14:33 -06:00
julian
56f54ac487
clean up and test fixes
2022-11-25 17:49:47 -06:00
julian
ffe9a83abf
Format tests updated
2022-11-23 12:42:23 -06:00
julian
157829a933
fixed failing test
2022-11-22 15:53:16 -06:00
julian
b64246228c
update addressbookcard test
2022-11-15 19:58:32 -06:00
julian
5d8a1b0304
trim unused import
2022-11-12 09:17:16 -06:00
julian
f08a52cd07
remove direct dependency of unused SharedPreferences
2022-11-12 09:16:07 -06:00
julian
077ba6429b
Merge branch 'staging' into desktop-testing
2022-11-11 13:24:00 -06:00
sneurlax
f61b3857e6
add more address validation to tests
2022-11-10 17:03:01 -06:00
sneurlax
02f5162b53
Merge branch 'staging' into cryptonote/validation
2022-11-10 16:24:35 -06:00
sneurlax
a6172f90a9
cherrypick Julian's test changes
2022-11-10 16:21:58 -06:00
sneurlax
24bdc100fb
add address validation tests
2022-11-10 15:49:19 -06:00
julian
3299f4ecd9
comment out broken code in swb desktop restore + clean up unused imports and linter errors in wow/monero tests
2022-11-10 15:15:54 -06:00
sneurlax
6e48fc4ea6
use hive_test for monero and wownero tests
2022-11-10 10:46:09 -06:00
julian
c7a6ffd3e4
Merge branch 'staging' into desktop-testing
2022-11-09 17:58:34 -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
sneurlax
bad88aeecb
Merge branch 'staging' into wownero/25-word
2022-11-09 08:33:15 -06:00
sneurlax
7c3d40782c
add generation tests and update flutter_libmonero ref
...
change seedWords to SeedWordsLength to match rest of codebase
2022-11-08 09:55:15 -06:00
sneurlax
77aa3bc8e4
use wownero-seed for 14 word seed, use wownero wallet2 for 25 word seed
...
and update tests showing examples of both. TODO proper validation, must eg calculate and check checksums etc
2022-11-07 16:45:26 -06:00
julian
c962f597fd
added extra checks to BCH as well as test cases
2022-11-07 15:48:27 -06:00
sneurlax
6e5a0bad78
do not use wownero-seed (wow_seed) function for height, hardcoded POC
2022-11-07 14:42:52 -06:00
sneurlax
cb83515dbc
do not use wownero-seed (wow_seed)
2022-11-07 13:45:25 -06:00
sneurlax
6223df5432
specify tests for 14 word seeds and add more error checking code to test
...
and update ref to flutter_libmonero enabling tests (mocked storage, etc)
2022-11-07 11:21:10 -06:00
julian
bb260e3a23
hacky fix (due to current persistence design) to get sent transactions showing up right away for electrumx coins
2022-11-07 10:24:37 -06:00
julian
f6bad974e6
address book tests updated
2022-11-07 10:24:37 -06:00
sneurlax
65338ad87b
Merge branch 'staging' into tests/mainnet
2022-11-07 08:40:57 -06:00
julian
7dbc9d270b
temp bch send fix testnet and fix tests
2022-11-04 18:18:39 -06:00
julian
9432ee89bf
node card test fix
2022-11-02 17:47:24 -06:00
julian
fc25ea2a24
fix previous failing widget tests
2022-11-02 08:49:19 -06:00
julian
6ebe33c312
temporarily commented out failing widget tests due to platform differences with desktop modifications
2022-11-01 16:13:07 -06:00
julian
bf9eb66cb4
test fixes
2022-10-31 08:28:19 -06:00
Marco
c0fddcd822
add litecoin support
2022-10-28 12:03:52 -06:00
Marco
df553b5cf8
Merge branch 'staging' into widget-tests
...
# Conflicts:
# ios/Runner.xcodeproj/project.pbxproj
2022-10-24 10:53:51 -06:00
Likho
decbf0989a
Add more widget tests
2022-10-24 17:16:08 +02:00
Likho
7e5b149079
Widget testing add more tests
2022-10-20 16:38:42 +02:00
Likho
bb40d4b165
WIP: Widget tests
2022-10-20 12:49:45 +02:00
Marco
c55a7fb73d
fix price test tests
2022-10-19 17:49:19 -06:00
Marco
27c2e38311
fix bitcoin cash tests
2022-10-19 16:16:00 -06:00
Likho
1c2cd82292
WIP: Desktop widget tests and update other tests
2022-10-19 15:18:05 +02:00
Likho
5d7e22caaf
Merge branch 'widget-tests' of github.com:cypherstack/stack_wallet into widget-tests
2022-10-19 12:09:57 +02:00
Likho
20c34a185b
Trade Card test
2022-10-19 12:09:34 +02:00
sneurlax
9fdec1c451
Merge remote-tracking branch 'origin/flutter3.3.4' into tests/mainnet
2022-10-18 21:10:01 -05:00
Marco
fa9aad14f1
add externalCalls pref mock
2022-10-18 13:32:38 -06:00
Marco
ba0eb9636d
Merge branch 'staging' into widget-tests
2022-10-18 13:21:34 -06:00
Likho
6cd71631ed
Test textfield_icon_button
2022-10-18 19:31:37 +02:00
Likho
0336789880
Test progress bar and stack dialog
2022-10-18 19:15:14 +02:00
Likho
ffc1b19495
Progress bar widget test and clean node_options test
2022-10-18 17:49:09 +02:00
Likho
d22746be52
Widget tests for managed_favorite, node_card, transaction_card and node_card_details
2022-10-18 16:19:18 +02:00
Likho
c8ec409efa
Widget testing, add more tests
2022-10-17 20:33:09 +02:00
Likho
777ca516bf
Merge branch 'widget-tests' of github.com:cypherstack/stack_wallet into widget-tests
2022-10-17 18:35:21 +02:00
Likho
a8e145ea15
Complete table view widgets
2022-10-17 18:35:07 +02:00
julian
7b71678a69
pushNamedRoute mock fix
2022-10-17 10:17:58 -06:00
Likho
ec927b6b8f
WIP: Widget testing
2022-10-17 17:50:38 +02:00
Likho
145da3cc3c
EmojiSelect widget test
2022-10-17 12:15:32 +02:00
Likho
be45315487
WIP: widget testing, update transaction card tests to use riverpod
2022-10-16 08:50:10 +02:00
sneurlax
c2aeb5bae8
Add Wownero mainnet wallet address generation test
2022-10-14 18:38:46 -05:00
sneurlax
b6e51cb954
Add template wallet detection and removal code
...
Not enabled as wallet files are not currently being saved; only an empty folder is created and left. TODO clean that up
2022-10-14 17:25:49 -05:00
sneurlax
a3a36d02c3
Import wallets service and remove wallet at conclusion of tests
2022-10-14 17:25:49 -05:00
sneurlax
289f0b8959
Add mainnet tests for address generation from test mnemonic
...
TODO: Clean up the wallet file as the tests conclude
2022-10-14 17:25:49 -05:00
Marco
a30ee6f329
increase firo gap check to 50 from 20
2022-10-13 13:31:24 -06:00
likho
3bb2e1d7fb
WIP: widget tests
2022-10-13 20:40:19 +02:00
Likho
78048a75be
Merge remote-tracking branch 'origin/staging' into widget-tests
...
Merge staging into tests
2022-10-12 17:51:02 +02:00
Likho
0f667ca547
Fix wallet_info_row test and update address book
2022-10-12 14:41:14 +02:00
Marco
7f8392522d
fully working setting with ease of use option, tests pass
2022-10-10 17:41:43 -06:00
Likho
3c50077ed1
WIP: widget tests, animated text test
2022-10-10 12:30:35 +02:00
Likho
efc5582fb2
WIP: Widget testing
2022-10-07 10:34:30 +02:00
julian
3d5f6a8d12
update mocks
2022-10-03 18:59:49 -06:00
julian
bb12e149f6
exchange form state implementation and various small bug fixes
2022-10-03 18:01:04 -06:00
julian
670c32aeaf
generic rate estimate
2022-10-03 10:30:50 -06:00
julian
c182557b30
generic market pair
2022-10-03 09:41:53 -06:00
julian
f2eaba178c
update tests and generated files
2022-10-02 18:55:35 -06:00
julian
9af457d1c6
refactor changenow api
2022-10-02 15:03:40 -06: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
Rylee Davis
b33ade592c
Merge pull request #101 from cypherstack/rylee-tmp
...
Rylee tmp
2022-09-29 17:38:14 -06:00
ryleedavis
ef07c8720e
transactionData and transactionChunks
2022-09-29 17:19:51 -06:00
julian
145c03a80b
update price tests to include wownero
2022-09-28 11:33:45 -06:00
ryleedavis
78849c7b0e
transaction_model tests
2022-09-27 17:54:43 -06:00
julian
8e05d4ef56
various small bch fixes, temp disable tests
2022-09-26 14:44:07 -06:00
julian
57f0ea5ead
Merge branch 'desktop' into testing
...
# Conflicts:
# lib/pages/add_wallet_views/restore_wallet_view/restore_options_view/restore_options_view.dart
# lib/pages/wallet_view/transaction_views/transaction_search_filter_view.dart
# lib/utilities/text_styles.dart
# test/services/coins/bitcoincash/bitcoincash_wallet_test.dart
2022-09-26 14:35:58 -06:00
Likho
c0e80f828f
Merge remote-tracking branch 'origin/desktop' into add-p2sh-for-bch
2022-09-26 10:43:45 +02: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
julian
bf98164596
temp disable nmc tests
2022-09-23 15:45:37 -06:00
julian
a97e93f785
fix namecoin price tests
2022-09-23 15:08:04 -06:00
julian
2e965e45ae
enable namecoin
2022-09-23 15:02:53 -06:00
Likho
d4cfea4bb7
WIP: Fix failing tests
2022-09-23 17:14:22 +02:00
julian
3bf94578e6
widget tests fix for updated color themes
2022-09-23 08:06:22 -06:00