You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Save tx receipts and logs in the meta db (warning: may use a large amount of storage). With `--rpc` allows querying via eth_getLogs (max 10000 logs per request) and eth_getTransactionReceipt (within `--txLookupLimit`)',
251
251
boolean: true,
252
252
})
253
+
.option('disableBeaconSync',{
254
+
describe:
255
+
'Disables beacon (optimistic) sync if the CL provides blocks at the head of the chain',
256
+
boolean: true,
257
+
})
253
258
.option('txLookupLimit',{
254
259
describe:
255
260
'Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain)',
@@ -276,13 +281,10 @@ function initDBs(config: Config) {
Copy file name to clipboardExpand all lines: packages/client/kiln/README.md
+24-7Lines changed: 24 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,9 @@ Kiln v2 public testnet has been bootstrapped:
6
6
7
7
The config files can be downloaded from the [merge-testnets](https://github.com/eth-clients/merge-testnets/tree/main/kiln) config GitHub repository.
8
8
9
-
10
9
## Execution - EthereumJS Setup
11
10
12
-
Please ensure you have Node 12.x+ installed.
11
+
Please ensure you have Node 16.x installed.
13
12
14
13
### Client Installation
15
14
@@ -28,7 +27,7 @@ The `v0.4.0` client release (respectively follow-up bug fix releases) is ready f
28
27
npm install -g @ethereumjs/client
29
28
```
30
29
31
-
Note that you eventually want to adopt the `config` download and accordingly modify the config file access paths as well as start the client just with `ethereumjs`instad of using the `npm run client:start` GitHub start command (also leave the inbetween`--` to forward the client config options).
30
+
Note that you eventually want to adopt the `config` download and accordingly modify the config file access paths as well as start the client just with `ethereumjs`instead of using the `npm run client:start` GitHub start command (also leave the in-between`--` to forward the client config options).
32
31
33
32
#### Docker
34
33
@@ -67,7 +66,7 @@ To prevent the secret to be re-generated next time you restart the client, pass
67
66
1. Use lodestar branch `master` and run `yarn && yarn build`
68
67
2. Export path of the downloaded config dir `export CONFIG_PATH=/path/to/ethereumjs-monorepo/packages/client/kiln/config`
69
68
3. Export path of the written jwt secret file `export JWT_SECRET_PATH=/path/to/ethereumjs-monorepo/packages/client/kiln/datadir/jwtsecret`
@@ -77,8 +76,26 @@ Also, one will need to remove `--eth1.disableEth1DepositDataTracker true` and in
77
76
78
77
### Lighthouse
79
78
80
-
### Beacon
79
+
####Beacon
81
80
82
81
1. Use lighthouse branch `unstable` and run `make`
83
-
1. Make dir `lighthouse/kiln` and copy in from the downloaded config dir: `config.yaml`, `genesis.ssz`, `deploy_block.txt`, `deposit_contract.txt`, `deposit_contract_block.txt`
2. Make dir `lighthouse/kiln` and copy in from the downloaded config dir: `config.yaml`, `genesis.ssz`, `deploy_block.txt`, `deposit_contract.txt`, `deposit_contract_block.txt`
1. Build Nimbus following the [kiln instructions](https://nimbus.guide/kiln.html#3-nimbus)
98
+
2. Get your hands on a SSZ encoded finalized state/block snapshot from a synced client. Assuming you have a synced Teku (or other CL node running locally that exposes the Beacon REST API), you can use the below `curl` commands to get it.
`curl -H 'Accept: application/octet-stream' http://127.0.0.1:5051/eth/v2/beacon/blocks/[block number corresponding to finalized state above] > block.ssz`
101
+
3. Run cmd (with checkpoint sync and adjust ports/paths accordingly for your setup): `build/nimbus_beacon_node --network=vendor/merge-testnets/kiln --web3-url=ws://127.0.0.1:8551 --log-level=DEBUG --jwt-secret="/path/to/ethereumjs-monorepo/packages/client/kiln/datadir/jwtsecret" --data-dir=build/kiln --data-dir:trusted --finalized-checkpoint-state=state.ssz --finalized-checkpoint-block=block.ssz`
0 commit comments