Author SHA1 Message Date
Ian Maloney 308a6f0c32 pinning geth version
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (pull_request) Successful in 13m21s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (pull_request) Successful in 18m14s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (pull_request) Has been cancelled
2025-11-04 12:09:51 -05:00
nabarun 3477e8ff96 Pin geth version to 1.14.8 (#22)
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Waiting to run
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Failing after 12m16s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Failing after 10m23s
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Reviewed-on: #22
Reviewed-by: ashwin <ashwin@noreply.git.vdb.to>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-10-30 06:50:42 +00:00
telackey fca61c0981 Update .gitea/workflows/triggers/publish-fixturenet-eth-images
Publish Ethereum Fixturenet Stack Container Images / Publish Ethereum Fixturenet Stack Container Images (push) Successful in 23m27s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Waiting to run
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Failing after 22m49s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 33m55s
2024-08-29 18:06:43 +00:00
roysc f20687674a Add ipld-eth-server to plugeth fixturenet (#21)
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 19m1s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Successful in 28m42s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 32m24s
Part of cerc-io/stack-orchestrator#905.

Reviewed-on: #21
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-08-05 19:15:58 +00:00
roysc 61bad072f8 Support validator withdrawals (#19)
Publish Ethereum Fixturenet Stack Container Images / Publish Ethereum Fixturenet Stack Container Images (push) Successful in 23m28s
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 24m11s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 31m30s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Successful in 42m4s
Adds CL spec settings to enable validator withdrawals and expedite them by reducing the delays between withdrawal (and validator exit) initiation and execution.

To create a testnet genesis Beacon state where withdrawals and exits are possible, this also depends on cerc-io/lighthouse#1.

Reviewed-on: #19
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-08-05 14:06:43 +00:00
dboreham f2d11f314c Trigger container publish job
Publish Ethereum Fixturenet Stack Container Images / Publish Ethereum Fixturenet Stack Container Images (push) Successful in 22m15s
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 20m8s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 28m30s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Successful in 38m11s
2024-08-01 14:10:08 +00:00
dboreham 7ef20f94b3 Trigger container publish job
Publish Ethereum Fixturenet Stack Container Images / Publish Ethereum Fixturenet Stack Container Images (push) Successful in 21m45s
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 19m47s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 28m22s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Successful in 34m1s
2024-07-31 19:37:02 +00:00
roysc 27503949ab Add Slack alerts for CI test failures (#20)
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Has been cancelled
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Has been cancelled
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Has been cancelled
To replace the alerts in the stack-orchestrator repo.

Reviewed-on: #20
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-07-31 19:30:21 +00:00
roysc fe5e10fdbc Fix status script fork check (#18)
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 18m37s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (push) Successful in 27m28s
Fixes the `status.sh` script to recognize Capella and Deneb as post-Merge forks.

Fixes #17.

Reviewed-on: #18
2024-07-24 03:28:58 +00:00
15 changed files with 131 additions and 26 deletions
+18
View File
@@ -3,6 +3,7 @@ name: Test Ethereum Fixturenet Stack
on: on:
push: push:
branches: '*' branches: '*'
pull_request:
schedule: # Note: coordinate with other tests to not overload runners at the same time of day schedule: # Note: coordinate with other tests to not overload runners at the same time of day
- cron: '12 01 * * *' - cron: '12 01 * * *'
@@ -33,3 +34,20 @@ jobs:
run: | run: |
PATH=$PATH:~/bin PATH=$PATH:~/bin
./tests/fixturenet-eth-stack/run-test.sh ./tests/fixturenet-eth-stack/run-test.sh
- name: Notify Vulcanize Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS }}
- name: Notify DeepStack Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS }}
+24 -3
View File
@@ -3,13 +3,17 @@ name: Test Ethereum Plugeth Fixturenet Stack
on: on:
push: push:
branches: '*' branches: '*'
pull_request:
schedule: # Note: coordinate with other tests to not overload runners at the same time of day schedule: # Note: coordinate with other tests to not overload runners at the same time of day
- cron: '14 01 * * *' - cron: '14 01 * * *'
jobs: jobs:
test: test:
name: "Test fixturenet-plugeth stack" name: "Test fixturenet-plugeth stack"
runs-on: ubuntu-latest strategy:
matrix:
os: [ubuntu-latest, ubuntu-latest-arm]
runs-on: ${{ matrix.os }}
steps: steps:
- name: "Clone project repository" - name: "Clone project repository"
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -19,12 +23,12 @@ jobs:
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }}
uses: deadsnakes/action@v3.0.1 uses: deadsnakes/action@v3.0.1
with: with:
python-version: '3.11' python-version: 3.11
- name: "Install Python cases other than ARM on Linux" - name: "Install Python cases other than ARM on Linux"
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }}
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.11' python-version: 3.11
- name: "Print Python version" - name: "Print Python version"
run: python3 --version run: python3 --version
- name: "Install stack orchestrator" - name: "Install stack orchestrator"
@@ -33,3 +37,20 @@ jobs:
run: | run: |
PATH=$PATH:~/bin PATH=$PATH:~/bin
./tests/fixturenet-plugeth-stack/run-test.sh ./tests/fixturenet-plugeth-stack/run-test.sh
- name: Notify Vulcanize Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS }}
- name: Notify DeepStack Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS }}
@@ -1,2 +1,2 @@
# Change this file to trigger the job publish-fixturenet-eth-images.yml # Change this file to trigger the job publish-fixturenet-eth-images.yml
Trigger 5
@@ -10,6 +10,7 @@ services:
image: cerc/fixturenet-plugeth-plugeth:local image: cerc/fixturenet-plugeth-plugeth:local
volumes: volumes:
- fixturenet_plugeth_bootnode_geth_data:/root/ethdata - fixturenet_plugeth_bootnode_geth_data:/root/ethdata
- fixturenet_plugeth_bootnode_geth_config:/opt/testnet/build/el
ports: ports:
- "9898" - "9898"
- "30303" - "30303"
@@ -27,7 +28,7 @@ services:
CERC_ALLOW_UNPROTECTED_TXS: ${CERC_ALLOW_UNPROTECTED_TXS:-false} CERC_ALLOW_UNPROTECTED_TXS: ${CERC_ALLOW_UNPROTECTED_TXS:-false}
env_file: env_file:
- ../config/fixturenet-eth/fixturenet-eth.env - ../config/fixturenet-eth/fixturenet-eth.env
- ../config/fixturenet-eth/statediff.env - ../config/fixturenet-plugeth/statediff.env
image: cerc/fixturenet-plugeth-plugeth:local image: cerc/fixturenet-plugeth-plugeth:local
volumes: volumes:
- fixturenet_plugeth_geth_1_data:/root/ethdata - fixturenet_plugeth_geth_1_data:/root/ethdata
@@ -127,6 +128,7 @@ services:
volumes: volumes:
fixturenet_plugeth_bootnode_geth_data: fixturenet_plugeth_bootnode_geth_data:
fixturenet_plugeth_bootnode_geth_config:
fixturenet_plugeth_geth_1_data: fixturenet_plugeth_geth_1_data:
fixturenet_plugeth_geth_2_data: fixturenet_plugeth_geth_2_data:
fixturenet_plugeth_lighthouse_1_data: fixturenet_plugeth_lighthouse_1_data:
@@ -13,17 +13,16 @@ services:
DATABASE_PORT: 5432 DATABASE_PORT: 5432
ipld-eth-db: ipld-eth-db:
image: timescale/timescaledb:2.8.1-pg14 image: timescale/timescaledb:latest-pg14
restart: always restart: always
environment: environment:
POSTGRES_USER: "vdbm" POSTGRES_USER: "vdbm"
POSTGRES_DB: "cerc_testing" POSTGRES_DB: "cerc_testing"
POSTGRES_PASSWORD: "password" POSTGRES_PASSWORD: "password"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "5432"]
interval: 30s
timeout: 10s
retries: 10
start_period: 3s
ports: ports:
- "127.0.0.1:8077:5432" - "127.0.0.1:8077:5432"
healthcheck:
test: ["CMD", "pg_isready", "-U", "vdbm"]
interval: 2s
timeout: 1s
retries: 3
@@ -0,0 +1,43 @@
services:
ipld-eth-server:
restart: unless-stopped
depends_on:
ipld-eth-db:
condition: service_healthy
image: cerc/ipld-eth-server:local
environment:
SERVER_HTTP_PATH: 0.0.0.0:8081
SERVER_GRAPHQL: "true"
SERVER_GRAPHQLPATH: 0.0.0.0:8082
ETH_CHAIN_CONFIG: "/opt/config/chain.json"
DATABASE_NAME: cerc_testing
DATABASE_HOSTNAME: ipld-eth-db
DATABASE_PORT: 5432
DATABASE_USER: "vdbm"
DATABASE_PASSWORD: "password"
ETH_FORWARD_ETH_CALLS: "false"
ETH_FORWARD_GET_STORAGE_AT: "false"
ETH_PROXY_ON_ERROR: "false"
METRICS: "true"
PROM_HTTP: "true"
PROM_HTTP_ADDR: "0.0.0.0"
PROM_HTTP_PORT: "8090"
LOG_LEVEL: "debug"
CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true}
volumes:
- fixturenet_plugeth_bootnode_geth_config:/opt/config
ports:
- "8081"
- "8082"
- "8090"
- "40000"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8081"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s
volumes:
fixturenet_plugeth_bootnode_geth_config:
@@ -14,5 +14,5 @@ ENR_URL="http://fixturenet-eth-bootnode-lighthouse:3000/bootnode/enr.dat"
CERC_GETH_VMODULE="rpc/*=5" CERC_GETH_VMODULE="rpc/*=5"
CERC_GETH_VERBOSITY=${CERC_GETH_VERBOSITY:-3} CERC_GETH_VERBOSITY=${CERC_GETH_VERBOSITY:-3}
# Used by Lighthouse # --debug-level
SECONDS_PER_ETH1_BLOCK=${SECONDS_PER_ETH1_BLOCK:-3} DEBUG_LEVEL=${LIGHTHOUSE_DEBUG_LEVEL:-info}
@@ -2,7 +2,9 @@ FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
# Build genesis config # Build genesis config
ADD genesis /opt/genesis ADD genesis /opt/genesis
RUN cd /opt/genesis && make genesis-el WORKDIR /opt/genesis
RUN make genesis-el
RUN jq ".config" build/el/geth.json > build/el/chain.json
FROM golang:1.21-alpine as builder FROM golang:1.21-alpine as builder
@@ -1,9 +1,9 @@
FROM cerc/fixturenet-eth-genesis-postmerge:local as fnetgen FROM cerc/fixturenet-eth-genesis-postmerge:local as fnetgen
FROM ethereum/client-go:release-1.14 as geth FROM ethereum/client-go:v1.14.8 as geth
# Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile # Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile
FROM golang:1.21-alpine as delve FROM golang:1.21-alpine as delve
RUN go install github.com/go-delve/delve/cmd/dlv@latest RUN go install github.com/go-delve/delve/cmd/dlv@v1.22.1
FROM alpine:3.17 FROM alpine:3.17
@@ -44,6 +44,11 @@ lcli \
--interop-genesis-state \ --interop-genesis-state \
--force --force
# Patch the spec with settings not supported by lcli
sed -i "/^SHARD_COMMITTEE_PERIOD:/s/:.*/: $SHARD_COMMITTEE_PERIOD/" $TESTNET_DIR/config.yaml
sed -i "/^MIN_VALIDATOR_WITHDRAWABILITY_DELAY:/s/:.*/: $MIN_VALIDATOR_WITHDRAWABILITY_DELAY/" $TESTNET_DIR/config.yaml
sed -i "/^MAX_SEED_LOOKAHEAD:/s/:.*/: $MAX_SEED_LOOKAHEAD/" $TESTNET_DIR/config.yaml
echo Specification and genesis.ssz generated at $TESTNET_DIR. echo Specification and genesis.ssz generated at $TESTNET_DIR.
echo "Generating $VALIDATOR_COUNT validators concurrently... (this may take a while)" echo "Generating $VALIDATOR_COUNT validators concurrently... (this may take a while)"
@@ -38,6 +38,13 @@ SECONDS_PER_SLOT=${SECONDS_PER_SLOT:-3}
# Seconds per Eth1 block # Seconds per Eth1 block
SECONDS_PER_ETH1_BLOCK=${SECONDS_PER_ETH1_BLOCK:-1} SECONDS_PER_ETH1_BLOCK=${SECONDS_PER_ETH1_BLOCK:-1}
# Min epochs between validator activation and exit
SHARD_COMMITTEE_PERIOD=2
# Min epochs between validator exit and withdrawal
MIN_VALIDATOR_WITHDRAWABILITY_DELAY=1
# Delay for validator activation/exit
MAX_SEED_LOOKAHEAD=1
# Command line arguments for validator client # Command line arguments for validator client
VC_ARGS=${VC_ARGS:-""} VC_ARGS=${VC_ARGS:-""}
@@ -53,6 +60,3 @@ ETH1_TTD=${ETH1_TTD:-`cat $ETH1_GENESIS_JSON | jq -r '.config.terminalTotalDiffi
ETH1_DEPOSIT_CONTRACT_ADDRESS=${ETH1_DEPOSIT_CONTRACT_ADDRESS:-`cat $ETH1_CONFIG_YAML | grep 'deposit_contract_address' | awk '{ print $2 }' | sed 's/"//g'`} ETH1_DEPOSIT_CONTRACT_ADDRESS=${ETH1_DEPOSIT_CONTRACT_ADDRESS:-`cat $ETH1_CONFIG_YAML | grep 'deposit_contract_address' | awk '{ print $2 }' | sed 's/"//g'`}
ETH1_DEPOSIT_CONTRACT_BLOCK=${ETH1_DEPOSIT_CONTRACT_BLOCK:-0x0} ETH1_DEPOSIT_CONTRACT_BLOCK=${ETH1_DEPOSIT_CONTRACT_BLOCK:-0x0}
SUGGESTED_FEE_RECIPIENT=`cat ../build/el/accounts.csv | head -1 | cut -d',' -f2` SUGGESTED_FEE_RECIPIENT=`cat ../build/el/accounts.csv | head -1 | cut -d',' -f2`
# --debug-level
DEBUG_LEVEL=${LIGHTHOUSE_DEBUG_LEVEL:-info}
@@ -9,7 +9,7 @@ STATUSES=(
"beacon phase0" "beacon phase0"
"beacon altair" "beacon altair"
"beacon bellatrix pre-merge" "beacon bellatrix pre-merge"
"beacon bellatrix merge" "beacon post-merge"
"block number $MIN_BLOCK_NUM" "block number $MIN_BLOCK_NUM"
) )
STATUS=0 STATUS=0
@@ -69,14 +69,22 @@ while [ $STATUS -lt ${#STATUSES[@]} ]; do
;; ;;
2) 2)
result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'`
if [ ! -z "$result" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ]); then if [ ! -z "$result" ]; then
inc_status case "$result" in
"altair" | "bellatrix" | "capella" | "deneb")
inc_status
;;
esac
fi fi
;; ;;
3) 3)
result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'`
if [ ! -z "$result" ] && [ "$result" == "bellatrix" ]; then if [ ! -z "$result" ]; then
inc_status case "$result" in
"bellatrix" | "capella" | "deneb")
inc_status
;;
esac
fi fi
;; ;;
4) 4)
@@ -2,7 +2,7 @@ FROM cerc/fixturenet-eth-genesis-postmerge:local as fnetgen
# Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile # Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile
FROM golang:1.21-alpine as delve FROM golang:1.21-alpine as delve
RUN go install github.com/go-delve/delve/cmd/dlv@latest RUN go install github.com/go-delve/delve/cmd/dlv@v1.22.1
FROM cerc/plugeth-statediff:local as statediff FROM cerc/plugeth-statediff:local as statediff
# FIXME: fork of plugeth, use stock after upstreaming patches # FIXME: fork of plugeth, use stock after upstreaming patches
@@ -6,6 +6,7 @@ repos:
- git.vdb.to/cerc-io/plugeth-statediff - git.vdb.to/cerc-io/plugeth-statediff
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- git.vdb.to/cerc-io/ipld-eth-db - git.vdb.to/cerc-io/ipld-eth-db
- git.vdb.to/cerc-io/ipld-eth-server@v5
containers: containers:
- cerc/plugeth-statediff - cerc/plugeth-statediff
- cerc/plugeth - cerc/plugeth
@@ -15,6 +16,8 @@ containers:
- cerc/lighthouse-cli - cerc/lighthouse-cli
- cerc/fixturenet-eth-lighthouse - cerc/fixturenet-eth-lighthouse
- cerc/ipld-eth-db - cerc/ipld-eth-db
- cerc/ipld-eth-server
pods: pods:
- fixturenet-plugeth - fixturenet-plugeth
- ipld-eth-db - ipld-eth-db
- ipld-eth-server