Skip to content

Commit

Permalink
v4.21.0 Release Candidate (#1795)
Browse files Browse the repository at this point in the history
* 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]
  • Loading branch information
OmarHatem28 authored Nov 16, 2024
1 parent 9be990a commit ff5fbd7
Show file tree
Hide file tree
Showing 24 changed files with 92 additions and 160 deletions.
4 changes: 2 additions & 2 deletions assets/text/Monerocom_Release_Notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Monero enhancements
Introducing StealthEx and LetxExchange
Add airgapped Monero wallet support (best used with our new offline app Cupcake)
New Buy & Sell flow
Bug fixes
10 changes: 4 additions & 6 deletions assets/text/Release_Notes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Added Litecoin MWEB
Added wallet groups
Silent Payment enhancements for speed & reliability
Monero enhancements
Introducing StealthEx and LetxExchange
Additional ERC20 tokens scam detection
Add Litecoin Ledger support
Add airgapped Monero wallet support (best used with our new offline app Cupcake)
MWEB fixes and enhancements
New Buy & Sell flow
Bug fixes
9 changes: 6 additions & 3 deletions cw_bitcoin/lib/electrum_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ abstract class ElectrumWalletBase
Future<void> connectToNode({required Node node}) async {
this.node = node;

if (syncStatus is ConnectingSyncStatus) return;

try {
syncStatus = ConnectingSyncStatus();

Expand Down Expand Up @@ -2216,13 +2218,14 @@ abstract class ElectrumWalletBase
if (syncStatus is NotConnectedSyncStatus ||
syncStatus is LostConnectionSyncStatus ||
syncStatus is ConnectingSyncStatus) {
syncStatus = AttemptingSyncStatus();
startSync();
syncStatus = ConnectedSyncStatus();
}

break;
case ConnectionStatus.disconnected:
if (syncStatus is! NotConnectedSyncStatus) {
if (syncStatus is! NotConnectedSyncStatus &&
syncStatus is! ConnectingSyncStatus &&
syncStatus is! SyncronizingSyncStatus) {
syncStatus = NotConnectedSyncStatus();
}
break;
Expand Down
4 changes: 2 additions & 2 deletions cw_bitcoin/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ packages:
dependency: "direct overridden"
description:
path: "."
ref: cake-update-v8
resolved-ref: fc045a11db3d85d806ca67f75e8b916c706745a2
ref: cake-update-v9
resolved-ref: "86969a14e337383e14965f5fb45a72a63e5009bc"
url: "https://github.com/cake-tech/bitcoin_base"
source: git
version: "4.7.0"
Expand Down
2 changes: 1 addition & 1 deletion cw_core/lib/hardware/device_connection_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enum DeviceConnectionType {
static List<DeviceConnectionType> supportedConnectionTypes(WalletType walletType,
[bool isIOS = false]) {
switch (walletType) {
case WalletType.monero:
// case WalletType.monero:
case WalletType.bitcoin:
case WalletType.litecoin:
case WalletType.ethereum:
Expand Down
4 changes: 2 additions & 2 deletions cw_monero/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ packages:
dependency: "direct main"
description:
path: "impls/monero.dart"
ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
resolved-ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
resolved-ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
url: "https://github.com/mrcyjanek/monero_c"
source: git
version: "0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion cw_monero/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
monero:
git:
url: https://github.com/mrcyjanek/monero_c
ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
# ref: 6eb571ea498ed7b854934785f00fabfd0dadf75b # monero_c hash
path: impls/monero.dart
mutex: ^3.1.0
Expand Down
88 changes: 4 additions & 84 deletions cw_wownero/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.11.0"
bluez:
dependency: transitive
description:
name: bluez
sha256: "203a1924e818a9dd74af2b2c7a8f375ab8e5edf0e486bba8f90a0d8a17ed9fce"
url: "https://pub.dev"
source: hosted
version: "0.8.2"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -217,14 +209,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.2.4"
dbus:
dependency: transitive
description:
name: dbus
sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac"
url: "https://pub.dev"
source: hosted
version: "0.7.10"
encrypt:
dependency: "direct main"
description:
Expand Down Expand Up @@ -283,14 +267,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_bluetooth:
dependency: transitive
description:
name: flutter_web_bluetooth
sha256: "52ce64f65d7321c4bf6abfe9dac02fb888731339a5e0ad6de59fb916c20c9f02"
url: "https://pub.dev"
source: hosted
version: "0.2.3"
frontend_server_client:
dependency: transitive
description:
Expand Down Expand Up @@ -427,22 +403,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.1"
ledger_flutter_plus:
dependency: transitive
description:
name: ledger_flutter_plus
sha256: ea3ed586e1697776dacf42ac979095f1ca3bd143bf007cbe5c78e09cb6943f42
url: "https://pub.dev"
source: hosted
version: "1.2.5"
ledger_usb_plus:
dependency: transitive
description:
name: ledger_usb_plus
sha256: "21cc5d976cf7edb3518bd2a0c4164139cbb0817d2e4f2054707fc4edfdf9ce87"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
logging:
dependency: transitive
description:
Expand Down Expand Up @@ -503,8 +463,8 @@ packages:
dependency: "direct main"
description:
path: "impls/monero.dart"
ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
resolved-ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
resolved-ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
url: "https://github.com/mrcyjanek/monero_c"
source: git
version: "0.0.0"
Expand Down Expand Up @@ -580,14 +540,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.2.1"
petitparser:
dependency: transitive
description:
name: petitparser
sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
url: "https://pub.dev"
source: hosted
version: "6.0.2"
platform:
dependency: transitive
description:
Expand Down Expand Up @@ -644,14 +596,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.2.1"
rxdart:
dependency: transitive
description:
name: rxdart
sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962"
url: "https://pub.dev"
source: hosted
version: "0.28.0"
shelf:
dependency: transitive
description:
Expand Down Expand Up @@ -777,22 +721,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.1"
universal_ble:
dependency: transitive
description:
name: universal_ble
sha256: "0dfbd6b64bff3ad61ed7a895c232530d9614e9b01ab261a74433a43267edb7f3"
url: "https://pub.dev"
source: hosted
version: "0.12.0"
universal_platform:
dependency: transitive
description:
name: universal_platform
sha256: "64e16458a0ea9b99260ceb5467a214c1f298d647c659af1bff6d3bf82536b1ec"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
unorm_dart:
dependency: transitive
description:
Expand Down Expand Up @@ -849,14 +777,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.4"
xml:
dependency: transitive
description:
name: xml
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
url: "https://pub.dev"
source: hosted
version: "6.5.0"
yaml:
dependency: transitive
description:
Expand All @@ -866,5 +786,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"
dart: ">=3.2.0-0 <4.0.0"
flutter: ">=3.7.0"
2 changes: 1 addition & 1 deletion cw_wownero/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
monero:
git:
url: https://github.com/mrcyjanek/monero_c
ref: caaf1e56b1d2a254b332fdf848926fb963af4a3b
ref: d72c15f4339791a7bbdf17e9d827b7b56ca144e4
# ref: 6eb571ea498ed7b854934785f00fabfd0dadf75b # monero_c hash
path: impls/monero.dart
mutex: ^3.1.0
Expand Down
Loading

0 comments on commit ff5fbd7

Please sign in to comment.