File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ use tree_hash_derive::TreeHash;
88
99use super :: ExecutionProofId ;
1010
11- /// TODO(ethproofs): Set to 2MB for the demo.
11+ /// TODO(ethproofs): Set to 3MB for the demo.
1212///
1313/// Maximum size of proof data in bytes
1414///
1515/// Note: Most proofs will fit within 300KB. Some zkVMs have 1MB proofs (currently)
1616/// and so this number was set to accommodate for the most zkVMs.
17- pub const MAX_PROOF_DATA_BYTES : usize = 2_097_152 ;
17+ pub const MAX_PROOF_DATA_BYTES : usize = 3_145_728 ;
1818
1919/// TODO(ethproofs): Set to 1 for the demo.
2020///
Original file line number Diff line number Diff line change 1+ # Running the zkAttester client
2+
3+ ### WARNING: THIS CODE IS EXPERIMENTAL - FOR DEMO ONLY
4+
5+ ** Steps to run the modified Lighthouse client:**
6+
7+ 1 . Clone the repo: ` https://github.com/ethproofs/lighthouse `
8+ 2 . ` git checkout ethproofs/zkattester-demo `
9+ 3 . Run ` make ` to build the new binary
10+ 4 . Install the new binary: ` sudo cp ~/.cargo/bin/lighthouse /usr/local/bin/ `
11+ 5 . Install Docker if needed
12+ 6 . For the dummy EL run: ` docker build -f dummy_el/Dockerfile -t dummy_el:latest . `
13+ 7 . Run (e.g. Linux Debian):
14+
15+ ``` bash
16+ docker run -d \
17+ -p 8551:8551 \
18+ --name dummy-el \
19+ dummy_el:latest \
20+ /usr/local/bin/dummy_el \
21+ --port 8551 \
22+ --jwt-secret /path/to/jwt.hex
23+ ```
24+
25+ 8 . Stop your EL and CL if needed
26+ 9 . Start your LH client with the ` --activate-zkvm ` flag:
27+
28+ ``` bash
29+ lighthouse bn \
30+ --mainnet \
31+ --execution-endpoint http://localhost:8551 \
32+ --execution-jwt /path/to/jwt.hex \
33+ --activate-zkvm \
34+ --debug-level debug \
35+ # ...other flags
36+ ```
37+
38+ 10 . For debug logs: ` sudo journalctl -u lighthouse-beacon -f | grep -i "Ethproofs" `
You can’t perform that action at this time.
0 commit comments