File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -244,9 +244,11 @@ pub(crate) fn verify_address_and_update_cache(
244
244
pub ( crate ) fn print_balance_empty ( node_url : & Url ) {
245
245
let beta_2_url = crate :: network:: BETA_2 . parse :: < Url > ( ) . unwrap ( ) ;
246
246
let beta_3_url = crate :: network:: BETA_3 . parse :: < Url > ( ) . unwrap ( ) ;
247
+ let beta_4_url = crate :: network:: BETA_4 . parse :: < Url > ( ) . unwrap ( ) ;
247
248
let faucet_url = match node_url. host_str ( ) {
248
249
host if host == beta_2_url. host_str ( ) => crate :: network:: BETA_2_FAUCET ,
249
250
host if host == beta_3_url. host_str ( ) => crate :: network:: BETA_3_FAUCET ,
251
+ host if host == beta_4_url. host_str ( ) => crate :: network:: BETA_4_FAUCET ,
250
252
_ => return println ! ( " Account empty." ) ,
251
253
} ;
252
254
println ! (
@@ -488,9 +490,12 @@ pub(crate) async fn transfer_cli(
488
490
. await ?;
489
491
490
492
let block_explorer_url = match transfer. node_url . host_str ( ) {
491
- host if host == crate :: network:: BETA_3 . parse :: < Url > ( ) . unwrap ( ) . host_str ( ) => {
493
+ host if host == crate :: network:: BETA_4 . parse :: < Url > ( ) . unwrap ( ) . host_str ( ) => {
492
494
crate :: explorer:: DEFAULT
493
495
}
496
+ host if host == crate :: network:: BETA_3 . parse :: < Url > ( ) . unwrap ( ) . host_str ( ) => {
497
+ crate :: explorer:: BETA_3
498
+ }
494
499
host if host == crate :: network:: BETA_2 . parse :: < Url > ( ) . unwrap ( ) . host_str ( ) => {
495
500
crate :: explorer:: BETA_2
496
501
}
Original file line number Diff line number Diff line change @@ -7,16 +7,19 @@ pub mod utils;
7
7
8
8
/// The default network used in the case that none is specified.
9
9
pub mod network {
10
- pub const DEFAULT : & str = BETA_3 ;
10
+ pub const DEFAULT : & str = BETA_4 ;
11
11
pub const BETA_2 : & str = "https://node-beta-2.fuel.network" ;
12
12
pub const BETA_2_FAUCET : & str = "https://faucet-beta-2.fuel.network" ;
13
13
pub const BETA_3 : & str = "https://beta-3.fuel.network/" ;
14
14
pub const BETA_3_FAUCET : & str = "https://faucet-beta-3.fuel.network/" ;
15
+ pub const BETA_4 : & str = "https://beta-4.fuel.network/" ;
16
+ pub const BETA_4_FAUCET : & str = "https://faucet-beta-4.fuel.network/" ;
15
17
}
16
18
17
19
/// Contains definitions of URLs to the block explorer for each network.
18
20
pub mod explorer {
19
- pub const DEFAULT : & str = BETA_3 ;
21
+ pub const DEFAULT : & str = BETA_4 ;
20
22
pub const BETA_2 : & str = "https://fuellabs.github.io/block-explorer-v2/beta-2" ;
21
23
pub const BETA_3 : & str = "https://fuellabs.github.io/block-explorer-v2/beta-3" ;
24
+ pub const BETA_4 : & str = "https://fuellabs.github.io/block-explorer-v2/beta-4" ;
22
25
}
You can’t perform that action at this time.
0 commit comments