Commit 07ed5008 authored by Parithosh Jayanthi's avatar Parithosh Jayanthi Committed by GitHub

feat: add deneb support (#96)

- Adds deneb to the input parameters and downstream package will support
deneb once the PR here in eth-network-package is merged
parent 91029acf
......@@ -179,9 +179,6 @@ To configure the package behaviour, you can modify your `eth2-package-params.yam
```
</details>
Note: Following an update starting the network post-merge, `erigon`, and `prysm` clients don't work anymore. Fixes are tracked in the following Github issues:
- Prysm: [#11508][prysm-issue]
- Erigon: [#154][erigon-issue]
You can find the latest Kiln compatible docker images here: https://notes.ethereum.org/@launchpad/kiln
......
......@@ -88,6 +88,9 @@ def parse_input(input_args):
if result["network_params"]["capella_fork_epoch"] == 0:
fail("capella_fork_epoch is 0 needs to be > 0 ")
if result["network_params"]["deneb_fork_epoch"] == 0:
fail("deneb_fork_epoch is 0 needs to be > 0 ")
required_num_validtors = 2 * result["network_params"]["slots_per_epoch"]
actual_num_validators = len(result["participants"]) * result["network_params"]["num_validator_keys_per_node"]
if required_num_validtors > actual_num_validators:
......@@ -118,6 +121,7 @@ def parse_input(input_args):
seconds_per_slot=result["network_params"]["seconds_per_slot"],
slots_per_epoch=result["network_params"]["slots_per_epoch"],
capella_fork_epoch=result["network_params"]["capella_fork_epoch"],
deneb_fork_epoch=result["network_params"]["deneb_fork_epoch"],
genesis_delay=result["network_params"]["genesis_delay"]
),
launch_additional_services=result["launch_additional_services"],
......@@ -158,7 +162,8 @@ def default_network_params():
"seconds_per_slot": 12,
"slots_per_epoch": 32,
"genesis_delay": 120,
"capella_fork_epoch": 5,
"capella_fork_epoch": 2,
"deneb_fork_epoch": 5
}
def default_participant():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment