Skip to content

Commit 49861e0

Browse files
authored
Don't fallback to a hardcoded URL (#2713)
The URL is currently incorrect, and changes often. It makes more sense to require the user to specify it when running the tests.
1 parent 14aada1 commit 49861e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linera-service/src/cli_wrappers/remote_net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl RemoteNetTestingConfig {
3232
faucet: Faucet::new(
3333
faucet_url
3434
.or_else(|| env::var("LINERA_FAUCET_URL").ok())
35-
.unwrap_or_else(|| "https://faucet.devnet.linera.net".to_owned()),
35+
.expect("Missing `LINERA_FAUCET_URL` environment variable"),
3636
),
3737
}
3838
}

0 commit comments

Comments
 (0)