Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
8e150f7
build local docker image
ArtiomTr Jan 22, 2026
e6646cd
Refactor: remove redundant constants from config, implement ChainConf…
LiudasBaronas1 Jan 11, 2026
c32bb80
prepared container types for signature aggregation (devnet 2)
JuliusMieliauskas Dec 18, 2025
0882afa
minor cleanups
JuliusMieliauskas Dec 19, 2025
7fd8173
added tests, fixed some types
JuliusMieliauskas Dec 23, 2025
52dfc5b
fixed environment selection by adding a minimal crate `env-config`. A…
JuliusMieliauskas Dec 29, 2025
89647c9
fixes
ArtiomTr Jan 22, 2026
7a227a0
Set default logging level to INFO
ArtiomTr Jan 23, 2026
4d7dc68
Makefile script for test vector generation
ArtiomTr Jan 23, 2026
4a73cfa
Updates for devnet-2
ArtiomTr Jan 23, 2026
66ccaa1
bring back test vectors for forkchoice
ArtiomTr Jan 23, 2026
88bd9b2
enable verify signatures/state transition tests
ArtiomTr Jan 23, 2026
8dfcce4
updated XMSS signature verification vector tests to use correct signa…
JuliusMieliauskas Jan 24, 2026
8f810df
updated test vector deserialization to correctly handle exceptions
JuliusMieliauskas Jan 24, 2026
985579c
fix formatting
JuliusMieliauskas Jan 24, 2026
0f65438
Removed dead code with devnet-2 feature flags, removed unused imports…
nsannn Jan 23, 2026
3cffa10
Added back comment for unit tests
nsannn Jan 23, 2026
b9bf511
Implemented changes to sync the client with leanSpec devnet-2
nsannn Jan 25, 2026
333be40
Fixed justified and finalized slots not updating
nsannn Jan 25, 2026
66e3b96
Update test vectors
ArtiomTr Jan 26, 2026
3164044
added tests, fixed some types
JuliusMieliauskas Dec 23, 2025
94c7836
fixed environment selection by adding a minimal crate `env-config`. A…
JuliusMieliauskas Dec 29, 2025
41eedb5
format code
Dariusspr Jan 14, 2026
fd9a916
Remove all-features flag. Cant build both dev-nets together
Dariusspr Jan 18, 2026
5f2d524
feat: add discv5 dependencies
Dax0s Jan 18, 2026
01ac289
feat: add discovery config
Dax0s Jan 18, 2026
dfdff3b
feat: add discovery service
Dax0s Jan 18, 2026
cbcb6b1
feat: add discovery module export
Dax0s Jan 18, 2026
6a1fa76
feat: add ENR bootnode support
Dax0s Jan 18, 2026
594b449
feat: integrate discovery into network service
Dax0s Jan 18, 2026
5bf3f08
feat: add discovery CLI arguments
Dax0s Jan 18, 2026
3d93fca
test: add discovery protocol tests
Dax0s Jan 18, 2026
a4f9dd8
fix: update outdated readme
Dax0s Jan 18, 2026
5f700cd
feat: update README.md to include instructions for testing discovery
Dax0s Jan 18, 2026
df0c3fe
fix: update README.md to build the client
Dax0s Jan 18, 2026
08953b6
fix: format files
Dax0s Jan 18, 2026
36c6e8b
fix: format files
Dax0s Jan 26, 2026
7bef194
fix: remove unnecessary code
Dax0s Jan 26, 2026
e098f9c
fix: update cargo lock
Dax0s Jan 26, 2026
a142984
fix: fix code
Dax0s Jan 26, 2026
49181ef
feat: update README.md
Dax0s Jan 26, 2026
89c1a85
Fixed fork-choice tests
nsannn Jan 26, 2026
71ba68b
Changes based on requested changes in PR #63
nsannn Jan 26, 2026
76fcc53
Cargo fmt
nsannn Jan 27, 2026
f092991
Enable back signature verification tests
ArtiomTr Jan 27, 2026
1fc5ac3
add tests for proposed block
ArtiomTr Jan 27, 2026
7f91dae
Fix XMSS signature aggregation
ArtiomTr Jan 29, 2026
7bf11a2
Set default devnet tag to `devnet-2`
ArtiomTr Feb 2, 2026
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
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ test:
docker:
$(MAKE) -C lean_client docker

.PHONY: docker-local
docker-local:
$(MAKE) -C lean_client docker-local

.PHONY: release
release:
$(MAKE) -C lean_client release
45 changes: 41 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,51 @@ leanEthereum Consensus Client written in Rust using Grandine's libraries.
Run in debug mode via terminal (with XMSS signing):
```
RUST_LOG=info ./target/release/lean_client \
--genesis ../lean-quickstart/local-devnet/genesis/config.yaml \
--validator-registry-path ../lean-quickstart/local-devnet/genesis/validators.yaml \
--hash-sig-key-dir ../lean-quickstart/local-devnet/genesis/hash-sig-keys \
--genesis ../../lean-quickstart/local-devnet/genesis/config.yaml \
--validator-registry-path ../../lean-quickstart/local-devnet/genesis/validators.yaml \
--hash-sig-key-dir ../../lean-quickstart/local-devnet/genesis/hash-sig-keys \
--node-id qlean_0 \
--node-key ../lean-quickstart/local-devnet/genesis/qlean_0.key \
--node-key ../../lean-quickstart/local-devnet/genesis/qlean_0.key \
--port 9003 \
--disable-discovery \
--bootnodes "/ip4/127.0.0.1/udp/9001/quic-v1/p2p/16Uiu2HAkvi2sxT75Bpq1c7yV2FjnSQJJ432d6jeshbmfdJss1i6f" \
--bootnodes "/ip4/127.0.0.1/udp/9002/quic-v1/p2p/16Uiu2HAmPQhkD6Zg5Co2ee8ShshkiY4tDePKFARPpCS2oKSLj1E1" \
--bootnodes "/ip4/127.0.0.1/udp/9004/quic-v1/p2p/16Uiu2HAm7TYVs6qvDKnrovd9m4vvRikc4HPXm1WyLumKSe5fHxBv"
```
4. Leave client running for a few minutes and observe warnings, errors, check if blocks are being justified and finalized (don't need debug mode for this last one)

## Testing discovery

1. Build the client:
```bash
cd lean_client/
cargo build --release
```

2. Start the bootnode

Run in the terminal:
```
RUST_LOG=info ./target/release/lean_client \
--port 9000 \
--discovery-port 9100
```

3. Start the other nodes

Run in the terminal:
```
RUST_LOG=info ./target/release/lean_client \
--port 9001 \
--discovery-port 9101 \
--bootnodes "<bootnode-enr>"
```

```
RUST_LOG=info ./target/release/lean_client \
--port 9002 \
--discovery-port 9102 \
--bootnodes "<bootnode-enr>"
```

After a minute all the nodes should be synced up and see each other
Loading
Loading