forked from protolambda/erigon
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging tag v3.0.0-alpha1 into upstream-v3.0.0. Incomplete merge - se…
…e status_merge.txt for merging status
- Loading branch information
Showing
2,435 changed files
with
1,211,397 additions
and
153,564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Check | |
on: | ||
push: | ||
branches: | ||
- devel | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Hive (Nightly) | ||
|
||
on: | ||
schedule: | ||
- cron: "0 01 * * *" # run at 1 am UTC every day | ||
workflow_dispatch: | ||
|
||
jobs: | ||
hive: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: AutoModality/action-clean@v1 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # fetch git tags for "git describe" | ||
|
||
- name: build erigon image | ||
run: DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker | ||
|
||
# check with root permissions, should be cached from previous build | ||
- name: build erigon image (root permissions) | ||
run: sudo DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker | ||
|
||
- name: run hive and parse output | ||
run: | | ||
sudo mkdir -p /results-${{ github.run_id }} | ||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results-${{ github.run_id }} --client erigon_ci-$GITHUB_SHA --exit.fail=false | ||
docker run --rm --pull always -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results-${{ github.run_id }} --outdir=/work/results-${{ github.run_id }} --exclusionsfile=/work/hive/exclusions.json | ||
- name: clean up containers | ||
if: always() | ||
run: | | ||
ids=$(docker ps -a -q) | ||
for id in $ids | ||
do | ||
echo "stopping/removing container: $id" | ||
docker stop $id && docker rm $id | ||
done | ||
- name: parse hive results | ||
uses: phoenix-actions/test-reporting@v10 | ||
with: | ||
name: Tests | ||
path: results-${{ github.run_id }}/*.xml | ||
reporter: java-junit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Manifest Check | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'release/**' | ||
paths: | ||
- 'go.mod' | ||
pull_request: | ||
branches: | ||
- main | ||
- 'release/**' | ||
paths: | ||
- 'go.mod' | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# check-snap-modifications: | ||
# runs-on: ubuntu-24.04 | ||
# outputs: | ||
# modified: ${{ steps.check-modified.outputs.modified }} | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 2 # Ensures we fetch enough history to compare | ||
# | ||
# - name: Is erigontech/erigon-snapshot updated in go.mod # if not, pipeline should exit because grep exit code >0 when no match | ||
# run: | | ||
# git diff HEAD~1 HEAD -- go.mod | grep 'github.com/erigontech/erigon-snapshot' | ||
|
||
ManifestCheck: | ||
# needs: check-snap-modifications | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
- run: sudo apt update && sudo apt install build-essential | ||
- run: make downloader | ||
- run: echo $ModModified | ||
- run: ./build/bin/downloader manifest-verify --chain mainnet | ||
- run: ./build/bin/downloader manifest-verify --chain bor-mainnet | ||
- run: ./build/bin/downloader manifest-verify --chain gnosis | ||
- run: ./build/bin/downloader manifest-verify --chain chiado | ||
- run: ./build/bin/downloader manifest-verify --chain sepolia | ||
- run: ./build/bin/downloader manifest-verify --chain amoy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.