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

Alpha5 #542

Merged
merged 186 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
7e45085
Caplin: Fixed rewards endpoint (added "execution_optimistic" and "fin…
Giulio2002 Sep 27, 2024
f4a93f6
Caplin: Reduced BLS caching (#12107)
Giulio2002 Sep 28, 2024
db9f28f
Lowered caplin's granularity of snashots production (#12121)
Giulio2002 Sep 28, 2024
6bb3038
Added mgas/sec grafana metric (#12122)
Giulio2002 Sep 28, 2024
34f7656
rpcdaemon: Update the doc agenda jump link path (#12120)
massarinoaa Sep 28, 2024
7dfc912
Caplin: Reduced snapshot semaphore to 1 (#12123)
Giulio2002 Sep 28, 2024
10fa19c
diagnostics: fix port (#12119)
dvovk Sep 28, 2024
bef0fad
Fix english typos (#12128)
errge Sep 29, 2024
bf0d328
Fixing new caplin snapshots interval retirement (#12124)
Giulio2002 Sep 29, 2024
40bb103
polygon/sync: add bridge unwind logic for astrid (#12071)
taratorio Sep 29, 2024
443fabe
Fix preverified toml (#12132)
dvovk Sep 29, 2024
ad05810
fast-path for getReceipts (#12050)
stevemilk Sep 29, 2024
4b9199b
Fixed panic of `.idx` during merge of historical `.idxes` (#12133)
Giulio2002 Sep 29, 2024
60b68a6
Caplin: Add switch to enable/disable static files generation (#12131)
Giulio2002 Sep 30, 2024
c022522
prevent (alternate) ci-cd make docker to tag main-latest image (#12136)
sudeepdino008 Sep 30, 2024
1861dcd
Update EIP-7251 address (#12135)
somnathb1 Sep 30, 2024
4e24b44
Add caplin metrics for aggregation and block processing (#12134)
Giulio2002 Sep 30, 2024
6253b98
Update README.md (#12091)
AskAlexSharov Oct 1, 2024
0ab5dc7
rpc: Move Astrid snapshot reader (#12142)
shohamc1 Oct 1, 2024
b6eeeea
kurtosis ci to trigger on docker build/push workflow (#12118)
sudeepdino008 Oct 1, 2024
7086799
Type of error field in structlog logger differs from geth, alloy (#…
AskAlexSharov Oct 1, 2024
858d6d5
add epoch processing metric (#12144)
shotasilagadze Oct 1, 2024
2c1b97e
polygon: fix bor_heimdall stage unwinding due to event processed bloc…
taratorio Oct 1, 2024
5777e84
Update EIP-7702: simpler transaction validity (#12146)
yperbasis Oct 1, 2024
43dcfba
add metrics for epoch processing subprocesses (#12151)
shotasilagadze Oct 1, 2024
9c10433
ci: Split lint from test CI (#12139)
shohamc1 Oct 1, 2024
dcf7bca
Fix caplin RPC attestation rewards being off by one epoch (#12073)
errge Oct 1, 2024
58e7893
fix kurtosis config (#12168)
sudeepdino008 Oct 2, 2024
c85363c
ci: Prevent lint from being cancelled (#12169)
shohamc1 Oct 2, 2024
95d3780
polygon/heimdall: add ErrServiceUnavailable transient err (#12173)
taratorio Oct 2, 2024
bcee5fb
Track beacon chain analytics about attestation aggregates (#12165)
Giulio2002 Oct 2, 2024
b013526
diagnostics: Peername (#12184)
dvovk Oct 2, 2024
71fa493
remove discord notifications as kurtosis is part of regular ci now (#…
sudeepdino008 Oct 3, 2024
794c166
polygon/sync: block downloader to handle possible gaps between last c…
taratorio Oct 3, 2024
f86c892
Check refcount in reopen dirty seg (#12207)
mh0lt Oct 4, 2024
39f196f
astrid: stage integration to communicate execution errs back (#12177)
taratorio Oct 4, 2024
03aea2a
Small fixes in README (#12068)
benleb Oct 4, 2024
d903520
turbo: remove duplicate log (#12166)
stevemilk Oct 4, 2024
8ef8ca2
diagnostics: disk info linux (#11970)
dvovk Oct 4, 2024
3117d74
add shuffling indices metrics (#12216)
shotasilagadze Oct 4, 2024
a6e319c
Caplin: Add flag to listen to entire network traffic (#12226)
Giulio2002 Oct 4, 2024
b990134
docs: remove 404 link (#12232)
RealMaxing Oct 7, 2024
c778929
docs: update non-functional link (#12170)
debjit-bw Oct 7, 2024
7fe3101
qa-tests: use rpcdaemon for rpc tests (Erigon 3) (#12199)
mriccobene Oct 7, 2024
9c84bf5
Caplin: Unflatten Attestation in preparation of Electra (#12228)
Giulio2002 Oct 7, 2024
4d3b905
polygon/sync,p2p: chain tip block fetch improvements (#12224)
taratorio Oct 8, 2024
6082dd9
astrid: stage integration fix for no-op fcu (#12239)
taratorio Oct 8, 2024
4a28b7f
Uncomment Makefile (#12251)
Giulio2002 Oct 8, 2024
e6a0caa
parallelise epoch processing subtasks (#12191)
shotasilagadze Oct 8, 2024
ef5422a
polygon/sync: initialise canonical chain builder correctly (#12246)
taratorio Oct 9, 2024
0c82470
log: warn to debug level (#12262)
stevemilk Oct 9, 2024
05fb023
freezeblocks: fix max visible segment when there is a gap in .idx fil…
taratorio Oct 9, 2024
863e643
Caplin: Add more sanity checks to blob antiquation (#12235)
Giulio2002 Oct 10, 2024
8b60e66
Preserve requests nil-ness in (un)marshalling (#12258)
yperbasis Oct 10, 2024
8030a81
chore: delete missing part (#12256)
ElijahJimy Oct 10, 2024
cbc7be5
github/workflows: Add hive on push CI (#12238)
somnathb1 Oct 10, 2024
f24d092
Allow `Commitment` to lookup dirty files for key dereferencing (#12267)
awskii Oct 10, 2024
709c6ba
Fix bad receipts notification (#12260)
Giulio2002 Oct 10, 2024
39b62b4
Listen to two random attestation subnets (#12254)
shotasilagadze Oct 10, 2024
6a6a737
Added temporal db to evm cmd (#12270)
JkLondon Oct 10, 2024
857098e
polygon/sync: avoid dropping milestone events (#12269)
taratorio Oct 10, 2024
792addd
Sanity check gas limit before block building (#12264)
Giulio2002 Oct 10, 2024
4311fe9
add `integration alloc 1g` cmd: to hold ram on server (#12231)
AskAlexSharov Oct 10, 2024
1e00a76
decomp: remove double-ptr (#12130)
AskAlexSharov Oct 10, 2024
e26fc8d
qa-tests: add tip-tracking for Gnosis on Erigon 3 (#12236)
mriccobene Oct 11, 2024
8959ee8
Flatten EIP-7002 withdrawal requests encoding (#12138)
somnathb1 Oct 11, 2024
6c82d93
Flatten EIP-7251 Consolidation Requests encoding (#12167)
somnathb1 Oct 11, 2024
174116c
Lock dirty segs before incrementing ref counts (#12275)
mh0lt Oct 11, 2024
758b5df
parallelise registry updates (#12277)
shotasilagadze Oct 11, 2024
a11cfcc
polygon/sync: improvements to composite tip events channel (#12279)
taratorio Oct 11, 2024
d780e31
up x deps (#12286)
AskAlexSharov Oct 12, 2024
c60dbbc
Add more metrics on network latencies and import times (#12280)
Giulio2002 Oct 14, 2024
05b8256
Caplin: Shuffle validator set in idle time during previous epoch (#12…
Giulio2002 Oct 14, 2024
ede40b9
github/workflows: Silence on main branch push (#12290)
somnathb1 Oct 14, 2024
236f488
Make sync rewards accessible also in non-epoch boundary slots (#12293)
errge Oct 14, 2024
72bed85
Add tackers for total in and total out traffic (#12289)
Giulio2002 Oct 14, 2024
b66cc69
Caplin: Added more parallelization and endianess optimization (#12291)
Giulio2002 Oct 14, 2024
58777c7
Add dirty lock to recalc visible segments (#12304)
mh0lt Oct 14, 2024
78b895b
filter logs from rawdb (#12309)
awskii Oct 14, 2024
586af3d
add max peer count as cli parameter (#12311)
shotasilagadze Oct 14, 2024
ca49900
qa-tests: add rpc test bisection tool (#12306)
mriccobene Oct 15, 2024
07f0e89
qa-tests: fix constrained-tip-tracking test (#12053)
mriccobene Oct 15, 2024
1771c28
Generate Bor receipts (#12295)
shohamc1 Oct 15, 2024
cce322f
borcfg: GetStateReceiverContract returns common.Address (#12317)
shohamc1 Oct 15, 2024
ae68dc0
Add early return in `ComputeTxEnv` for state sync transactions (#12316)
shohamc1 Oct 15, 2024
b403d53
Fix build (#12319)
shohamc1 Oct 15, 2024
ad68404
polygon/sync,p2p: astrid devp2p block announcements (#12313)
taratorio Oct 15, 2024
5d5f462
Improvements in getTxReceipts + bug fixes (#12271)
JkLondon Oct 16, 2024
ce2fa67
Fixes for ots_getTransactionBySenderAndNonce (#12322)
wmitsuda Oct 16, 2024
a99732e
Do not cancel in progress jobs in case of 'main' branch. (#12296)
lystopad Oct 16, 2024
0f6f89f
feat(eth/tracers): add coinbase to ctx (#12321)
jsvisa Oct 16, 2024
189c7aa
Make structlog's error field a string instead of an object (#12086)
einar-polygon Oct 16, 2024
a2acb61
fix: err msg for eth_callMany (#12029)
rekyyang Oct 16, 2024
1cc135f
Update BLS library (#12288)
Giulio2002 Oct 16, 2024
56bca71
Do not cancel in progress jobs for 'main' and latest release branches…
lystopad Oct 16, 2024
235d737
qa-tests: reschedule constrained-tip-tracking (#12333)
mriccobene Oct 16, 2024
cfa039e
qa-tests: improve rpc bisection tool (#12334)
mriccobene Oct 16, 2024
9a2a792
qa-tests: enable ots_getTransactionBySenderAndNonce tests (#12335)
mriccobene Oct 16, 2024
e0eb322
qa-tests: bump rpc-tests version (#12336)
mriccobene Oct 16, 2024
dca92a5
qa-tests: fix rpc-tests version (#12340)
mriccobene Oct 16, 2024
1b50e16
qa-tests: disable failing rpc tests (#12341)
mriccobene Oct 16, 2024
315f638
polygon/bridge: fix BorTxLookup encoding discrepancy (#12345)
taratorio Oct 16, 2024
67edaa8
Dont reopen idx with refs (#12346)
mh0lt Oct 16, 2024
29fc481
astrid: fix ReportBadHeaderPoS nil ptr in standalone (#12347)
taratorio Oct 16, 2024
8d8aa90
Optionally disable fcu timer (#12348)
mh0lt Oct 16, 2024
911a910
e3: compatibility with e2 on future blocks rpc (#12329)
AskAlexSharov Oct 16, 2024
04f6439
polygon/heimdall: optimise producers api at chain tip (#12312)
taratorio Oct 16, 2024
48f3d6c
qa-tests: enable more erigon_getBlockByTimestamp tests (#12278)
mriccobene Oct 17, 2024
b46552d
polygon/sync: handle bad blocks on chain tip (#12320)
taratorio Oct 17, 2024
2f9180a
qa-tests: change snap-download scheduling (#12349)
mriccobene Oct 18, 2024
3126c30
Fix ots_searchTransactions* rpc-tests (#12357)
wmitsuda Oct 18, 2024
ea2ca63
rpcdaemon: Split ComputeTxEnv (#12325)
shohamc1 Oct 18, 2024
200c85b
RPCDaemon: don't open uncomplete files at startup (#12332)
AskAlexSharov Oct 18, 2024
a91e648
small refactoring (#12276)
sudeepdino008 Oct 18, 2024
02f137c
rpcdaemon: Fix missing data in Bor receipts (#12359)
shohamc1 Oct 18, 2024
80691e4
tests: Add pectra-devnet-4 tests (All Spec tests Disabled) (#12363)
somnathb1 Oct 18, 2024
f9f7aa5
combine ProcessOperations signature verifications (#12356)
shotasilagadze Oct 18, 2024
eb5b145
rpcdaemon: Support Astrid on `debug_*` endpoints (#12365)
shohamc1 Oct 18, 2024
4d6c799
Fix sync_committee rewards to return no data on non-participation (#1…
errge Oct 18, 2024
c6bf9aa
EIP-7549 Move committee index outside Attestation (#12233)
domiwei Oct 18, 2024
4c47c59
Introduce GOAMD64 variable with default=v2 for AMD64 arch. (#12371)
lystopad Oct 18, 2024
2f9a3a3
seg: don't reopen files (#12362)
AskAlexSharov Oct 19, 2024
617a3de
`make mock` fix (#12328)
AskAlexSharov Oct 19, 2024
b27017f
kv_interface: reduce amount of types (#12326)
AskAlexSharov Oct 19, 2024
223ddd6
downloader: `.Completed()` method race fix (#12383)
AskAlexSharov Oct 21, 2024
fd711cb
turbo/jsonrpc: correction in fetching validatorByte in bor_snapshot.g…
AryaLanjewar3005 Oct 21, 2024
76ea14b
Cleanup space to avoid failures on a later stage. (#12392)
lystopad Oct 21, 2024
acdd683
less warnings in logs (#12376)
AskAlexSharov Oct 21, 2024
7758488
`x/exp` dep up. and switch to native go1.22 packages where can (#12327)
AskAlexSharov Oct 21, 2024
ada5581
Add workflow for docker image removal. (#12352)
lystopad Oct 21, 2024
abe6900
seg: add IsFrozen helper (#12381)
AskAlexSharov Oct 21, 2024
af60283
seg: no refcnt of frozen files (#12378)
AskAlexSharov Oct 21, 2024
c44ff37
seg: caplin calc visible files - use new `Indexed()` method (#12382)
AskAlexSharov Oct 21, 2024
73476ab
Commitment: partial unfold (#11546)
awskii Oct 21, 2024
fd7c030
files: enforce constructor-responsibility in closing partially-open f…
AskAlexSharov Oct 21, 2024
0d3b847
Update docker-image-remove.yml (#12397)
lystopad Oct 21, 2024
2fbe6be
Fix in docker-image-remove.yml (#12399)
lystopad Oct 21, 2024
7d14262
dbg: env var for heap profile output file path (#12400)
taratorio Oct 21, 2024
3528e62
Known config needs chain name not filename (#12403)
mh0lt Oct 21, 2024
54d7bd9
`RecentLogs` prevent grow over `limit` (#12386)
AskAlexSharov Oct 22, 2024
5e62f1d
headerdownload: fix OOM due to inifinitely growing children in link (…
taratorio Oct 22, 2024
09fefa4
chore: fix typo in turbo/app/README.md (#12402)
bodhi-crypo Oct 22, 2024
6c95e9c
rpcdaemon: Set correct tx index when generating Bor receipts (#12408)
shohamc1 Oct 22, 2024
8f3b14d
naming: seg `reopen` -> `open` (#12410)
AskAlexSharov Oct 22, 2024
21562b6
Rename requestsRoot to requestsHash in block header (#12369)
somnathb1 Oct 22, 2024
e7cb625
add metrics for time it took to aggregate a single attestation (#12390)
shotasilagadze Oct 22, 2024
09d9ea8
Check availability of `preverified.toml` contents (#12415)
awskii Oct 23, 2024
f6c0ac2
speedup Fuzz_ProcessUpdates_ArbitraryUpdateCount (#12420)
AskAlexSharov Oct 23, 2024
082bf7e
Remove EIP-7685 requests from body, block and exeution payload (#12370)
somnathb1 Oct 23, 2024
cc28d26
manifest-verify: parallel etag fetch (#12421)
AskAlexSharov Oct 23, 2024
3137718
handle error from `semaphore.Aquire` (#12417)
AskAlexSharov Oct 23, 2024
4837639
Engine API and type changes for flat requests in Pectra (#12337)
somnathb1 Oct 23, 2024
18bf69a
downloader: race at startup (#12423)
AskAlexSharov Oct 23, 2024
c5b303e
bor: milestone avoid `TryLock` (#12422)
AskAlexSharov Oct 23, 2024
03aa26d
Don't pass requests to consensus Finalize (#12425)
yperbasis Oct 23, 2024
78f3647
Bump version to alpha 5 (#12428)
VBulikov Oct 23, 2024
cdf9e83
get metrics for the number of indices in aggregate and proof (#12389)
shotasilagadze Oct 23, 2024
17e9b48
Remove engine_exchangeTransitionConfiguration (#12430)
yperbasis Oct 24, 2024
89dbd89
Remove remnants of requests from block body downloader (#12426)
yperbasis Oct 24, 2024
fe19f3d
qa-tests: rpc bisection tool - fix version tag (#12344)
mriccobene Oct 24, 2024
009fc19
speed up closeWhatNotInList (#12114)
stevemilk Oct 24, 2024
dbefdad
txn overlap (#12433)
Giulio2002 Oct 24, 2024
5fc055f
rpc-tests: remove test on engine_exchangetransitionconfigurationv1 (#…
mriccobene Oct 24, 2024
5ca9e25
Simplify EIP-6110 Deposit requests (#12388)
somnathb1 Oct 24, 2024
f9527b8
rpcdaemon: Get state at end of the block when generating Bor receipts…
shohamc1 Oct 24, 2024
e7949c6
Modify EIP-7702 Txn impl per pectra-devnet-4 specs (#12416)
somnathb1 Oct 24, 2024
98527e9
rpcdaemon: Remove spanProducersReader from snapshot (#12435)
shohamc1 Oct 24, 2024
23e637b
lib: Update interfaces go mod (#12459)
somnathb1 Oct 24, 2024
da79034
engineapi: Fix json unmarshal issue (#12465)
somnathb1 Oct 24, 2024
3d5d022
optimise a.blsToExecutionChangeService.ProcessMessage with async sign…
shotasilagadze Oct 24, 2024
9756fc7
chore: fix some function names in comment (#12464)
wangjingcun Oct 25, 2024
f5b768d
seg: split `segments` field - on 2 fields guarded by 2 different mute…
AskAlexSharov Oct 25, 2024
eb0935d
external RPCDaemon: to use same `engine` variable logic creation - as…
AskAlexSharov Oct 25, 2024
db28ce4
Remove unused func HasAddr (#12486)
yperbasis Oct 25, 2024
d1ec147
Remove StateReconstitution feature (#12483)
AskAlexSharov Oct 25, 2024
cf4ace8
readme.md update for Erigon3 (#12477)
AskAlexSharov Oct 25, 2024
c13dbaa
Use cache only for main and latest two release branches. (#12492)
lystopad Oct 25, 2024
3dd73c9
engine: Remove engine_getPayloadBodiesBy{Hash|Range}V2 (#12487)
yperbasis Oct 25, 2024
b3cc0f6
fixed average mgas metric in logs (#12472)
Giulio2002 Oct 25, 2024
8fce62a
Fixed totalActiveBalance being behind by one epoch (#12314)
Giulio2002 Oct 25, 2024
64527a3
Fix the wiki for gnome Tracker (#12501)
Leeyqiongyuan Oct 26, 2024
ac503e5
Fix stage_custom_trace (#12504)
blxdyx Oct 27, 2024
cfd5ca1
Split out parallel exec (#12507)
mh0lt Oct 27, 2024
70847ad
upstream alpha5
blxdyx Oct 28, 2024
55d8a78
fix bsc snapshots
blxdyx Oct 28, 2024
bba5d11
fix bsc snapshots
blxdyx Oct 28, 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
  •  
  •  
  •  
31 changes: 27 additions & 4 deletions .github/workflows/ci-cd-main-branch-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,22 @@ on:
workflow_dispatch:

jobs:
define_matrix:
runs-on: ubuntu-latest
outputs:
os: ${{ steps.os.outputs.os }}

steps:
- name: Define os
id: os
run: echo 'os=ubuntu-latest' >> "$GITHUB_OUTPUT"

Build:
runs-on: ubuntu-22.04
needs: define_matrix
runs-on: ${{ needs.define_matrix.outputs.os }}
timeout-minutes: 45
outputs:
docker_build_tag: ${{ steps.built_tag_export.outputs.docker_build_tag }}

steps:
- name: Fast checkout git repository
Expand Down Expand Up @@ -115,9 +127,20 @@ jobs:
--push \
--platform linux/amd64,linux/arm64 .

- name: Print docker images published
- name: export and print docker build tag
id: built_tag_export
env:
BUILD_VERSION: "main-${{ steps.getCommitId.outputs.short_commit_id }}"
run: |
echo "docker_build_tag=${{ env.BUILD_VERSION }}" >> $GITHUB_OUTPUT
echo The following docker images have been published:
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-${{ steps.getCommitId.outputs.short_commit_id }}"
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-${{ env.BUILD_VERSION }}"
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-latest"


run-kurtosis-assertoor:
needs: [define_matrix, Build]
uses: erigontech/erigon/.github/workflows/test-kurtosis-assertoor.yml@main
with:
checkout_ref: ${{ github.sha }}
os: ${{ needs.define_matrix.outputs.os }}
docker_build_tag: ${{ needs.Build.outputs.docker_build_tag }}
133 changes: 0 additions & 133 deletions .github/workflows/ci-cd-main-branch-docker-images2.yml

This file was deleted.

22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ on:
push:
branches:
- main
- erigon2
- 'release/**'
pull_request:
branches:
- main
- erigon2
- 'release/**'
- '**'
types:
- opened
- reopened
Expand All @@ -19,7 +16,11 @@ on:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ !contains(fromJSON('[
"refs/heads/release/2.60",
"refs/heads/release/2.61",
"refs/heads/main"
]'), github.ref) }}

jobs:
tests:
Expand Down Expand Up @@ -56,17 +57,6 @@ jobs:
echo >&2 "Reproducible build broken"; cat erigon1.sha256; cat erigon2.sha256; exit 1
fi

- name: Install golangci-lint
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
args: --help

- name: Lint
if: runner.os == 'Linux'
run: make lint

- name: Test
run: make test

Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/docker-image-remove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Remove docker image
run-name: Request to remove erigontech/erigon:${{ inputs.docker_image_tag }} by @${{ github.actor }}

env:
DOCKERHUB_REPOSITORY: "erigontech/erigon"
API_URL: "https://hub.docker.com/v2/repositories/erigontech/erigon/tags"

on:
push:
branches-ignore:
- '**'
workflow_dispatch:
inputs:
docker_image_tag:
required: true
type: string
default: 'not_yet_defined'
description: 'Docker image tag to remove from hub.docker.com. Works only for erigontech/erigon'

jobs:

build-release:
runs-on: ubuntu-latest
timeout-minutes: 15
name: Remove docker image

steps:

- name: Run API Call
env:
TOKEN: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}
run: |
output_code=$(curl --write-out %{http_code} --output curl-output.log \
-s -X DELETE -H "Accept: application/json" \
-H "Authorization: JWT ${{ env.TOKEN }}" \
${{ env.API_URL }}/${{ inputs.docker_image_tag }} )
if [ $output_code -ne 204 ]; then
echo "ERROR: failed to remove docker image ${{ env.DOCKERHUB_REPOSITORY }}:${{ inputs.docker_image_tag }}"
echo "ERROR: API response: $(cat curl-output.log)."
exit 1
else
echo "SUCCESS: docker image ${{ env.DOCKERHUB_REPOSITORY }}:${{ inputs.docker_image_tag }} removed."
exit 0
fi
4 changes: 1 addition & 3 deletions .github/workflows/hive-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Hive (Nightly)

on:
# schedule:
# - cron: "0 01 * * *" # run at 1 am UTC every day
workflow_dispatch:

jobs:
hive:
hive-nightly:
runs-on: ubuntu-latest
steps:
- uses: AutoModality/action-clean@v1
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Lint
on:
push:
branches:
- main
- 'release/**'
pull_request:
branches:
- main
- 'release/**'
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:

jobs:
lint:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install golangci-lint
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
args: --help

- name: Lint
if: runner.os == 'Linux'
run: make lint
18 changes: 1 addition & 17 deletions .github/workflows/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,15 @@ on:
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
go-version: '1.23'
- run: make downloader
- run: echo $ModModified
- run: ./build/bin/downloader manifest-verify --chain bsc
Expand Down
Loading
Loading