Skip to content

Revert "E3: Remove Proof-Of-Work Consensus code" #798

Revert "E3: Remove Proof-Of-Work Consensus code"

Revert "E3: Remove Proof-Of-Work Consensus code" #798

Workflow file for this run

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