WIP: Upgrade Geth in fixturenet stacks #819

Closed
roysc wants to merge 13 commits from roysc/fix-eth-stacks-part2 into main
19 changed files with 40 additions and 54 deletions

View File

@ -2,17 +2,15 @@ name: Fixturenet-Eth-Plugeth-Arm-Test
on: on:
push: push:
branches: '*' branches: 'main'
paths: paths:
- '!**' - '!**'
- '.gitea/workflows/triggers/fixturenet-eth-plugeth-arm-test' - '.gitea/workflows/triggers/fixturenet-eth-plugeth-arm-test'
pull_request:
paths:
- '.gitea/workflows/triggers/fixturenet-eth-plugeth-arm-test'
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: '2 14 * * *' - cron: '0 11 * * *'
# Needed until we can incorporate docker startup into the executor container
env:
DOCKER_HOST: unix:///var/run/dind.sock
jobs: jobs:
test: test:

View File

@ -2,18 +2,15 @@ name: Fixturenet-Eth-Plugeth-Test
on: on:
push: push:
branches: '*' branches: 'main'
paths:
- '.gitea/workflows/triggers/fixturenet-eth-plugeth-test'
pull_request:
paths: paths:
- '!**'
- '.gitea/workflows/triggers/fixturenet-eth-plugeth-test' - '.gitea/workflows/triggers/fixturenet-eth-plugeth-test'
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: '2 14 * * *' - cron: '2 14 * * *'
# Needed until we can incorporate docker startup into the executor container
env:
DOCKER_HOST: unix:///var/run/dind.sock
jobs: jobs:
test: test:
name: "Run an Ethereum plugeth fixturenet test" name: "Run an Ethereum plugeth fixturenet test"
@ -41,10 +38,6 @@ jobs:
run: ./scripts/create_build_tag_file.sh run: ./scripts/create_build_tag_file.sh
- name: "Build local shiv package" - name: "Build local shiv package"
run: ./scripts/build_shiv_package.sh run: ./scripts/build_shiv_package.sh
- name: Start dockerd # Also needed until we can incorporate into the executor
run: |
dockerd -H $DOCKER_HOST --userland-proxy=false &
sleep 5
- name: "Run fixturenet-eth tests" - name: "Run fixturenet-eth tests"
run: ./tests/fixturenet-eth-plugeth/run-test.sh run: ./tests/fixturenet-eth-plugeth/run-test.sh
- name: Notify Vulcanize Slack on CI failure - name: Notify Vulcanize Slack on CI failure

View File

@ -2,15 +2,12 @@ name: Fixturenet-Eth-Test
on: on:
push: push:
branches: '*' branches: 'main'
paths:
- '.gitea/workflows/triggers/fixturenet-eth-test'
pull_request:
paths: paths:
- '!**'
- '.gitea/workflows/triggers/fixturenet-eth-test' - '.gitea/workflows/triggers/fixturenet-eth-test'
# Needed until we can incorporate docker startup into the executor container
env:
DOCKER_HOST: unix:///var/run/dind.sock
jobs: jobs:
test: test:
@ -39,10 +36,6 @@ jobs:
run: ./scripts/create_build_tag_file.sh run: ./scripts/create_build_tag_file.sh
- name: "Build local shiv package" - name: "Build local shiv package"
run: ./scripts/build_shiv_package.sh run: ./scripts/build_shiv_package.sh
- name: Start dockerd # Also needed until we can incorporate into the executor
run: |
dockerd -H $DOCKER_HOST --userland-proxy=false &
sleep 5
- name: "Run fixturenet-eth tests" - name: "Run fixturenet-eth tests"
run: ./tests/fixturenet-eth/run-test.sh run: ./tests/fixturenet-eth/run-test.sh
- name: Notify Vulcanize Slack on CI failure - name: Notify Vulcanize Slack on CI failure

View File

@ -1,2 +1,3 @@
Change this file to trigger running the fixturenet-eth-plugeth-arm-test CI job Change this file to trigger running the fixturenet-eth-plugeth-arm-test CI job
1

View File

