Skip to content

Conversation

@pk910
Copy link
Member

@pk910 pk910 commented Dec 4, 2025

Add support for non-mainnet presets by using dynamic-ssz for marshalling, unmarshalling & hashtreeroot calculation.

eg. minimal:
image

kurtosis config:

participants_matrix:
  el:
    - el_type: geth
      el_image: ethereum/client-go:latest
    - el_type: reth
      el_image: ghcr.io/paradigmxyz/reth:latest
  cl:
    - cl_type: lighthouse
      cl_image: sigp/lighthouse:latest
      cl_log_level: debug
    - cl_type: teku
      cl_image: consensys/teku:latest
network_params:
  preset: minimal
  electra_fork_epoch: 1
  num_validator_keys_per_node: 25
additional_services:
  - dora
  - spamoor
  - checkpointz

checkpointz_params:
  image: "pk910/dev-images:checkpointz-minimal"

kurtosis run github.com/ethpandaops/ethereum-package@pk910/checkpointz-custom-preset --args-file ./kurtosis-config.yaml

@pk910 pk910 requested a review from samcm as a code owner December 4, 2025 04:25
@barnabasbusa barnabasbusa linked an issue Dec 4, 2025 that may be closed by this pull request
@pk910
Copy link
Member Author

pk910 commented Dec 4, 2025

I've added the checkpointz.custom_preset setting to the config which defaults to false for regular mainnet setups.
For minimal preset or other custom networks this needs to be enabled to make checkpointz run properly.
Mainnet presets are still supported with custom_preset enabled, but there might be a minor performance degradation due to the reflection based codepaths.

@samcm samcm merged commit 1c81f68 into master Dec 5, 2025
12 checks passed
@samcm samcm deleted the pk910/minimal-spec branch December 5, 2025 07:54
barnabasbusa pushed a commit to ethpandaops/ethereum-package that referenced this pull request Dec 5, 2025
The setting enables support for custom presets in checkpointz
(ethpandaops/checkpointz#226 (comment)),
it works for mainnet presets as well, and the performance impact is
negligible for testing setups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for minimal preset

3 participants