Update base default node (#3208)
Co-authored-by: David Adegoke <blazebrain@Sifon-Macbook-Pro.local>
David Adegoke committed
May 6, 2026 at 20:49 UTC
c0d1152c459462f2bca116eed9bacd6edb03f16f
3 files changed
+12
-3
assets/base_node_list.yml
+1
-1
@@ -1,6 +1,5 @@
1
-
2
uri: base.nownodes.io
3
- is_default: true
3
useSSL: true
4
isEnabledForAutoSwitching: true
5
-
@@ -8,6 +7,7 @@
7
useSSL: true
8
-
9
uri: base-rpc.publicnode.com
10
+ is_default: true
11
useSSL: true
12
isEnabledForAutoSwitching: true
13
-
lib/entities/default_settings_migration.dart
+10
-1
@@ -53,7 +53,7 @@ const zanoDefaultNodeUri = '37.27.100.59:10500';
53
const moneroWorldNodeUri = '.moneroworld.com';
54
const decredDefaultUri = "default-spv-nodes";
55
const dogecoinDefaultNodeUri = 'dogecoin.stackwallet.com:50022';
56
-const baseDefaultNodeUri = 'base.nownodes.io';
56
+const baseDefaultNodeUri = 'base-rpc.publicnode.com';
57
const arbitrumDefaultNodeUri = 'arbitrum.nownodes.io';
58
const bscDefaultNodeUri = 'bsc-dataseed.bnbchain.org';
59
const zcashDefaultNodeUri = 'zec-node.cakewallet.com:443';
@@ -624,6 +624,15 @@ Future<void> defaultSettingsMigration(
624
enabled: true,
625
);
626
break;
627
+ case 65:
628
+ await _changeDefaultNode(
629
+ nodes: nodes,
630
+ sharedPreferences: sharedPreferences,
631
+ type: WalletType.base,
632
+ currentNodePreferenceKey: PreferencesKey.currentBaseNodeIdKey,
633
+ oldUri: ['base.nownodes.io'],
634
+ );
635
+ break;
636
default:
637
break;
638
}
lib/main.dart
+1
-1
@@ -329,7 +329,7 @@ Future<void> initializeAppConfigs({bool loadWallet = true}) async {
329
payjoinSessionSource: payjoinSessionSource,
330
anonpayInvoiceInfo: anonpayInvoiceInfo,
331
havenSeedStore: havenSeedStore,
332
- initialMigrationVersion: 64,
332
+ initialMigrationVersion: 65,
333
);
334
}
335