Commit graph

171 commits

Author SHA1 Message Date
Rafael Saes
321bc1e18e Merge remote-tracking branch 'origin/electrum-sp-refactors' into electrum-sp-refactors 2024-12-20 20:19:13 -03:00
Rafael Saes
1646a67117 fix: scan 2024-12-20 20:18:32 -03:00
Omar Hatem
dded5a78f6
Merge branch 'main' into electrum-sp-refactors 2024-12-20 17:05:57 +02:00
Rafael Saes
51590a668d feat: tx broadcast, error handling, remove electrum.dart 2024-12-19 13:19:14 -03: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
Rafael Saes
6cbb4c60d6 Merge remote-tracking branch 'origin/main' into electrum-sp-refactors 2024-12-16 10:48:27 -03: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
Rafael Saes
f702a19965 chore: printVs 2024-12-09 17:20:38 -03:00
Rafael Saes
b927af97ba Merge remote-tracking branch 'origin/main' into electrum-sp-refactors 2024-12-09 17:14:46 -03: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
Rafael Saes
8264d387be fix: null check 2024-12-09 13:18:21 -03:00
Rafael Saes
cde88c0d59 Merge remote-tracking branch 'origin/main' into electrum-sp-refactors 2024-11-29 13:55:17 -03:00
Rafael Saes
a2bbd6a471 fix: change addr 2024-11-28 13:11:44 -03: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
Rafael Saes
95bb566d09 a 2024-11-27 19:01:10 -03: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
Rafael Saes
d30c85251e chore: build 2024-11-24 20:26:31 -03:00
Rafael Saes
e16a2180c4 feat: fix rescan & stop, new card 2024-11-24 19:05:09 -03:00
Rafael Saes
b7ff9ab32b fix: api & create 2024-11-23 11:35:50 -03:00
Rafael Saes
c35dec0d09 feat: restore & scan imp 2024-11-22 21:29:29 -03:00
Rafael Saes
9bb3d9f35b fix: btc restore 2024-11-17 15:32:54 -03:00
Rafael Saes
b9f76bd241 fix: btc create 2024-11-17 15:23:13 -03:00
Rafael Saes
aa6f932d8a chore: build errors 2024-11-17 12:33:35 -03:00
Rafael Saes
378e1606d8 Merge remote-tracking branch 'origin/main' into electrum-sp-refactors 2024-11-17 12:23:14 -03: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
Rafael Saes
3950f6cd17 refactor: misc 2024-11-16 14:53:00 -03:00
Rafael Saes
d4b0165141 Merge remote-tracking branch 'origin/main' into electrum-sp-refactors 2024-11-12 09:09:38 -03: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
Rafael Saes
6e8b3d768e misc 2024-11-07 13:29:17 -03:00
Rafael Saes
a169db7e51 Merge remote-tracking branch 'origin/electrum-sp-refactors' into electrum-sp-refactors 2024-11-07 13:01:57 -03:00
Rafael Saes
57f486025e fix: tx dates 2024-11-07 13:01:32 -03: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
Omar Hatem
28804b8ff2
Improve sending tx for electrum (#1790)
* Enhance the code for sending/sending-ALL for Electrum

* remove print statements [skip ci]

* update bitcoin base and minor reformatting
2024-11-06 18:23:05 +02:00
Rafael Saes
884a822cea fix: fee and addresses 2024-11-06 12:06:52 -03:00
Rafael Saes
c9a50233c1 feat: unspents and tweaks subscribe method 2024-11-05 12:49:07 -03:00
Rafael Saes
a3e131d369 feat: all address derivations 2024-11-04 19:37:16 -03:00
Rafael Saes
4a4250a905 feat: tx history worker 2024-11-04 19:37:14 -03:00
Rafael Saes
02fabf8594 feat: electrum worker types 2024-11-04 19:36:52 -03:00
Rafael Saes
f3a0ff7001 feat: init electrum worker 2024-11-04 19:36:50 -03:00
Rafael Saes
433686bce3 feat: derivationinfo to address records 2024-11-04 19:36:25 -03:00
Rafael Saes
64caf8479e fix: restore flow slow, checking unspents 2024-11-04 19:35:30 -03:00
Rafael Saes
7339b7876f refactor: init 2024-11-04 19:35:29 -03:00
Rafael Saes
e47846bc7d feat: begin delegated scan, big refactors 2024-11-04 19:34:55 -03: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