Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
062ba69
prepared container types for signature aggregation (devnet 2)
JuliusMieliauskas Dec 18, 2025
4c53527
minor cleanups
JuliusMieliauskas Dec 19, 2025
f1f955a
added tests, fixed some types
JuliusMieliauskas Dec 23, 2025
ed67aaf
fixed environment selection by adding a minimal crate `env-config`. A…
JuliusMieliauskas Dec 29, 2025
d72a350
Merge pull request #32 from grandinetech/signature-aggregation
nsannn Jan 11, 2026
671715d
Refactor: remove redundant constants from config, implement ChainConf…
LiudasBaronas1 Jan 11, 2026
544b4cf
Merge branch 'devnet-2' of https://github.com/grandinetech/lean into …
LiudasBaronas1 Jan 11, 2026
9fbbf34
rename to PublicKey and use constant for key size
Dariusspr Jan 14, 2026
830a70c
hide key size
Dariusspr Jan 14, 2026
572d545
format code
Dariusspr Jan 14, 2026
4531d81
Merge remote-tracking branch 'origin/main' into devnet-2
Dariusspr Jan 14, 2026
e14a31d
initial implementation
titasstank Jan 18, 2026
ae512b9
Remove all-features flag. Cant build both dev-nets together
Dariusspr Jan 18, 2026
67497f6
feat: add discv5 dependencies
Dax0s Jan 18, 2026
24bbed9
feat: add discovery config
Dax0s Jan 18, 2026
3de4a45
feat: add discovery service
Dax0s Jan 18, 2026
117f1e7
feat: add discovery module export
Dax0s Jan 18, 2026
91fb543
feat: add ENR bootnode support
Dax0s Jan 18, 2026
c81b048
feat: integrate discovery into network service
Dax0s Jan 18, 2026
1987e78
feat: add discovery CLI arguments
Dax0s Jan 18, 2026
605f812
test: add discovery protocol tests
Dax0s Jan 18, 2026
6e3040d
fix: update outdated readme
Dax0s Jan 18, 2026
a357480
feat: update README.md to include instructions for testing discovery
Dax0s Jan 18, 2026
94ffee8
fix: update README.md to build the client
Dax0s Jan 18, 2026
ddbff9c
fix: format files
Dax0s Jan 18, 2026
0ad5ed4
Merge branch 'devnet-2' into titas-networking-more-complete-gossipsub…
titasstank Jan 20, 2026
3c7408f
fixing tests
titasstank Jan 20, 2026
5f1f756
fixing formatting to match Rust guidelines
titasstank Jan 20, 2026
b1eae9a
removing separate Bytes20 type
titasstank Jan 21, 2026
cdfb884
Refactor gossipsub module
titasstank Jan 21, 2026
152d338
fixing formatting
titasstank Jan 21, 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
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