diff --git a/Cargo.toml b/Cargo.toml index edff116..e98d70b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,13 +3,13 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.16.0-rc.6" +version = "0.16.0-rc.7" edition = "2024" rust-version = "1.88" authors = ["init4"] license = "MIT OR Apache-2.0" -homepage = "https://github.com/init4tech/signet-sdk" -repository = "https://github.com/init4tech/signet-sdk" +homepage = "https://github.com/init4tech/node-components" +repository = "https://github.com/init4tech/node-components" [profile.release] opt-level = 3 @@ -34,17 +34,17 @@ debug = false incremental = false [workspace.dependencies] -signet-blobber = { version = "0.16.0-rc.6", path = "crates/blobber" } -signet-block-processor = { version = "0.16.0-rc.6", path = "crates/block-processor" } -signet-db = { version = "0.16.0-rc.6", path = "crates/db" } -signet-genesis = { version = "0.16.0-rc.6", path = "crates/genesis" } -signet-node = { version = "0.16.0-rc.6", path = "crates/node" } -signet-node-config = { version = "0.16.0-rc.6", path = "crates/node-config" } -signet-node-tests = { version = "0.16.0-rc.6", path = "crates/node-tests" } -signet-node-types = { version = "0.16.0-rc.6", path = "crates/node-types" } -signet-rpc = { version = "0.16.0-rc.6", path = "crates/rpc" } - -init4-bin-base = { version = "0.18.0-rc.1", features = ["alloy"] } +signet-blobber = { version = "0.16.0-rc.7", path = "crates/blobber" } +signet-block-processor = { version = "0.16.0-rc.7", path = "crates/block-processor" } +signet-db = { version = "0.16.0-rc.7", path = "crates/db" } +signet-genesis = { version = "0.16.0-rc.7", path = "crates/genesis" } +signet-node = { version = "0.16.0-rc.7", path = "crates/node" } +signet-node-config = { version = "0.16.0-rc.7", path = "crates/node-config" } +signet-node-tests = { version = "0.16.0-rc.7", path = "crates/node-tests" } +signet-node-types = { version = "0.16.0-rc.7", path = "crates/node-types" } +signet-rpc = { version = "0.16.0-rc.7", path = "crates/rpc" } + +init4-bin-base = { version = "0.18.0-rc.8", features = ["alloy"] } signet-bundle = "0.16.0-rc.8" signet-constants = "0.16.0-rc.8" diff --git a/crates/genesis/src/lib.rs b/crates/genesis/src/lib.rs index b6ae86b..ac3973b 100644 --- a/crates/genesis/src/lib.rs +++ b/crates/genesis/src/lib.rs @@ -219,16 +219,12 @@ impl FromStr for GenesisSpec { } impl FromEnvVar for GenesisSpec { - type Error = ::Err; - - fn from_env_var(env_var: &str) -> Result> { + fn from_env_var(env_var: &str) -> Result { parse_env_if_present(env_var) } } impl FromEnv for GenesisSpec { - type Error = ::Err; - fn inventory() -> Vec<&'static init4_bin_base::utils::from_env::EnvItemInfo> { vec![ &EnvItemInfo { @@ -249,7 +245,7 @@ impl FromEnv for GenesisSpec { ] } - fn from_env() -> Result> { + fn from_env() -> Result { // First try to parse from CHAIN_NAME if let Ok(spec) = parse_env_if_present::("CHAIN_NAME").map(Into::into) { return Ok(spec);