Skip to content

Commit

Permalink
feat: add deneb support (#96)
Browse files Browse the repository at this point in the history
- Adds deneb to the input parameters and downstream package will support
deneb once the PR here in eth-network-package is merged
  • Loading branch information
parithosh authored Jun 27, 2023
1 parent 91029ac commit 07ed500
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"],
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit 07ed500

Please sign in to comment.