From 05bd46a6d286d91f972dc9f78aa68711785075ff Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:04:34 -0700 Subject: [PATCH] fix: clean up rebase --- Cargo.toml | 25 ++++++++++++++----------- bin/trin/src/cli.rs | 4 ++-- ethportal-peertest/Cargo.toml | 2 +- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 715f67c0a..7a899390a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,8 @@ members = [ "bin/poll-latest", "bin/purge-invalid-history-content", "bin/sample-range", - "bin/trin", "bin/test-providers", + "bin/trin", "ethportal-api", "ethportal-peertest", "e2store", @@ -49,12 +49,10 @@ clap = { version = "4.2.1", features = ["derive"] } delay_map = "0.4.0" directories = "3.0" discv5 = { version = "0.4.1", features = ["serde"] } -e2store = { path = "e2store" } env_logger = "0.9.0" eth_trie = "0.5.0" ethereum_ssz = "0.7.1" ethereum_ssz_derive = "0.7.1" -ethportal-api = { path = "ethportal-api" } futures = "0.3.23" futures-util = "0.3.23" hex = "0.4.3" @@ -63,10 +61,7 @@ itertools = "0.13.0" jsonrpsee = "0.24.4" keccak-hash = "0.10.0" lazy_static = "1.4.0" -light-client = { path = "light-client" } parking_lot = "0.11.2" -portal-bridge = { path = "portal-bridge" } -portalnet = { path = "portalnet" } prometheus_exporter = "0.8.4" quickcheck = "1.0.3" r2d2 = "0.8.9" @@ -76,7 +71,6 @@ reqwest = { version = "0.12.7", features = ["native-tls-vendored", "json"] } reth-ipc = { tag = "v1.0.8", git = "https://github.com/paradigmxyz/reth.git"} revm = { version = "14.0.3", default-features = false, features = ["std", "secp256k1", "serde-json", "c-kzg"] } revm-primitives = { version = "10.0.0", default-features = false, features = ["std", "serde"] } -rpc = { path = "rpc"} rstest = "0.18.2" rusqlite = { version = "0.31.0", features = ["bundled"] } scraper = "0.18.1" @@ -99,6 +93,19 @@ tracing-subscriber = "0.3.15" tracing-test = "0.1" tree_hash = "0.8.0" tree_hash_derive = "0.8.0" +uds_windows = "1.0.1" +ureq = { version = "2.5.0", features = ["json"] } +url = "2.3.1" +utp-rs = { tag = "v0.1.0-alpha.14", git = "https://github.com/ethereum/utp" } + +# Trin workspace crates +e2store = { path = "e2store" } +ethportal-api = { path = "ethportal-api" } +light-client = { path = "light-client" } +portal-bridge = { path = "portal-bridge" } +portalnet = { path = "portalnet" } +rpc = { path = "rpc"} +trin = { path = "bin/trin"} trin-beacon = { path = "trin-beacon" } trin-evm = { path = "trin-evm" } trin-execution = { path = "trin-execution" } @@ -108,7 +115,3 @@ trin-state = { path = "trin-state" } trin-storage = { path = "trin-storage" } trin-utils = { path = "trin-utils" } trin-validation = { path = "trin-validation" } -uds_windows = "1.0.1" -ureq = { version = "2.5.0", features = ["json"] } -url = "2.3.1" -utp-rs = { tag = "v0.1.0-alpha.14", git = "https://github.com/ethereum/utp" } diff --git a/bin/trin/src/cli.rs b/bin/trin/src/cli.rs index a9ea35df5..2473b3f44 100644 --- a/bin/trin/src/cli.rs +++ b/bin/trin/src/cli.rs @@ -13,7 +13,7 @@ use ethportal_api::{ network::Subnetwork, portal_wire::{NetworkSpec, MAINNET}, }, - version::VERSION, + version::FULL_VERSION, }; use portalnet::{ bootnodes::Bootnodes, @@ -39,7 +39,7 @@ const APP_NAME: &str = "trin"; #[command(name = APP_NAME, author = "https://github.com/ethereum/trin/graphs/contributors", about = "Run an eth portal client", - version = VERSION + version = FULL_VERSION )] pub struct TrinConfig { #[arg( diff --git a/ethportal-peertest/Cargo.toml b/ethportal-peertest/Cargo.toml index 379175b3c..1d70138b6 100644 --- a/ethportal-peertest/Cargo.toml +++ b/ethportal-peertest/Cargo.toml @@ -34,7 +34,7 @@ tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true tree_hash.workspace = true -trin = { path = "../bin/trin" } +trin.workspace = true trin-history.workspace = true trin-state.workspace = true trin-utils.workspace = true