Skip to content

Commit

Permalink
refactor: merge and rename crates
Browse files Browse the repository at this point in the history
  • Loading branch information
morph-dev committed Jul 16, 2024
1 parent 9b0fa10 commit 2f0954e
Show file tree
Hide file tree
Showing 58 changed files with 67 additions and 571 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-targets --all-features --no-deps -- -D warnings
args: --workspace --all-targets --all-features --no-deps -- -D warnings

build:
name: Build Release
Expand Down
95 changes: 40 additions & 55 deletions Cargo.lock

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

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[workspace]
members = [
"portal-bridge",
"portal-verkle-trie",
"verkle-core",
"portal-verkle",
"portal-verkle-bridge",
]
resolver = "2"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "portal-bridge"
name = "portal-verkle-bridge"
version = "0.1.0"
edition = "2021"
description = "The binary for seeding the Verkle Trie State into Portal Network."
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use portal_bridge::beacon_block_fetcher::BeaconBlockFetcher;
use portal_verkle_bridge::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_bridge::{
use portal_verkle_bridge::{
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_bridge::{
use portal_verkle_bridge::{
beacon_block_fetcher::BeaconBlockFetcher,
evm::VerkleEvm,
types::{genesis::GenesisConfig, state_write::StateWrites},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions portal-verkle-trie/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion portal-verkle-trie/src/lib.rs

This file was deleted.

49 changes: 0 additions & 49 deletions portal-verkle-trie/src/nodes/branch.rs

This file was deleted.

Loading

0 comments on commit 2f0954e

Please sign in to comment.