@ -1,3 +1,4 @@
Change this file to trigger running the fixturenet-eth-plugeth-test CI job Change this file to trigger running the fixturenet-eth-plugeth-test CI job
trigger trigger
trigger trigger
1

View File

@ -1,2 +1,4 @@
Change this file to trigger running the fixturenet-eth-test CI job Change this file to trigger running the fixturenet-eth-test CI job
1
1

View File

@ -2,7 +2,7 @@
services: services:
foundry: foundry:
restart: always restart: always
image: cerc/foundry:local image: ghcr.io/foundry-rs/foundry:latest
command: ["while :; do sleep 600; done"] command: ["while :; do sleep 600; done"]
volumes: volumes:
- ../config/foundry/foundry.toml:/foundry.toml - ../config/foundry/foundry.toml:/foundry.toml

View File

@ -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,13 +69,13 @@ 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" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then
inc_status inc_status
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" ] && ([ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then
inc_status inc_status
fi fi
;; ;;

View File

@ -1,9 +1,9 @@
version: "1.0" version: "1.0"
name: erc20-watcher name: erc20-watcher
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/ipld-eth-db@v5 - git.vdb.to/cerc-io/ipld-eth-db@v5
- git.vdb.to/cerc-io/ipld-eth-server@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/ipld-eth-server@v5
- github.com/dboreham/foundry - github.com/dboreham/foundry
- github.com/cerc-io/erc20-watcher-ts - github.com/cerc-io/erc20-watcher-ts
containers: containers:

View File

@ -1,9 +1,9 @@
version: "1.0" version: "1.0"
name: erc721-watcher name: erc721-watcher
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/ipld-eth-db@v5 - git.vdb.to/cerc-io/ipld-eth-db@v5
- git.vdb.to/cerc-io/ipld-eth-server@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/ipld-eth-server@v5
- github.com/cerc-io/watcher-ts - github.com/cerc-io/watcher-ts
containers: containers:
- cerc/go-ethereum - cerc/go-ethereum

View File

@ -2,9 +2,9 @@ version: "1.0"
name: fixturenet-eth-loaded name: fixturenet-eth-loaded
description: "Loaded Ethereum Fixturenet" description: "Loaded Ethereum Fixturenet"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/tx-spammer - git.vdb.to/cerc-io/tx-spammer
- git.vdb.to/cerc-io/ipld-eth-server@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/ipld-eth-server@v5
- git.vdb.to/cerc-io/ipld-eth-db@v5 - git.vdb.to/cerc-io/ipld-eth-db@v5
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
containers: containers:

View File

@ -2,7 +2,7 @@ version: "1.2"
name: fixturenet-eth-tx name: fixturenet-eth-tx
description: "Ethereum Fixturenet w/ tx-spammer" description: "Ethereum Fixturenet w/ tx-spammer"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/tx-spammer - git.vdb.to/cerc-io/tx-spammer
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/dboreham/foundry - github.com/dboreham/foundry

View File

@ -2,9 +2,8 @@ version: "1.1"
name: fixturenet-eth name: fixturenet-eth
description: "Ethereum Fixturenet" description: "Ethereum Fixturenet"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/dboreham/foundry
containers: containers:
- cerc/go-ethereum - cerc/go-ethereum
- cerc/lighthouse - cerc/lighthouse
@ -12,7 +11,6 @@ containers:
- cerc/fixturenet-eth-genesis - cerc/fixturenet-eth-genesis
- cerc/fixturenet-eth-geth - cerc/fixturenet-eth-geth
- cerc/fixturenet-eth-lighthouse - cerc/fixturenet-eth-lighthouse
- cerc/foundry
pods: pods:
- fixturenet-eth - fixturenet-eth
- foundry - foundry

View File

@ -2,7 +2,7 @@ version: "1.0"
name: fixturenet-optimism name: fixturenet-optimism
description: "Optimism Fixturenet" description: "Optimism Fixturenet"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/dboreham/foundry - github.com/dboreham/foundry
- github.com/ethereum-optimism/optimism@op-node/v1.3.0 - github.com/ethereum-optimism/optimism@op-node/v1.3.0

View File

