Skip to content

Commit 96ac374

Browse files
committed
remove the default EGG repo for security issues
1 parent be6e08e commit 96ac374

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "chaindev"
3-
version = "0.52.10"
3+
version = "0.53.0"
44
edition = "2021"
55
authors = ["[email protected]"]
66
description = "Powerful development and testing utils for blockchain developers."

src/beacon_based/ddev/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,10 +1299,8 @@ where
12991299
let cfg = format!("{repo}/custom.env");
13001300
let block_itv_cache = format!("{tmpdir}/block_itv");
13011301

1302-
let repo_url = env::var("CHAIN_DEV_EGG_REPO");
1303-
let repo_url = repo_url
1304-
.as_deref()
1305-
.unwrap_or("https://github.com/rust-util-collections/EGG");
1302+
let repo_url = env::var("CHAIN_DEV_EGG_REPO")
1303+
.c(d!("The ${{CHAIN_DEV_EGG_REPO}} not set!"))?;
13061304
let gitcmd = format!("git clone {repo_url} {repo} || exit 1");
13071305
cmd::exec_output(&gitcmd).c(d!())?;
13081306

src/beacon_based/dev.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,10 +754,8 @@ where
754754
let cfg = format!("{repo}/custom.env");
755755
let block_itv_cache = format!("{tmpdir}/block_itv");
756756

757-
let repo_url = env::var("CHAIN_DEV_EGG_REPO");
758-
let repo_url = repo_url
759-
.as_deref()
760-
.unwrap_or("https://github.com/rust-util-collections/EGG");
757+
let repo_url = env::var("CHAIN_DEV_EGG_REPO")
758+
.c(d!("The ${{CHAIN_DEV_EGG_REPO}} not set!"))?;
761759
let gitcmd = format!("git clone {repo_url} {repo} || exit 1");
762760
cmd::exec_output(&gitcmd).c(d!())?;
763761

0 commit comments

Comments
 (0)