Skip to content

Commit 24f8f81

Browse files
authored
Merge pull request #5 from ethpandaops/main
chore: `main` fork Syncing to support pectra
2 parents 12ca872 + 03bb449 commit 24f8f81

File tree

174 files changed

+17378
-4014
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+17378
-4014
lines changed

.circleci/config.yml

Lines changed: 0 additions & 124 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Ethereum package is meant for strictly development purposes. It is not suitable for production use, and the use of production setup will always be actively discouraged.
11+
Please note that all issues related to setting up ethereum package in a production environment e.g:
12+
- Setup a long running permanent network
13+
- Exposing services for the public - rpc/beacon/tooling endpoints
14+
- Syncing external nodes to an already running enclave
15+
- Running testnet/mainnet validators
16+
- Any other issues that smell like production use
17+
Any issues that are related to to the above mentioned topics/related to running kurtosis with ethereum-package in a production like environment will be automatically closed. By opening an issue you agree to these terms. -->
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Docker login
2+
description: Log in to Docker Hub
3+
inputs:
4+
username:
5+
required: true
6+
password:
7+
required: true
8+
runs:
9+
using: composite
10+
steps:
11+
- name: Check for Docker Hub credentials
12+
shell: bash
13+
env:
14+
DOCKER_USERNAME: ${{ inputs.username }}
15+
DOCKER_PASSWORD: ${{ inputs.password }}
16+
run: |
17+
if [ -z "$DOCKER_USERNAME" ] || [ -z "$DOCKER_PASSWORD" ]; then
18+
echo "AUTH_EXISTS=false" >> $GITHUB_ENV
19+
echo "No credentials provided"
20+
else
21+
echo "AUTH_EXISTS=true" >> $GITHUB_ENV
22+
echo "Credentials provided"
23+
fi
24+
25+
- name: Login to Docker Hub
26+
if: env.AUTH_EXISTS == 'true'
27+
uses: docker/login-action@v3
28+
with:
29+
username: ${{ inputs.username }}
30+
password: ${{ inputs.password }}
31+
32+
- name: Check Docker Hub Rate Limits
33+
shell: bash
34+
env:
35+
DOCKER_USERNAME: ${{ inputs.username }}
36+
DOCKER_PASSWORD: ${{ inputs.password }}
37+
run: |
38+
if [ "$AUTH_EXISTS" = "true" ]; then
39+
echo "Authenticated."
40+
TOKEN=$(curl -s --user "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
41+
else
42+
echo "Unauthenticated."
43+
TOKEN=$(curl -s "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
44+
fi
45+
echo "Rate limits:"
46+
curl -s --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest 2>&1 | grep ratelimit
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Kurtosis install
2+
inputs:
3+
version:
4+
description: 'Version to install'
5+
required: false
6+
default: 'latest'
7+
runs:
8+
using: composite
9+
steps:
10+
- name: Install
11+
shell: bash
12+
run: |
13+
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
14+
sudo apt update
15+
if [ "${{ inputs.version }}" = "latest" ]; then
16+
sudo apt install kurtosis-cli
17+
else
18+
sudo apt install kurtosis-cli=${{ inputs.version }}
19+
fi
20+
kurtosis analytics disable
21+
echo "$(dirname $(which kurtosis))" >> $GITHUB_PATH

.github/tests/altair-genesis.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
participants:
2+
- el_type: geth
3+
cl_type: teku
4+
- el_type: reth
5+
cl_type: prysm
6+
- el_type: nethermind
7+
cl_type: nimbus
8+
- el_type: besu
9+
cl_type: lighthouse
10+
- el_type: nimbus
11+
cl_type: lodestar
12+
- el_type: erigon
13+
cl_type: grandine
14+
additional_services:
15+
- dora
16+
network_params:
17+
altair_fork_epoch: 0
18+
bellatrix_fork_epoch: 1
19+
capella_fork_epoch: 2
20+
deneb_fork_epoch: 3
21+
electra_fork_epoch: 4
22+
fulu_fork_epoch: 5
23+
genesis_delay: 120
24+

.github/tests/apache.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
participants:
2+
- count: 1
13
additional_services:
24
- apache

.github/tests/bellatrix-genesis.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
participants:
2+
- el_type: geth
3+
cl_type: teku
4+
- el_type: reth
5+
cl_type: prysm
6+
- el_type: nethermind
7+
cl_type: nimbus
8+
- el_type: besu
9+
cl_type: lighthouse
10+
- el_type: nimbus
11+
cl_type: lodestar
12+
- el_type: erigon
13+
cl_type: grandine
14+
additional_services:
15+
- dora
16+
network_params:
17+
altair_fork_epoch: 0
18+
bellatrix_fork_epoch: 0
19+
capella_fork_epoch: 1
20+
deneb_fork_epoch: 2
21+
electra_fork_epoch: 3
22+
fulu_fork_epoch: 4
23+
genesis_delay: 120

.github/tests/besu-all.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
participants:
2-
- el_type: geth
3-
cl_type: teku
4-
- el_type: geth
5-
cl_type: teku
62
- el_type: besu
73
cl_type: prysm
4+
- el_type: besu
5+
cl_type: teku
86
- el_type: besu
97
cl_type: nimbus
108
- el_type: besu
119
cl_type: lighthouse
1210
- el_type: besu
1311
cl_type: lodestar
14-
additional_services: []
12+
- el_type: besu
13+
cl_type: grandine

.github/tests/capella-genesis.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
participants:
2+
- el_type: geth
3+
cl_type: teku
4+
- el_type: reth
5+
cl_type: prysm
6+
- el_type: nethermind
7+
cl_type: nimbus
8+
- el_type: besu
9+
cl_type: lighthouse
10+
- el_type: nimbus
11+
cl_type: lodestar
12+
- el_type: erigon
13+
cl_type: grandine
14+
additional_services:
15+
- dora
16+
network_params:
17+
altair_fork_epoch: 0
18+
bellatrix_fork_epoch: 0
19+
capella_fork_epoch: 0
20+
deneb_fork_epoch: 1
21+
electra_fork_epoch: 2
22+
fulu_fork_epoch: 3
23+
genesis_delay: 120

.github/tests/custom-contracts.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
participants:
2+
- el_type: geth
3+
cl_type: teku
4+
- el_type: nethermind
5+
cl_type: prysm
6+
- el_type: erigon
7+
cl_type: nimbus
8+
- el_type: besu
9+
cl_type: lighthouse
10+
- el_type: reth
11+
cl_type: lodestar
12+
- el_type: ethereumjs
13+
cl_type: teku
14+
network_params:
15+
network: kurtosis
16+
additional_preloaded_contracts: '{"0x123463a4B065722E99115D6c222f267d9cABb524": {"balance": "2ETH","code": "0x1234","storage": {}}}'

0 commit comments

Comments
 (0)