Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ target
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/


# Added by cargo

/target
35 changes: 35 additions & 0 deletions Cargo.lock

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

16 changes: 16 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[workspace]
resolver = "3"
default-members = ["bin/ethlambda"]
members = ["bin/ethlambda", "crates/blockchain/fork_choice", "crates/blockchain/state_transition", "crates/common/crypto", "crates/common/types", "crates/net/p2p", "crates/net/rpc", "crates/storage"]

[workspace.package]
authors = ["LambdaClass"]
edition = "2024"
keywords = ["ethereum", "blockchain", "consensus", "protocol"]
license = "LICENSE"
readme = "README.md"
repository = "https://github.com/lambdaclass/ethlambda"
rust-version = "1.92.0"
version = "0.1.0"

[workspace.dependencies]
7 changes: 7 additions & 0 deletions bin/ethlambda/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "ethlambda"
version.workspace = true
edition.workspace = true
authors.workspace = true

[dependencies]
11 changes: 11 additions & 0 deletions bin/ethlambda/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const ASCII_ART: &str = r#"
_ _ _ _ _
___| |_| |__ | | __ _ _ __ ___ | |__ __| | __ _
/ _ \ __| '_ \| |/ _` | '_ ` _ \| '_ \ / _` |/ _` |
| __/ |_| | | | | (_| | | | | | | |_) | (_| | (_| |
\___|\__|_| |_|_|\__,_|_| |_| |_|_.__/ \__,_|\__,_|
"#;

fn main() {
println!("{ASCII_ART}");
}
12 changes: 12 additions & 0 deletions crates/blockchain/fork_choice/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_fork_choice"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file.
12 changes: 12 additions & 0 deletions crates/blockchain/state_transition/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_state_transition"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file.
12 changes: 12 additions & 0 deletions crates/common/crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_crypto"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file added crates/common/crypto/src/lib.rs
Empty file.
12 changes: 12 additions & 0 deletions crates/common/types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_types"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file added crates/common/types/src/lib.rs
Empty file.
12 changes: 12 additions & 0 deletions crates/net/p2p/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_p2p"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file added crates/net/p2p/src/lib.rs
Empty file.
12 changes: 12 additions & 0 deletions crates/net/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_rpc"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file added crates/net/rpc/src/lib.rs
Empty file.
12 changes: 12 additions & 0 deletions crates/storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ethlambda_storage"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
Empty file added crates/storage/src/lib.rs
Empty file.