Skip to content

Commit facfcf8

Browse files
authored
chore: update to match change to init4-bin-base (#71)
1 parent d469ca4 commit facfcf8

2 files changed

Lines changed: 16 additions & 20 deletions

File tree

Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.16.0-rc.6"
6+
version = "0.16.0-rc.7"
77
edition = "2024"
88
rust-version = "1.88"
99
authors = ["init4"]
1010
license = "MIT OR Apache-2.0"
11-
homepage = "https://github.com/init4tech/signet-sdk"
12-
repository = "https://github.com/init4tech/signet-sdk"
11+
homepage = "https://github.com/init4tech/node-components"
12+
repository = "https://github.com/init4tech/node-components"
1313

1414
[profile.release]
1515
opt-level = 3
@@ -34,17 +34,17 @@ debug = false
3434
incremental = false
3535

3636
[workspace.dependencies]
37-
signet-blobber = { version = "0.16.0-rc.6", path = "crates/blobber" }
38-
signet-block-processor = { version = "0.16.0-rc.6", path = "crates/block-processor" }
39-
signet-db = { version = "0.16.0-rc.6", path = "crates/db" }
40-
signet-genesis = { version = "0.16.0-rc.6", path = "crates/genesis" }
41-
signet-node = { version = "0.16.0-rc.6", path = "crates/node" }
42-
signet-node-config = { version = "0.16.0-rc.6", path = "crates/node-config" }
43-
signet-node-tests = { version = "0.16.0-rc.6", path = "crates/node-tests" }
44-
signet-node-types = { version = "0.16.0-rc.6", path = "crates/node-types" }
45-
signet-rpc = { version = "0.16.0-rc.6", path = "crates/rpc" }
46-
47-
init4-bin-base = { version = "0.18.0-rc.1", features = ["alloy"] }
37+
signet-blobber = { version = "0.16.0-rc.7", path = "crates/blobber" }
38+
signet-block-processor = { version = "0.16.0-rc.7", path = "crates/block-processor" }
39+
signet-db = { version = "0.16.0-rc.7", path = "crates/db" }
40+
signet-genesis = { version = "0.16.0-rc.7", path = "crates/genesis" }
41+
signet-node = { version = "0.16.0-rc.7", path = "crates/node" }
42+
signet-node-config = { version = "0.16.0-rc.7", path = "crates/node-config" }
43+
signet-node-tests = { version = "0.16.0-rc.7", path = "crates/node-tests" }
44+
signet-node-types = { version = "0.16.0-rc.7", path = "crates/node-types" }
45+
signet-rpc = { version = "0.16.0-rc.7", path = "crates/rpc" }
46+
47+
init4-bin-base = { version = "0.18.0-rc.8", features = ["alloy"] }
4848

4949
signet-bundle = "0.16.0-rc.8"
5050
signet-constants = "0.16.0-rc.8"

crates/genesis/src/lib.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,16 +219,12 @@ impl FromStr for GenesisSpec {
219219
}
220220

221221
impl FromEnvVar for GenesisSpec {
222-
type Error = <GenesisSpec as FromStr>::Err;
223-
224-
fn from_env_var(env_var: &str) -> Result<Self, FromEnvErr<Self::Error>> {
222+
fn from_env_var(env_var: &str) -> Result<Self, FromEnvErr> {
225223
parse_env_if_present(env_var)
226224
}
227225
}
228226

229227
impl FromEnv for GenesisSpec {
230-
type Error = <GenesisSpec as FromStr>::Err;
231-
232228
fn inventory() -> Vec<&'static init4_bin_base::utils::from_env::EnvItemInfo> {
233229
vec![
234230
&EnvItemInfo {
@@ -249,7 +245,7 @@ impl FromEnv for GenesisSpec {
249245
]
250246
}
251247

252-
fn from_env() -> Result<Self, FromEnvErr<Self::Error>> {
248+
fn from_env() -> Result<Self, FromEnvErr> {
253249
// First try to parse from CHAIN_NAME
254250
if let Ok(spec) = parse_env_if_present::<KnownChains>("CHAIN_NAME").map(Into::into) {
255251
return Ok(spec);

0 commit comments

Comments
 (0)