Skip to content

Commit 4a89605

Browse files
Omar CareyOmar Carey
Omar Carey
authored and
Omar Carey
committed
fix: remove unused code and alphebatize light client cargo toml
1 parent 959297b commit 4a89605

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/light-client/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ alloy.workspace = true
1616
anyhow.workspace = true
1717
async-trait.workspace = true
1818
chrono.workspace = true
19-
ethportal-api.workspace = true
2019
ethereum_ssz.workspace = true
20+
ethportal-api.workspace = true
2121
figment = { version = "0.10.7", features = ["toml", "env"] }
2222
futures.workspace = true
2323
hex.workspace = true

crates/light-client/src/utils.rs

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
// pub fn bytes_to_bytes32(bytes: &[u8]) -> Bytes32 {
2-
// FixedVector::from(bytes.to_vec())
3-
// }
4-
5-
// pub fn bytes32_to_node(bytes: &Bytes32) -> Result<B256> {
6-
// Ok(B256::from_slice(bytes.iter().as_slice()))
7-
// }
8-
91
pub fn u64_to_hex_string(val: u64) -> String {
102
format!("0x{val:x}")
113
}

0 commit comments

Comments
 (0)