Commit graph

378 commits

Author SHA1 Message Date
Matthew Fosse
a032d86653 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-12-18 12:16:00 -05:00
Omar Hatem
502a7eaafa
v4.22.0 release candidate (#1879)
* update app versions

* change default solana node

* update unspents more frequently to avoid unupdated state

* temporary fix for polygon sending issue

* change tron default node
2024-12-18 16:46:36 +02:00
Serhii
b1751f1fd6
fix pending LtC transaction (#1887)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-12-17 15:19:13 +02:00
Serhii
d55e635f61
Cw 853 mweb utxos are not displayed in coin control screen (#1873)
* fix displaying mweb utxos

* fallback for failed electrum UTXO updates

* remove throwing uncaught exception and un needed try/catch

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-12-14 02:37:48 +02:00
David Adegoke
3ad04227a4
test: Attempting automation for testing (#1734)
* feat: Integration tests setup and tests for Disclaimer, Welcome and Setup Pin Code pages

* feat: Integration test flow from start to restoring a wallet successfully done

* test: Dashboard view test and linking to flow

* feat: Testing the Exchange flow section, selecting sending and receiving currencies

* test: Successfully create an exchange section

* feat: Implement flow up to sending section

* test: Complete Exchange flow

* fix dependency issue

* test: Final cleanups

* feat: Add CI to run automated integration tests withan android emulator

* feat: Adjust Automated integration test CI to run on ubuntu 20.04-a

* fix: Move integration test CI into PR test build CI

* ci: Add automated test ci which is a streamlined replica of pr test build ci

* ci: Re-add step to access branch name

* ci: Add KVM

* ci: Add filepath to trigger the test run from

* ci: Add required key

* ci: Add required key

* ci: Add missing secret key

* ci: Add missing secret key

* ci: Add nano secrets to workflow

* ci: Switch step to free space on runner

* ci: Remove timeout from workflow

* ci: Confirm impact that removing copy_monero_deps would have on entire workflow time

* ci: Update CI and temporarily remove cache related to emulator

* ci: Remove dynamic java version

* ci: Temporarily switch CI

* ci: Switch to 11.x jdk

* ci: Temporarily switch CI

* ci: Revert ubuntu version

* ci: Add more api levels

* ci: Add more target options

* ci: Settled on stable emulator matrix options

* ci: Add more target options

* ci: Modify flow

* ci: Streamline api levels to 28 and 29

* ci: One more trial

* ci: Switch to flutter drive

* ci: Reduce options

* ci: Remove haven from test

* ci: Check for solana in list

* ci: Adjust amounts and currencies for exchange flow

* ci: Set write response on failure to true

* ci: Split ci to funds and non funds related tests

* test: Test for Send flow scenario and minor restructuring for test folders and files

* chore: cleanup

* ci: Pause CI for now

* ci: Pause CI for now

* ci: Pause CI for now

* test: Restore wallets integration automated tests

* Fix: Add keys back to currency amount textfield widget

* fix: Switch variable name

* fix: remove automation for now

* tests: Automated tests for Create wallets flow

* tests: Further optimize common flows

* tests: Add missing await for call

* tests: Confirm Seeds Display Properly WIP

* tests: Confirm Seeds Display Correctly Automated Tests

* fix: Add missing pubspec params for bitcoin and bitcoin_cash

* feat: Automated Tests for Transaction History Flow

* fix: Add missing pubspec parameter

* feat: Automated Integration Tests for Transaction History flow

* test: Updating send page robot and also syncing branch with main

* test: Modifying tests to flow with wallet grouping implementation

* fix: Issue with transaction history test

* fix: Modifications to the PR and add automated confirmation for checking that all wallet types are restored or created correctly

* test: Attempting automation for testing

* test: Attempting automation for testing

* test: Print out working directory

* test: See if I can cut down time by removing the build step

* test: More logs

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* fix: Adjust config file

* test: Add commands to generate files and set codebase up as new

* test: try another route

* test: try another route - 2

* test: try another route

* test: try another route - 2

* test: Uncomment KVM and optimizations-a

* test: Try with sudo permissions-a

* test: Try again

* test: Pause build and rename steps, see how faster it resolves

* test: Try using working directory

* test: Check details of current working directory

* test: Switch test run command from flutter drive to flutter test

* test: Adding secrets to CI workflow

* fix: add working directory to emulator and reactivate build step

* test: Add verbosity

* test: Check tat emulator is present and ready to connect

* test: Try a direct test to see if it'll trigger properly

* test: Try the flutter drive command

* test: Try uninstalling before running

* test: Create an aggregator test file as the entry point for all tests

* test: Try without awaiting each test

* test: Another trial at getting combined tests running

* test: Use a test runner script that'll be responsible for running all available integration tests

* test: Add command to make integration test runner file an executable

* test: Fix failing exchange flow test

* test: fix failing exchange flow test

* test: Fix issue with send flow test

* test: Fix issue with confirm seeds flow test

* test: Modify create and restore flows to reflect modified onboarding flow

* chore: Remove package declaration in AndroidManifestBase file to fix issue of it being deprecated

* test: Bump up flutter version

* fix: Add meld keys

* chore: Remove package name declarations from AndroidManifests

* better write close function definition
comment integration tests workflow for now

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-12-13 21:45:41 +02:00
David Adegoke
699f591113
fix: Tentative fix for transaction history items overlap across wallet types (#1864) 2024-12-11 21:26:13 +02:00
cyan
c78662fbfe
CW 781 replace all print statements with printV (#1733)
* replace all print statements with printV

* restore backup error message

* missing print statements, error fixes

* Update cw_core/lib/utils/print_verbose.dart [skip ci]

* Update cw_core/lib/utils/print_verbose.dart [skip ci]

* CW-846: Correctly display balance (#1848)

* Correctly display balance even with frozen coins

* remove package= from AndroidMainfest.xml

* update namespace

* print -> printV

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-09 20:23:59 +02:00
Serhii
9cd69c4ba3
Cw 830 coin control getting cleared (#1825)
* init commit

* add select all button

* localisation all coins

* fix isSending and isFrozen state updates

* fix: clean up electrum UTXOs

* ui fixes

* address the review comments[skip ci]

* remove onPopInvoked[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 17:53:03 +02:00
Serhii
4ca50b5e63
Cw 649 rbf improvements opt in (#1772)
* initial commit

* revert changes

* allow adding inputs to RBF transactions

* address review comments[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 02:42:46 +02:00
Seth For Privacy
eff6616981
Migrate to new self-hosted mempool.space instance (#1820)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-26 16:56:00 +02:00
Omar Hatem
59e8550e4e
Generic fixes (#1823)
* add timeout for mempool fee api and make it only in bitcoin

* disable Monero Ledger for desktop

* handle onramper tag issue

* better handle main actions UI

* make service status scrollable with a better UI

* fix stupid race condition

* minor handling

* update btc fee api
update our xmr node to use ssl

* manually add supported unstoppable domains for now

* change bitcoin default node
code enhancement

* revert debugging code [skip ci]

* minor enhancements [skip ci]

* increase sync indicator size [skip ci]

* fix selecting USA country not triggering the reaction

* fix scrolling on cake features page [skip ci]
2024-11-25 18:26:41 +02:00
Matthew Fosse
f9ff0b4681 merge main 2024-11-20 13:54:59 -07:00
Omar Hatem
ff5fbd7946
v4.21.0 Release Candidate (#1795)
* new versions

* minor fix of cache key

* fix cache hit

* - potential improvement for sync status
- update with latest main

* disable thorchain by default [skip ci]

* update monero_c commit hash

* minor fixes
update versions

* remove monero ledger

* increase macos build number [skip ci]
2024-11-16 16:23:54 -06:00
fossephate
d07cf07903 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-11-12 15:17:18 -08:00
cyan
cea3084bb3
WIP: CW-665 Implement AirGapped Monero Transactions (#1535)
* replace qr scanner with fast_scanner

* bump java version

* fix qr code scanning

* add flashlight and camera switch

* airgap work

* commitTransactionUR

* bump fast_scanner, fix configure script

* add option to restore wallet from NERO qr format

* fixes to the flow and logic
use gsed or otherwise it fails?

* remove Expanded() to fix URQR on release builds

* cache key to allow app updates

* rename cache key

* [skip ci] cache key.jks in cache_dependencies

* update fast_scanner to work on ios, with light mlkit dependency

* ui fixes

* error handling fix

* update fast_scanner to drop iOS dependency

* changes from review

* Update lib/entities/qr_scanner.dart

* changes from review

* remove useless commit

* don't set state multiple times
remove return Container() for non monero wallets

* return on fail
don't handle empty qr codes

* set node as trusted
display primary address in seed screen

* fix wow and haven

* migrate node to trusted

* - update trusted node for existing users
- update locales
- fix conflicts
- move menu item

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-09 20:59:47 +02:00
Omar Hatem
389c334f10
Electrum enhancements (#1794)
* Enhance the code for sending/sending-ALL for Electrum

* remove prints [skip ci]
2024-11-08 12:50:21 +02:00
fossephate
882445386a Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-11-07 17:19:30 -08:00
Matthew Fosse
c8cfc2cff1
Mweb enhancements 4 (#1768)
* [skip-ci] show mweb confirmations, show last mweb balance while syncing

* potential send-all fix

* [skip-ci] undo fix that didn't work

* [skip-ci] undo unnecessary changes

* [skip ci] add export mweb logs screen

* [skip ci] cleanup

* confirmation fixes

* catch electrum call errors

* [skip ci] undo some changes

* potential electrum fixes + mweb logs display only last 10000 characters

* Add question mark and link to MWEB card

* updates

* show negative unconfirmed mweb balanaces + other fixes [skip ci]

* error handling

* [skip ci] [wip] check if node supports mweb

* check fee before building tx

* [skip ci] minor

* [skip ci] minor

* mweb node setting [wip] [skip ci]

* prioritize mweb coins when selecting inputs from the pool

* potential connection edgecase fix

* translations + mweb node fixes

* don't use mweb for exchange refund address

* add peg in / out labels and make 6 confs only show up for peg in / out

* bump bitcoin_base version to v9

* [skip ci] fix logs page

* don't fetch txinfo for non-mweb addresses [skip ci]

* fix non-mweb confirmations

* rename always scan to enable mweb

* Update litecoin_wallet_addresses.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* Update cw_mweb.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* [skip ci] review updates pt.1

* [skip ci] minor code cleanup

* [skip ci] use exception handler

* exception handling [skip ci]

* [skip ci] exception handling

* trigger build

* pegout label fixes

* fix showing change transactions on peg-out

* minor code cleanup and minor peg-out fix

* final balance fixes

* non-mweb confirmations potential fix

* [skip ci] wip

* trigger build

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-07 04:57:36 +02:00
Matthew Fosse
2914e4d6ea Merge branch 'mweb_enhancements_4' into mweb-bg-sync-2 2024-11-06 10:13:00 -08:00
Matthew Fosse
4c4f697daa [skip ci] wip 2024-11-05 09:22:42 -08:00
Matthew Fosse
97a345e7dc non-mweb confirmations potential fix 2024-11-05 08:43:07 -08:00
fossephate
86a30c510b final balance fixes 2024-11-04 15:56:19 -08:00
fossephate
579b9de496 minor code cleanup and minor peg-out fix 2024-11-04 14:51:27 -08:00
fossephate
d9df5be3af fix showing change transactions on peg-out 2024-11-04 14:39:43 -08:00
fossephate
65af9bb35f pegout label fixes 2024-11-04 11:22:04 -08:00
Matthew Fosse
fad4a6d426 trigger build 2024-11-04 10:40:41 -08:00
Matthew Fosse
50f69ff6e9 [skip ci] minor code cleanup 2024-11-01 09:15:56 -07:00
Matthew Fosse
bb6d89a4b8 [skip ci] review updates pt.1 2024-11-01 09:10:06 -07:00
Matthew Fosse
35d7909a0e
Update litecoin_wallet_addresses.dart
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-10-31 20:08:50 -07:00
fossephate
0cc9018e34 fix non-mweb confirmations 2024-10-31 11:05:43 -07:00
fossephate
f61f590988 don't fetch txinfo for non-mweb addresses [skip ci] 2024-10-31 10:19:28 -07:00
fossephate
85b3969e1f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb_enhancements_4 2024-10-31 10:01:11 -07:00
David Adegoke
752b6bbebf
fix: Generic fixes of bugs from Support (#1774)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-10-31 04:10:40 +03:00
Matthew Fosse
85fb1384d5 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-10-30 12:02:20 -07:00
fossephate
26a757f1f0 add peg in / out labels and make 6 confs only show up for peg in / out 2024-10-29 14:19:16 -07:00
fossephate
43e53c293c don't use mweb for exchange refund address 2024-10-29 12:25:19 -07:00
fossephate
352ec759c7 translations + mweb node fixes 2024-10-29 11:03:04 -07:00
fossephate
ea301668b7 potential connection edgecase fix 2024-10-29 00:52:17 -07:00
fossephate
31054bbe12 prioritize mweb coins when selecting inputs from the pool 2024-10-29 00:41:21 -07:00
fossephate
3132db7b39 mweb node setting [wip] [skip ci] 2024-10-28 13:10:33 -07:00
fossephate
6dd6f06d3f [skip ci] minor 2024-10-28 10:59:17 -07:00
fossephate
8dc1ed6363 Merge branch 'mweb_enhancements_4' of https://github.com/cake-tech/cake_wallet into mweb_enhancements_4 2024-10-28 10:55:29 -07:00
fossephate
8c7db8031f check fee before building tx 2024-10-28 10:55:26 -07:00
Matthew Fosse
04afc64b41 [skip ci] [wip] check if node supports mweb 2024-10-28 10:53:48 -07:00
Matthew Fosse
767b507a8d error handling 2024-10-28 10:42:23 -07:00
Matthew Fosse
f14dfc6aea Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb_enhancements_4 2024-10-28 08:40:28 -07:00
Serhii
5c206a8b7c
fix MobX Exception: computed values issue (#1763)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-10-28 03:37:38 +03:00
fossephate
6e45d99fed show negative unconfirmed mweb balanaces + other fixes [skip ci] 2024-10-25 09:55:04 -07:00
fossephate
8fc980f55d updates 2024-10-24 20:39:11 -07:00
Matthew Fosse
87cca2db54 potential electrum fixes + mweb logs display only last 10000 characters 2024-10-24 09:08:39 -07:00