Skip to content

Commit c6949e3

Browse files
authored
fix: remove embedded rpc auth from defaults (#346)
1 parent 80b5eeb commit c6949e3

8 files changed

Lines changed: 10 additions & 17 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Prerequisites:
2020
Deploy and start a zone on Moderato:
2121

2222
```bash
23-
export L1_RPC_URL="wss://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
23+
export L1_RPC_URL="wss://rpc.moderato.tempo.xyz"
2424
just deploy-zone my-zone
2525
```
2626

crates/tempo-zone/tests/l1_state_reader.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ use zone::l1_state::{L1StateProvider, L1StateProviderConfig, SharedL1StateCache}
1515
const ZONE_PORTAL: Address = address!("0x1bc99e6a8c4689f1884527152ba542f012316149");
1616

1717
fn l1_rpc_url() -> String {
18-
std::env::var("L1_RPC_URL")
19-
.unwrap_or_else(|_| "https://eng:[email protected]".into())
18+
std::env::var("L1_RPC_URL").unwrap_or_else(|_| "https://rpc.moderato.tempo.xyz".into())
2019
}
2120

2221
async fn make_provider() -> L1StateProvider {

docs/ZONES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Zones are L2 chains anchored to Tempo L1. Each zone has its own sequencer, genes
99
The fastest way to deploy and run a zone on moderato:
1010

1111
```bash
12-
export L1_RPC_URL="wss://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
12+
export L1_RPC_URL="wss://rpc.moderato.tempo.xyz"
1313
just deploy-zone my-zone
1414
```
1515

@@ -74,12 +74,12 @@ All zone commands need an L1 RPC URL.
7474

7575
**Moderato testnet:**
7676
```bash
77-
export L1_RPC_URL="wss://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
77+
export L1_RPC_URL="wss://rpc.moderato.tempo.xyz"
7878
```
7979

8080
**Devnet:**
8181
```bash
82-
export L1_RPC_URL="wss://eng:bold-raman-silly-torvalds@rpc.devnet.tempoxyz.dev"
82+
export L1_RPC_URL="wss://rpc.devnet.tempoxyz.dev"
8383
```
8484

8585
### 2. Generate a Sequencer Key

xtask/src/create_zone.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ pub(crate) struct CreateZone {
5757
output: PathBuf,
5858

5959
/// Tempo L1 HTTP RPC URL used to fetch headers and send the createZone transaction.
60-
#[arg(
61-
long,
62-
default_value = "https://eng:[email protected]"
63-
)]
60+
#[arg(long, default_value = "https://rpc.moderato.tempo.xyz")]
6461
l1_rpc_url: String,
6562

6663
/// ZoneFactory contract address on Tempo L1.

xtask/src/demo_blacklist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub(crate) struct DemoBlacklist {
8484
#[arg(
8585
long,
8686
env = "L1_RPC_URL",
87-
default_value = "https://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
87+
default_value = "https://rpc.moderato.tempo.xyz"
8888
)]
8989
l1_rpc_url: String,
9090

xtask/src/demo_swap_and_deposit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub(crate) struct DemoSwapAndDeposit {
5353
#[arg(
5454
long,
5555
env = "L1_RPC_URL",
56-
default_value = "https://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
56+
default_value = "https://rpc.moderato.tempo.xyz"
5757
)]
5858
l1_rpc_url: String,
5959

xtask/src/deploy_router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub(crate) struct DeployRouter {
2525
#[arg(
2626
long,
2727
env = "L1_RPC_URL",
28-
default_value = "https://eng:bold-raman-silly-torvalds@rpc.moderato.tempo.xyz"
28+
default_value = "https://rpc.moderato.tempo.xyz"
2929
)]
3030
l1_rpc_url: String,
3131

xtask/src/zone_info.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ pub(crate) struct ZoneInfoCmd {
1111
identifier: String,
1212

1313
/// Tempo L1 HTTP RPC URL.
14-
#[arg(
15-
long,
16-
default_value = "https://eng:[email protected]"
17-
)]
14+
#[arg(long, default_value = "https://rpc.moderato.tempo.xyz")]
1815
l1_rpc_url: String,
1916

2017
/// ZoneFactory contract address on Tempo L1.

0 commit comments

Comments
 (0)