Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] 2.61 vs 2.60 #12479

Draft
wants to merge 94 commits into
base: release/2.60
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
0291417
params: version 2.61.0-dev (#12149)
yperbasis Oct 1, 2024
5c833c3
Turn NoPruneContracts into DepositContract (#12150)
yperbasis Oct 1, 2024
bf742a8
EIP-2935 Historical block hashes (#12152)
yperbasis Oct 1, 2024
51b869d
Implement EIP-7685 and EIP-6110 (#12153)
yperbasis Oct 1, 2024
ee01d5a
BLS: add more subgroup checks and finalized EIP-2537 tests (#12154)
yperbasis Oct 1, 2024
61fb230
add withdrawalRequests to execution payload (#12155)
yperbasis Oct 1, 2024
55e55db
add requests to grpc interfaces (#12156)
yperbasis Oct 1, 2024
7af0551
Add some missing EIP-7685 wirings (#12157)
yperbasis Oct 1, 2024
52685b4
Update EIP-2935: Adjust gas-costs for 2935 (#12158)
yperbasis Oct 1, 2024
9892c85
Implement and add changes for EIPs 7002, 6110, 7685 (#12159)
yperbasis Oct 1, 2024
02728ee
core: Rename Deposit to DepositRequest for EIP-6110 (#12160)
yperbasis Oct 1, 2024
2ce2204
tests: Add prague exec test fixtures and rename requests tests (#12161)
yperbasis Oct 1, 2024
98e72ff
Update EIP-2935 for Prague devnet1 (#12162)
yperbasis Oct 1, 2024
3a9f381
Add EIP-7251 consolidation requests support (#12163)
yperbasis Oct 1, 2024
2e8775b
tests: Undo skip EIP-7685 spec tests (#12164)
yperbasis Oct 1, 2024
e1eab09
Fix compilation (#12171)
yperbasis Oct 2, 2024
bc86e9f
engineapi: Add pectra engine api changes (#12172)
yperbasis Oct 2, 2024
1fbc2fc
rlp: disallow trailing bytes in transactions (#10296) (#12175)
yperbasis Oct 2, 2024
bc4bc69
Move bor_fee_log from core to polygon (#12176)
yperbasis Oct 2, 2024
27783b8
Implement EIP-7702: set code tx (#12178)
yperbasis Oct 2, 2024
60684fe
execution spec tests update for devnet-1 (#12179)
yperbasis Oct 2, 2024
e5cc56f
engineapi: Fix req list check (#12180)
yperbasis Oct 2, 2024
6853eff
txpool changes for set_code_tx support (#12181)
yperbasis Oct 2, 2024
bc6cfb7
Wire OverridePragueTime into txpool (#12185)
yperbasis Oct 2, 2024
d0df1a2
Caplin: Added electra config support (#12186)
yperbasis Oct 2, 2024
92d3354
core/types: Fix JSON (un)marshalling of request types (#12187)
yperbasis Oct 2, 2024
e8f12eb
engineapi: Update interface and Rpc conversion for EIP-7685 Requests …
yperbasis Oct 2, 2024
107ca9b
Fix json name for deposit contract address (#12189)
yperbasis Oct 2, 2024
7418eef
engineapi: Only update req root for pectra+ (#12194)
yperbasis Oct 3, 2024
8ebcc8c
engineapi: Remove redundant nil check (#12195)
yperbasis Oct 3, 2024
771bd47
engineapi: Send status SYNCING for fcu when busy (#12196)
yperbasis Oct 3, 2024
edd42a2
el-consensus: Add 2935 condition to fail silently if no code in Histo…
yperbasis Oct 3, 2024
eb2a2ff
7702 latest spec update (#12198)
yperbasis Oct 3, 2024
c19a0f0
modify EIP-3607 to accept tx type 4 (#12200)
yperbasis Oct 3, 2024
905283b
Stricter validation of EIP-7702 transactions (#12201)
yperbasis Oct 3, 2024
1b6822c
Update spec tests to [email protected] (#12203)
yperbasis Oct 3, 2024
147e26c
Update EIP-7702: simpler transaction validity (#12212)
yperbasis Oct 4, 2024
226b926
Update EIP-7251 address (#12213)
yperbasis Oct 4, 2024
8d66803
Revert changes to non-Prague execution spec tests (#12214)
yperbasis Oct 4, 2024
b481789
qa-tests: use rpcdaemon for rpc tests (Erigon 2) (#12193)
mriccobene Oct 8, 2024
d33a84a
Preserve requests nil-ness in (un)marshalling (#12221)
yperbasis Oct 9, 2024
5ce1d85
e2: Fix state root calculation for EIP-7702 accounts with storage (#1…
yperbasis Oct 9, 2024
870b3d9
qa-tests: Gnosis Tip-Tracking Test - use v2 pre-built database on rel…
mriccobene Oct 16, 2024
4493088
Known cfg 2 61 (#12351)
JkLondon Oct 17, 2024
f05d17a
e2: rpcd to not open file before download complete (#12373)
AskAlexSharov Oct 19, 2024
470b822
e2: don't reopen files when new created (#12375)
AskAlexSharov Oct 20, 2024
c09a3bc
e2: up `bls` dep to support clang16 (#12374)
AskAlexSharov Oct 21, 2024
1f336a7
BodyDownload: differentiate between empty vs nil withdrawals/requests…
yperbasis Oct 23, 2024
837391d
Revert ethereum/tests to 13.1 (#12431)
yperbasis Oct 23, 2024
81ab987
Disable antiquation (#12442)
yperbasis Oct 24, 2024
1ca1a7c
Type of error field in structlog logger differs from geth, alloy (#1…
yperbasis Oct 24, 2024
8fa8ab6
deps: bump libp2p to v0.34.0 (#12445)
yperbasis Oct 24, 2024
f3dfa6d
Bump gqlparser to 2.5.16 in the release/2.60 branch (#12446)
yperbasis Oct 24, 2024
8b3a532
Add early return in `ComputeTxEnv` for state sync transactions (#12447)
yperbasis Oct 24, 2024
1b49666
Removing gasPrice check in UnmarshalJson of dynamicFeeTx (#12448)
yperbasis Oct 24, 2024
8de7eae
Rework release workflow for release/2.60 branch (#12449)
yperbasis Oct 24, 2024
db1a157
rpcdaemon: Only allow large txIndex for state sync transactions (#12450)
yperbasis Oct 24, 2024
c2a332d
rpcdaemon: Add missing flag (#12451)
yperbasis Oct 24, 2024
c5b89b4
e2: port salt assert logic (#12452)
yperbasis Oct 24, 2024
9020781
dbg: env var for heap profile output file path (#12453)
yperbasis Oct 24, 2024
ab5af9f
headerdownload: fix OOM due to inifinitely growing children in link (…
yperbasis Oct 24, 2024
42c0d13
Added Changelog (#12455)
yperbasis Oct 24, 2024
c9954b5
Flatten EIP-7002 withdrawal requests encoding (#12456)
yperbasis Oct 24, 2024
ecf5a1a
Flatten EIP-7251 Consolidation Requests encoding (#12457)
yperbasis Oct 24, 2024
4a2b0b5
tests: Add pectra-devnet-4 tests (All Spec tests Disabled) (#12458)
yperbasis Oct 24, 2024
34d42e1
Rename requestsRoot to requestsHash in block header (#12460)
yperbasis Oct 24, 2024
7a65be6
Block: use generic atomics (#12461)
yperbasis Oct 24, 2024
1502825
Move atomic hash from Block to Header (#12462)
yperbasis Oct 24, 2024
24d8d9b
Merge MiningResultPOSCh with MiningResultCh (#12463)
yperbasis Oct 24, 2024
b37c6d4
Remove EIP-7685 requests from body, block and exeution payload (#12467)
yperbasis Oct 24, 2024
2342e39
Engine API and type changes for flat requests in Pectra (#12468)
yperbasis Oct 25, 2024
b3b915d
Don't pass requests to consensus Finalize (#12474)
yperbasis Oct 25, 2024
6d92c11
Remove remnants of requests from block body downloader (#12475)
yperbasis Oct 25, 2024
3ba3e0a
Simplify EIP-6110 Deposit requests (#12476)
yperbasis Oct 25, 2024
a96cbd5
Modify EIP-7702 Txn impl per pectra-devnet-4 specs (#12478)
yperbasis Oct 25, 2024
9638341
engineapi: Fix json unmarshal issue (#12482)
yperbasis Oct 25, 2024
9490e10
Merge branch 'release/2.60' into release/2.61
yperbasis Oct 25, 2024
223137e
Merge branch 'release/2.60' into release/2.61
yperbasis Oct 25, 2024
b6ef47d
engine: Remove engine_getPayloadBodiesBy{Hash|Range}V2 (#12494)
yperbasis Oct 28, 2024
9599956
params: Update depositContractAddress field in json's (#12528)
yperbasis Oct 29, 2024
edf4149
Update dockerfile to golang 1.22 (#12543)
somnathb1 Oct 30, 2024
6935d08
Fix multiple hive/EEST issues + wait condition loop before sending SY…
somnathb1 Oct 31, 2024
7ffa0fd
trace API: commit state changes from InitializeBlockExecution (#12565)
yperbasis Oct 31, 2024
de588af
Fix bug with sending empty requests list in pectra-devnet-4 (#12588)
somnathb1 Nov 4, 2024
1fd75e3
workflows: Add hive tests to e2 branches (#12590)
somnathb1 Nov 4, 2024
799f16f
workflows: Add ethereum/eest separate workflow (#12599)
somnathb1 Nov 4, 2024
bcf5e29
EIP-4844-pectra (collect blob gas fee) (#12611)
yperbasis Nov 4, 2024
9ac79f4
qa-tests: handle Erigon2 json rpc api improvements regarding the erro…
mriccobene Nov 5, 2024
5bc53cc
[release/2.61] params: v2.61.0-beta1 (#12646)
yperbasis Nov 6, 2024
f475cc4
EIP-7702 authorization: limit chain_id to uint64 and y_parity to uint…
yperbasis Nov 7, 2024
2148546
Block building fixes found for large deposit requests set (#12804)
somnathb1 Nov 20, 2024
9dc3435
Cherry pick PR12658 & PR12721 form release/2.60 (#12807)
lystopad Nov 20, 2024
0273320
Merge branch 'release/2.60' into 'release/2.61' (#12808)
yperbasis Nov 20, 2024
c5d69cb
Fix init cmd aura seal signature import (#12844)
somnathb1 Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/qa-rpc-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Checkout RPC Tests Repository & Install Requirements
run: |
rm -rf ${{ runner.workspace }}/rpc-tests
git -c advice.detachedHead=false clone --depth 1 --branch v0.52.0 https://github.com/erigontech/rpc-tests ${{runner.workspace}}/rpc-tests
git -c advice.detachedHead=false clone --depth 1 --branch erigon_v2.6x https://github.com/erigontech/rpc-tests ${{runner.workspace}}/rpc-tests
cd ${{ runner.workspace }}/rpc-tests
pip3 install -r requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qa-tip-tracking-gnosis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ jobs:
if: steps.test_step.outputs.TEST_RESULT != 'success'
run: |
echo "::error::Error detected during tests"
exit 1
exit 1
34 changes: 31 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Release
run-name: Build release ${{ inputs.release_version }} from branch ${{ inputs.checkout_ref }} by @${{ github.actor }}

env:
APPLICATION: "erigon"
BUILDER_IMAGE: "golang:1.22-bookworm"
DOCKER_BASE_IMAGE: "debian:12.7-slim"
DOCKER_BASE_IMAGE: "debian:12.8-slim"
APP_REPO: "erigontech/erigon"
PACKAGE: "github.com/erigontech/erigon"
DOCKERHUB_REPOSITORY: "erigontech/erigon"
Expand Down Expand Up @@ -43,22 +44,26 @@ jobs:
name: Build Artifacts and multi-platform Docker image, publish draft of the Release Notes

steps:
- name: Checkout git repository ${{ env.APP_REPO }}
- name: Checkout git repository ${{ env.APP_REPO }} reference ${{ inputs.checkout_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 ## 4.1.7 release
with:
repository: ${{ env.APP_REPO }}
fetch-depth: 0
ref: ${{ inputs.checkout_ref }}
path: 'erigon'

- name: Check if tag ${{ inputs.release_version }} already exists in case perform_release is set.
- name: Check if tag ${{ inputs.release_version }} already exists and create it in case perform_release is set.
if: ${{ (inputs.perform_release) && (inputs.release_version != '') }}
run: |
cd erigon
if git ls-remote --exit-code --quiet --tags origin '${{ inputs.release_version }}'; then
echo "ERROR: tag ${{ inputs.release_version }} exists and workflow is performing release. Exit."
exit 1
else
echo "OK: tag ${{ inputs.release_version }} does not exists. Proceeding."
git tag ${{ inputs.release_version }}
git push origin ${{ inputs.release_version }}
echo; echo "Git TAG ${{ inputs.release_version }} created and pushed."
fi

- name: Run some commands, get commit id
Expand Down Expand Up @@ -230,3 +235,26 @@ jobs:
--notes "**Improvements:**<br>- ...coming soon <br><br>**Bugfixes:**<br><br>- ...coming soon<br><br>**Docker images:**<br><br>Docker image released:<br> ${{ env.DOCKER_TAGS }}<br><br>... coming soon<br>" \
${{ inputs.release_version }} \
*.tar.gz ${{ env.APPLICATION }}_${{ inputs.release_version }}_checksums.txt

In-case-of-failure:
name: "In case of failure: remove remote git tag pointing to the new version."
needs: [ build-release ]
if: always() && !contains(needs.build-release.result, 'success')
runs-on: ubuntu-22.04

steps:
- name: Checkout git repository ${{ env.APP_REPO }} reference ${{ inputs.checkout_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 ## 4.1.7 release
with:
repository: ${{ env.APP_REPO }}
fetch-depth: 0
ref: ${{ inputs.checkout_ref }}
path: 'erigon'

- name: Rollback - remove git tag ${{ inputs.release_version }}
if: ${{ (inputs.perform_release) && (inputs.release_version != '') }}
run: |
cd erigon
git push -d origin ${{ inputs.release_version }}


81 changes: 81 additions & 0 deletions .github/workflows/test-hive-eest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Hive EEST tests

on:
push:
branches:
- release/*
- pectra_e2
workflow_dispatch:

jobs:
test-hive-eest:
runs-on: ubuntu-latest
steps:
- name: Checkout Hive
uses: actions/checkout@v4
with:
repository: danceratopz/hive
ref: prague-devnet-4
path: hive
- name: Setup go env and cache
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
go-version-file: 'hive/go.mod'

# Targetting the clients/erigon/Dockerfile.git in the Hive director -
# this builds the container from github and uses it for tests
- name: Get dependencies and build hive
run: |
cd hive
git status
go get . >> buildlogs.log
rm clients/erigon/Dockerfile
mv clients/erigon/Dockerfile.git clients/erigon/Dockerfile
branch_name=$(echo ${GITHUB_REF#refs/heads/} | sed 's/[&/\]/\\&/g')
echo Building Hive with Erigon branch - $branch_name
sed -i "s/^ARG github=ledgerwatch\/erigon$/ARG github=erigontech\/erigon/" clients/erigon/Dockerfile
sed -i "s/^ARG tag=main$/ARG tag=${branch_name}/" clients/erigon/Dockerfile
if [[ "$branch_name" != "main" ]]; then
sed -i "/$sync.parallel-state-flushing/d" clients/erigon/erigon.sh
fi
go build . >> buildlogs.log
# Depends on the last line of hive output that prints the number of suites, tests and failed
# Currently, we fail even if suites and tests are too few, indicating the tests did not run
# We also fail if more than half the tests fail
- name: Run hive tests and parse output
run: |
cd hive
run_suite() {
echo -e "\n\n============================================================"
echo "Running test: ${1}"
echo -e "\n"
./hive --sim 'ethereum/eest/consume-engine' --client erigon 2>&1 | tee output.log || {
if [ $? -gt 0 ]; then
echo "Exitcode gt 0"
fi
}
status_line=$(tail -2 output.log | head -1 | sed -r "s/\x1B\[[0-9;]*[a-zA-Z]//g")
suites=$(echo "$status_line" | sed -n 's/.*suites=\([0-9]*\).*/\1/p')
if [ -z "$suites" ]; then
status_line=$(tail -1 output.log | sed -r "s/\x1B\[[0-9;]*[a-zA-Z]//g")
suites=$(echo "$status_line" | sed -n 's/.*suites=\([0-9]*\).*/\1/p')
fi
tests=$(echo "$status_line" | sed -n 's/.*tests=\([0-9]*\).*/\1/p')
failed=$(echo "$status_line" | sed -n 's/.*failed=\([0-9]*\).*/\1/p')

echo -e "\n"
echo "----------- Results for ${1} -----------"
echo "Tests: $tests, Failed: $failed"
echo -e "\n\n============================================================"

if (( tests < 4 )); then
echo "Too few tests run for suite ${1} - ${tests} tests"
exit 1
fi
if (( failed*2 > tests )); then
echo "Too many failures for suite ${1} - ${failed} failed out of ${tests}"
exit 1
fi
}
run_suite eest/consume-engine
87 changes: 87 additions & 0 deletions .github/workflows/test-hive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Test Hive

on:
push:
branches:
- release/*
- pectra_e2
schedule:
- cron: "0 05 * * *" # daily at 5 am UTC
workflow_dispatch:


jobs:
test-hive:
runs-on: ubuntu-latest
steps:
- name: Checkout Hive
uses: actions/checkout@v4
with:
repository: ethereum/hive
# ref: master
path: hive
- name: Setup go env and cache
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
go-version-file: 'hive/go.mod'

# Targetting the clients/erigon/Dockerfile.git in the Hive director -
# this builds the container from github and uses it for tests
- name: Get dependencies and build hive
run: |
cd hive
go get . >> buildlogs.log
rm clients/erigon/Dockerfile
mv clients/erigon/Dockerfile.git clients/erigon/Dockerfile
branch_name=$(echo ${GITHUB_REF#refs/heads/} | sed 's/[&/\]/\\&/g')
echo Building Hive with Erigon branch - $branch_name
sed -i "s/^ARG tag=main$/ARG tag=${branch_name}/" clients/erigon/Dockerfile
if [[ "$branch_name" != "main" ]]; then
sed -i "/$sync.parallel-state-flushing/d" clients/erigon/erigon.sh
fi
go build . >> buildlogs.log
# Depends on the last line of hive output that prints the number of suites, tests and failed
# Currently, we fail even if suites and tests are too few, indicating the tests did not run
# We also fail if more than half the tests fail
- name: Run hive tests and parse output
run: |
cd hive
run_suite() {
echo -e "\n\n============================================================"
echo "Running test: ${1}-${2}"
echo -e "\n"
./hive --sim ethereum/"${1}" --sim.limit="${2}" --client erigon 2>&1 | tee output.log || {
if [ $? -gt 0 ]; then
echo "Exitcode gt 0"
fi
}
status_line=$(tail -2 output.log | head -1 | sed -r "s/\x1B\[[0-9;]*[a-zA-Z]//g")
suites=$(echo "$status_line" | sed -n 's/.*suites=\([0-9]*\).*/\1/p')
if [ -z "$suites" ]; then
status_line=$(tail -1 output.log | sed -r "s/\x1B\[[0-9;]*[a-zA-Z]//g")
suites=$(echo "$status_line" | sed -n 's/.*suites=\([0-9]*\).*/\1/p')
fi
tests=$(echo "$status_line" | sed -n 's/.*tests=\([0-9]*\).*/\1/p')
failed=$(echo "$status_line" | sed -n 's/.*failed=\([0-9]*\).*/\1/p')

echo -e "\n"
echo "----------- Results for ${1}-${2} -----------"
echo "Tests: $tests, Failed: $failed"
echo -e "\n\n============================================================"

if (( tests < 4 )); then
echo "Too few tests run for suite ${1}-${2} - ${tests} tests"
exit 1
fi
if (( failed*2 > tests )); then
echo "Too many failures for suite ${1}-${2} - ${failed} failed out of ${tests}"
exit 1
fi
}
run_suite engine exchange-capabilities
run_suite engine withdrawals
run_suite engine cancun
run_suite engine api
run_suite engine auth
run_suite rpc compat
22 changes: 14 additions & 8 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
ChangeLog

## v2.60.10 (in development)
## v2.60.10

### TODO

Acknowledgements:

New features:

Fixes:
**Bugfixes:**

- Trace API: commit state changes from InitializeBlockExecution @yperbasis in [#12559](https://github.com/erigontech/erigon/pull/12559).
Prior to this PR in `callManyTransactions` (invoked by `trace_block`)
changes made by `InitializeBlockExecution` were discarded. That was immaterial before since no much was
happening at the beginning of a block. But that changed in Dencun with
[EIP-4788](https://eips.ethereum.org/EIPS/eip-4788).
Fixes Issues
[#11871](https://github.com/erigontech/erigon/issues/11871),
[#12092](https://github.com/erigontech/erigon/issues/12092),
[#12242](https://github.com/erigontech/erigon/issues/12242),
[#12432](https://github.com/erigontech/erigon/issues/12432),
[#12473](https://github.com/erigontech/erigon/issues/12473),
and [#12525](https://github.com/erigontech/erigon/issues/12525).
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.2
FROM docker.io/library/golang:1.21-alpine3.17 AS builder
FROM docker.io/library/golang:1.22-alpine3.19 AS builder

RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++

Expand All @@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/root/.cache \
make BUILD_TAGS=nosqlite,noboltdb,nosilkworm all


FROM docker.io/library/golang:1.21-alpine3.17 AS tools-builder
FROM docker.io/library/golang:1.22-alpine3.19 AS tools-builder
RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++
WORKDIR /app

Expand All @@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/root/.cache \
--mount=type=cache,target=/go/pkg/mod \
make db-tools

FROM docker.io/library/alpine:3.17
FROM docker.io/library/alpine:3.19

# install required runtime libs, along with some helpers for debugging
RUN apk add --no-cache ca-certificates libstdc++ tzdata
Expand Down
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DOCKER := $(shell command -v docker 2> /dev/null)

GIT_COMMIT ?= $(shell git rev-list -1 HEAD)
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
GIT_TAG ?= $(shell git describe --tags '--match=v*' --dirty)
GIT_TAG ?= $(shell git describe --tags '--match=*.*.*' --abbrev=7 --dirty)
ERIGON_USER ?= erigon
# if using volume-mounting data dir, then must exist on host OS
DOCKER_UID ?= $(shell id -u)
Expand Down Expand Up @@ -175,6 +175,18 @@ test-integration: test-erigon-lib
test3-integration: test-erigon-lib
$(GOTEST) --timeout 240m -tags $(BUILD_TAGS),integration,e3

## test-hive run the hive tests locally off nektos/act workflows simulator
test-hive:
@if ! command -v act >/dev/null 2>&1; then \
echo "act command not found in PATH, please source it in PATH. If nektosact is not installed, install it by visiting https://nektosact.com/installation/index.html"; \
elif [ -z "$(GITHUB_TOKEN)"]; then \
echo "Please export GITHUB_TOKEN var in the environment" ; \
elif [ "$(SUITE)" = "eest" ]; then \
act -j test-hive-eest -s GITHUB_TOKEN=$(GITHUB_TOKEN) ; \
else \
act -j test-hive -s GITHUB_TOKEN=$(GITHUB_TOKEN) ; \
fi

## lint-deps: install lint dependencies
lint-deps:
@cd erigon-lib && $(MAKE) lint-deps
Expand Down
Loading
Loading