1. 环境准备

MacOS:

Ubuntu:

镜像源:https://hub.docker.com/u/ethpandaops

kurtosis Ethereum package: https://github.com/ethpandaops/ethereum-package?tab=readme-ov-file

2. 使用 kurtosis 搭建测试网络

网络的配置:network_params.yaml

participants:
  - el_type: geth
    cl_type: lighthouse
    count: 1
network_params:
  preset: minimal
additional_services:
  - tx_fuzz

运行一个隔离的环境,可以随时创建和销毁:

kurtosis run --enclave eth-dev github.com/ethpandaops/ethereum-package --args-file network_params.yaml