@ -3,7 +3,8 @@ name: fixturenet-payments
description: "Stack to demonstrate payments between various services" description: "Stack to demonstrate payments between various services"
repos: repos:
# fixturenet repos # fixturenet repos
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - 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@v5 - git.vdb.to/cerc-io/ipld-eth-db@v5
# ipld-eth-server with payments -- to be used by ipld-eth-server-payments pod # ipld-eth-server with payments -- to be used by ipld-eth-server-payments pod
@ -24,11 +25,12 @@ repos:
- github.com/cerc-io/erc20-watcher-ts - github.com/cerc-io/erc20-watcher-ts
containers: containers:
# fixturenet images # fixturenet images
- cerc/go-ethereum - cerc/plugeth-statediff
- cerc/plugeth
- cerc/fixturenet-eth-genesis
- cerc/fixturenet-plugeth-plugeth
- cerc/lighthouse - cerc/lighthouse
- cerc/lighthouse-cli - cerc/lighthouse-cli
- cerc/fixturenet-eth-genesis
- cerc/fixturenet-eth-geth
- cerc/fixturenet-eth-lighthouse - cerc/fixturenet-eth-lighthouse
- cerc/ipld-eth-db - cerc/ipld-eth-db
- cerc/ipld-eth-server - cerc/ipld-eth-server
@ -46,7 +48,7 @@ containers:
- cerc/ponder - cerc/ponder
- cerc/watcher-erc20 - cerc/watcher-erc20
pods: pods:
- fixturenet-eth - fixturenet-plugeth
- ipld-eth-server-payments - ipld-eth-server-payments
- ipld-eth-db - ipld-eth-db
- nitro-contracts - nitro-contracts

View File

@ -8,7 +8,6 @@ repos:
- git.vdb.to/cerc-io/ipld-eth-db@v5 - git.vdb.to/cerc-io/ipld-eth-db@v5
- git.vdb.to/cerc-io/ipld-eth-server@v5 - git.vdb.to/cerc-io/ipld-eth-server@v5
- git.vdb.to/cerc-io/tx-spammer - git.vdb.to/cerc-io/tx-spammer
- github.com/dboreham/foundry
containers: containers:
- cerc/plugeth-statediff - cerc/plugeth-statediff
- cerc/plugeth - cerc/plugeth
@ -18,7 +17,6 @@ containers:
- cerc/lighthouse-cli - cerc/lighthouse-cli
- cerc/fixturenet-eth-lighthouse - cerc/fixturenet-eth-lighthouse
- cerc/tx-spammer - cerc/tx-spammer
- cerc/foundry
- cerc/ipld-eth-db - cerc/ipld-eth-db
- cerc/ipld-eth-server - cerc/ipld-eth-server
pods: pods:

View File

@ -2,7 +2,7 @@ version: "1.0"
name: fixturenet-pocket name: fixturenet-pocket
description: "A single node pocket chain that can serve relays from the geth-1 node in eth-fixturenet" description: "A single node pocket chain that can serve relays from the geth-1 node in eth-fixturenet"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/pokt-network/pocket-core - github.com/pokt-network/pocket-core
- github.com/pokt-network/pocket-core-deployments # contains the dockerfile - github.com/pokt-network/pocket-core-deployments # contains the dockerfile

View File

@ -2,7 +2,7 @@ version: "1.2"
name: mainnet-eth name: mainnet-eth
description: "Ethereum Mainnet" description: "Ethereum Mainnet"
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/dboreham/foundry - github.com/dboreham/foundry
- git.vdb.to/cerc-io/keycloak-reg-api - git.vdb.to/cerc-io/keycloak-reg-api

View File

@ -1,7 +1,7 @@
version: "1.0" version: "1.0"
name: mobymask-v2 name: mobymask-v2
repos: repos:
- git.vdb.to/cerc-io/go-ethereum@v1.11.6-statediff-v5 - git.vdb.to/cerc-io/go-ethereum@v1.13.14
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- github.com/dboreham/foundry - github.com/dboreham/foundry
- github.com/ethereum-optimism/optimism@v1.0.4 - github.com/ethereum-optimism/optimism@v1.0.4