Skip to content

Commit c5b2f65

Browse files
Add arms for each network on the network enum and set devnet as default
1 parent 2909fb3 commit c5b2f65

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

crates/cli/src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,12 @@ async fn main() -> Result<(), AlignedError> {
623623

624624
for batch_merkle_root in unique_batch_merkle_roots {
625625
let base_url = match submit_args.network.clone().into() {
626-
// Note: in case the explorer address changes for other networks, we should add an arm to this
627-
// match with that network since the default URL used here is the mainnet one
628626
Network::Holesky => "https://holesky.explorer.alignedlayer.com/batches/0x",
629-
_ => "https://explorer.alignedlayer.com/batches/0x",
627+
Network::HoleskyStage => "https://holesky.explorer.alignedlayer.com/batches/0x",
628+
Network::Mainnet => "https://explorer.alignedlayer.com/batches/0x",
629+
Network::MainnetStage => "https://explorer.alignedlayer.com/batches/0x",
630+
Network::Devnet => "http://localhost:4000/batches/0x",
631+
_ => "http://localhost:4000/batches/0x",
630632
};
631633

632634
info!(

0 commit comments

Comments
 (0)