Skip to content

Commit

Permalink
feat: leave only binary crate
Browse files Browse the repository at this point in the history
  • Loading branch information
morph-dev committed Jul 17, 2024
1 parent e77bbdb commit 89fca56
Show file tree
Hide file tree
Showing 52 changed files with 22 additions and 1,343 deletions.
58 changes: 0 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[workspace]
members = [
"portal-verkle",
"portal-verkle-bridge",
]
resolver = "2"
24 changes: 0 additions & 24 deletions portal-verkle-bridge/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions portal-verkle-bridge/src/lib.rs

This file was deleted.

27 changes: 12 additions & 15 deletions portal-verkle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,23 @@
name = "portal-verkle"
version = "0.1.0"
edition = "2021"
description = "The core types and functionality of the Verkle Trie for the Portal Network."
description = "The binaries for Verkle Trie and Portal Network interaction."
license = "MIT"
keywords = ["ethereum", "portal-network", "verkle"]

[dependencies]
alloy-primitives = { version = "0.7", features = ["serde", "ssz", "rand"] }
ark-ec = "0.4"
ark-ed-on-bls12-381-bandersnatch = "0.4"
ark-ff = "0.4"
ark-serialize = "0.4"
banderwagon = { git = "https://github.com/crate-crypto/rust-verkle.git", rev = "442174edeb69f7827047132306d302345df12b83", version = "0.1" }
alloy-primitives = { version = "0.7", features = ["serde", "rlp"] }
anyhow = "1"
clap = { version = "4", features = ["derive"] }
derive_more = "0.99"
ethereum_ssz = "0.5"
ethereum_ssz_derive = "0.5"
once_cell = "1"
ethportal-api = { git = "https://github.com/morph-dev/trin.git", rev = "ed9a70bab59c372b6f12bcecf6717168cefd50aa" }
jsonrpsee = { version = "0.20", features = ["async-client", "client"] }
portal-verkle-trie = { git = "https://github.com/morph-dev/portal-verkle.git", rev = "a65e04cf6f2ae02b06884888054540d79816caa7" }
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1", features = ["derive"] }
sha2 = "0.10"
serde_json = "1"
serde_nested_with = "0.2"
ssz_types = "0.6"
thiserror = "1"

[dev-dependencies]
anyhow = "1"
rstest = "0.21"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
verkle-core = { git = "https://github.com/morph-dev/portal-verkle.git", rev = "a65e04cf6f2ae02b06884888054540d79816caa7" }
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use portal_verkle_bridge::beacon_block_fetcher::BeaconBlockFetcher;
use portal_verkle::beacon_block_fetcher::BeaconBlockFetcher;

const LOCALHOST_RPC_URL: &str = "http://localhost:9596/";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::bail;
use clap::Parser;
use portal_verkle_bridge::{
use portal_verkle::{
beacon_block_fetcher::BeaconBlockFetcher, state_trie_fetcher::StateTrieFetcher,
types::genesis::GenesisConfig,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use ethportal_api::{
VerkleNetworkApiClient,
};
use jsonrpsee::http_client::{HttpClient, HttpClientBuilder};
use portal_verkle_bridge::{
use portal_verkle::{
beacon_block_fetcher::BeaconBlockFetcher,
evm::VerkleEvm,
types::{genesis::GenesisConfig, state_write::StateWrites},
Expand Down
24 changes: 0 additions & 24 deletions portal-verkle/src/constants.rs

This file was deleted.

5 changes: 0 additions & 5 deletions portal-verkle/src/ec/mod.rs

This file was deleted.

125 changes: 0 additions & 125 deletions portal-verkle/src/ec/point.rs

This file was deleted.

Loading

0 comments on commit 89fca56

Please sign in to comment.