Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
beb764fb
Unverified
Commit
beb764fb
authored
Feb 27, 2024
by
Barnabas Busa
Committed by
GitHub
Feb 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: enable dencun-genesis (#500)
Co-authored-by:
eth2353
<
70237279+eth2353@users.noreply.github.com
>
parent
1d5a7792
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
10 deletions
+42
-10
config.yml
.circleci/config.yml
+2
-2
dencun-genesis.yaml
.github/tests/dencun-genesis.yaml
+28
-0
holesky-shadowfork.yaml_norun
.github/tests/holesky-shadowfork.yaml_norun
+3
-3
nightly.yml
.github/workflows/nightly.yml
+1
-1
README.md
README.md
+1
-1
constants.star
src/package_io/constants.star
+1
-0
input_parser.star
src/package_io/input_parser.star
+0
-3
participant_network.star
src/participant_network.star
+6
-0
No files found.
.circleci/config.yml
View file @
beb764fb
...
@@ -100,14 +100,14 @@ jobs:
...
@@ -100,14 +100,14 @@ jobs:
executor
:
ubuntu_vm
executor
:
ubuntu_vm
steps
:
steps
:
-
checkout
-
checkout
-
run
:
kurtosis run ${PWD}
"$(cat ./.github/tests/mev.yaml)"
-
run
:
kurtosis run ${PWD}
--verbosity detailed --args-file=./.github/tests/mev.yaml
mix_with_tools_k8s
:
mix_with_tools_k8s
:
resource_class
:
xlarge
resource_class
:
xlarge
executor
:
ubuntu_vm
executor
:
ubuntu_vm
steps
:
steps
:
-
checkout
-
checkout
-
run
:
kurtosis run ${PWD}
"$(cat ./.github/tests/mix-with-tools-mev.yaml)"
-
run
:
kurtosis run ${PWD}
--verbosity detailed --args-file=./.github/tests/mev.yaml
mix_persistence_k8s
:
mix_persistence_k8s
:
resource_class
:
xlarge
resource_class
:
xlarge
...
...
.github/tests/dencun-genesis.yaml
0 → 100644
View file @
beb764fb
participants
:
-
el_client_type
:
geth
el_client_image
:
ethpandaops/geth:master
cl_client_type
:
teku
cl_client_image
:
ethpandaops/teku:master
-
el_client_type
:
nethermind
el_client_image
:
ethpandaops/nethermind:master
cl_client_type
:
prysm
cl_client_image
:
gcr.io/prysmaticlabs/prysm/beacon-chain:latest
-
el_client_type
:
erigon
el_client_image
:
ethpandaops/erigon:devel
cl_client_type
:
nimbus
cl_client_image
:
ethpandaops/nimbus:unstable
-
el_client_type
:
besu
el_client_image
:
ethpandaops/besu:main
cl_client_type
:
lighthouse
cl_client_image
:
ethpandaops/lighthouse:unstable
-
el_client_type
:
reth
el_client_image
:
ethpandaops/reth:main
cl_client_type
:
lodestar
cl_client_image
:
ethpandaops/lodestar:unstable
-
el_client_type
:
ethereumjs
el_client_image
:
ethpandaops/ethereumjs:master
cl_client_type
:
teku
cl_client_image
:
ethpandaops/teku:master
network_params
:
deneb_fork_epoch
:
0
additional_services
:
[]
.github/tests/holesky-shadowfork.yaml_norun
View file @
beb764fb
participants:
participants:
- el_client_type: geth
- el_client_type: geth
el_client_image: ethereum/client-go:v1.13.1
1
el_client_image: ethereum/client-go:v1.13.1
4
cl_client_type: teku
cl_client_type: teku
cl_client_image: consensys/teku:24.
1.1
cl_client_image: consensys/teku:24.
2.0
network_params:
network_params:
dencun_fork_epoch:
1
dencun_fork_epoch:
0
network: holesky-shadowfork
network: holesky-shadowfork
additional_services:
additional_services:
- dora
- dora
...
...
.github/workflows/nightly.yml
View file @
beb764fb
...
@@ -36,7 +36,7 @@ jobs:
...
@@ -36,7 +36,7 @@ jobs:
-
name
:
Run Starlark
-
name
:
Run Starlark
run
:
|
run
:
|
if [ "${{ matrix.file_name }}" != "./.github/tests/mix-with-tools-mev.yaml" ]; then
if [ "${{ matrix.file_name }}" != "./.github/tests/mix-with-tools-mev.yaml" ]; then
kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }}
kurtosis run ${{ github.workspace }} --
verbosity detailed --
args-file ${{ matrix.file_name }}
else
else
echo "Skipping ./.github/tests/mix-with-tools-mev.yaml"
echo "Skipping ./.github/tests/mix-with-tools-mev.yaml"
fi
fi
...
...
README.md
View file @
beb764fb
...
@@ -222,7 +222,7 @@ participants:
...
@@ -222,7 +222,7 @@ participants:
# Whether to use a separate validator client attached to the CL client.
# Whether to use a separate validator client attached to the CL client.
# Defaults to false for clients that can run both in one process (Teku, Nimbus)
# Defaults to false for clients that can run both in one process (Teku, Nimbus)
use_separate_validator_client
:
true
/
false
use_separate_validator_client
:
false
# The type of validator client that should be used
# The type of validator client that should be used
# Valid values are nimbus, lighthouse, lodestar, teku, and prysm
# Valid values are nimbus, lighthouse, lodestar, teku, and prysm
...
...
src/package_io/constants.star
View file @
beb764fb
...
@@ -65,6 +65,7 @@ ELECTRA_FORK_VERSION = "0x60000038"
...
@@ -65,6 +65,7 @@ ELECTRA_FORK_VERSION = "0x60000038"
ETHEREUM_GENESIS_GENERATOR = struct(
ETHEREUM_GENESIS_GENERATOR = struct(
bellatrix_genesis="ethpandaops/ethereum-genesis-generator:1.3.15", # EOL
bellatrix_genesis="ethpandaops/ethereum-genesis-generator:1.3.15", # EOL
capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Default
capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Default
deneb_genesis="ethpandaops/ethereum-genesis-generator:default-deneb-genesis", # Soon to become default
verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis
verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis
verkle_genesis="ethpandaops/ethereum-genesis-generator:4.0.0-rc.6",
verkle_genesis="ethpandaops/ethereum-genesis-generator:4.0.0-rc.6",
)
)
...
...
src/package_io/input_parser.star
View file @
beb764fb
...
@@ -477,9 +477,6 @@ def parse_network_params(input_args):
...
@@ -477,9 +477,6 @@ def parse_network_params(input_args):
if result["network_params"]["seconds_per_slot"] == 0:
if result["network_params"]["seconds_per_slot"] == 0:
fail("seconds_per_slot is 0 needs to be > 0 ")
fail("seconds_per_slot is 0 needs to be > 0 ")
if result["network_params"]["deneb_fork_epoch"] == 0:
fail("deneb_fork_epoch is 0 needs to be > 0 ")
if result["network_params"]["electra_fork_epoch"] != None:
if result["network_params"]["electra_fork_epoch"] != None:
# if electra is defined, then deneb needs to be set very high
# if electra is defined, then deneb needs to be set very high
result["network_params"]["deneb_fork_epoch"] = HIGH_DENEB_VALUE_FORK_VERKLE
result["network_params"]["deneb_fork_epoch"] = HIGH_DENEB_VALUE_FORK_VERKLE
...
...
src/participant_network.star
View file @
beb764fb
...
@@ -241,10 +241,16 @@ def launch_participant_network(
...
@@ -241,10 +241,16 @@ def launch_participant_network(
elif (
elif (
network_params.capella_fork_epoch == 0
network_params.capella_fork_epoch == 0
and network_params.electra_fork_epoch == None
and network_params.electra_fork_epoch == None
and network_params.deneb_fork_epoch > 0
):
):
ethereum_genesis_generator_image = (
ethereum_genesis_generator_image = (
constants.ETHEREUM_GENESIS_GENERATOR.capella_genesis
constants.ETHEREUM_GENESIS_GENERATOR.capella_genesis
)
)
# we are running deneb genesis - experimental, soon to become default
elif network_params.deneb_fork_epoch == 0:
ethereum_genesis_generator_image = (
constants.ETHEREUM_GENESIS_GENERATOR.deneb_genesis
)
# we are running electra - experimental
# we are running electra - experimental
elif network_params.electra_fork_epoch != None:
elif network_params.electra_fork_epoch != None:
if network_params.electra_fork_epoch == 0:
if network_params.electra_fork_epoch == 0:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment