Skip to content

Commit cb5e227

Browse files
committed
Merge remote-tracking branch 'upstream/main' into devel
2 parents 47c2699 + 14c5d26 commit cb5e227

File tree

2,565 files changed

+1250716
-182717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,565 files changed

+1250716
-182717
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ steps:
33
- command: './nightly.sh'
44
label: 'build & run geth'
55
env:
6-
BUILDKITE_GOLANG_IMPORT_PATH: "github.com/ledgerwatch/erigon"
6+
BUILDKITE_GOLANG_IMPORT_PATH: "github.com/erigontech/erigon"

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ smallest of fixes!
77
If you'd like to contribute to Erigon, please fork, fix, commit and send a
88
pull request for the maintainers to review and merge into the main code base. If
99
you wish to submit more complex changes though, please check up with the core
10-
devs first on [Discord server](https://github.com/ledgerwatch/erigon#erigon-discord-server) to
10+
devs first on [Discord server](https://github.com/erigontech/erigon#erigon-discord-server) to
1111
ensure those changes are in line with the general philosophy of the project
1212
and/or get some early feedback which can make both your efforts much lighter as
1313
well as our review and merge procedures quick and simple.
@@ -21,7 +21,7 @@ Please make sure your contributions adhere to our coding guidelines:
2121
(i.e. uses [gofmt](https://golang.org/cmd/gofmt/)).
2222
* Code must be documented adhering to the official Go
2323
[commentary](https://golang.org/doc/effective_go.html#commentary) guidelines.
24-
* Pull requests need to be based on and opened against the `devel` branch.
24+
* Pull requests need to be based on and opened against the `main` branch.
2525
* Commit messages should be prefixed with the package(s) they modify.
2626
* E.g. "eth, rpc: make trace configs optional"
2727

@@ -30,11 +30,11 @@ Please make sure your contributions adhere to our coding guidelines:
3030
Before you submit a feature request, please check and make sure that it isn't
3131
possible through some other means. The JavaScript-enabled console is a powerful
3232
feature in the right hands. Please check our
33-
[Wiki page](https://github.com/ledgerwatch/erigon/wiki) for more info
33+
[Wiki page](https://github.com/erigontech/erigon/wiki) for more info
3434
and help.
3535

3636
## Configuration, dependencies, and tests
3737

38-
Please see the [Readme](https://github.com/ledgerwatch/erigon#readme) file
38+
Please see the [Readme](https://github.com/erigontech/erigon#readme) file
3939
for more details on configuring your environment, managing project dependencies
4040
and testing procedures.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ labels: 'type:docs'
66
assignees: ''
77
---
88

9-
This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Erigon's discord](https://github.com/ledgerwatch/erigon#erigon-discord-server).
9+
This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Erigon's discord](https://github.com/erigontech/erigon#erigon-discord-server).

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check
33
on:
44
push:
55
branches:
6-
- devel
6+
- main
77
workflow_dispatch:
88

99
jobs:

.github/workflows/ci.yml

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@ name: CI
22
on:
33
push:
44
branches:
5-
- devel
6-
- alpha
5+
- main
76
- 'release/**'
87
pull_request:
98
branches:
10-
- devel
11-
- alpha
9+
- main
1210
- 'release/**'
1311
types:
1412
- opened
1513
- reopened
1614
- synchronize
1715
- ready_for_review
16+
workflow_dispatch:
1817

1918
concurrency:
2019
group: ${{ github.ref }}
@@ -28,14 +27,16 @@ jobs:
2827
# list of os: https://github.com/actions/virtual-environments
2928
os:
3029
- ubuntu-22.04
31-
- macos-13
30+
- macos-14
3231
runs-on: ${{ matrix.os }}
3332

3433
steps:
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-go@v4
34+
- uses: actions/checkout@v4
3735
with:
38-
go-version: '1.20'
36+
fetch-depth: 0
37+
- uses: actions/setup-go@v5
38+
with:
39+
go-version: '1.21'
3940
- name: Install dependencies on Linux
4041
if: runner.os == 'Linux'
4142
run: sudo apt update && sudo apt install build-essential
@@ -55,23 +56,27 @@ jobs:
5556
5657
- name: Install golangci-lint
5758
if: runner.os == 'Linux'
58-
uses: golangci/golangci-lint-action@v4
59+
uses: golangci/golangci-lint-action@v6
5960
with:
60-
version: v1.56.1
61+
version: v1.59.1
6162
skip-build-cache: true
6263
args: --help
6364

64-
- name: Install go-licenses
65-
if: runner.os == 'Linux'
66-
run: cd erigon-lib && make lint-licenses-deps
67-
6865
- name: Lint
6966
if: runner.os == 'Linux'
7067
run: make lint
7168

7269
- name: Test
7370
run: make test
7471

72+
- name: SonarCloud
73+
if: runner.os == 'Linux'
74+
uses: SonarSource/[email protected]
75+
env:
76+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
77+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
78+
continue-on-error: true
79+
7580
tests-windows:
7681
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
7782
strategy:
@@ -81,15 +86,15 @@ jobs:
8186

8287
steps:
8388
- name: configure Pagefile
84-
uses: al-cheb/configure-pagefile-action@v1.3
89+
uses: al-cheb/configure-pagefile-action@v1.4
8590
with:
8691
minimum-size: 8GB
87-
- uses: actions/checkout@v3
88-
- uses: actions/setup-go@v4
92+
- uses: actions/checkout@v4
93+
- uses: actions/setup-go@v5
8994
with:
90-
go-version: '1.20'
95+
go-version: '1.21'
9196

92-
- uses: actions/cache@v3
97+
- uses: actions/cache@v4
9398
with:
9499
path: |
95100
C:\ProgramData\chocolatey\lib\mingw
@@ -110,12 +115,13 @@ jobs:
110115
run: cd erigon-lib && make test-no-fuzz
111116

112117
docker-build-check:
113-
# don't run this on devel - the PR must have run it to be merged and it misleads that this pushes the docker image
114-
if: (${{ github.event_name == 'push' || !github.event.pull_request.draft }}) && ${{ github.ref != 'refs/heads/devel' }}
118+
# don't run this on main - the PR must have run it to be merged and it misleads that this pushes the docker image
119+
if: (${{ github.event_name == 'push' || !github.event.pull_request.draft }}) && ${{ github.ref != 'refs/heads/main' }}
115120
runs-on: ubuntu-22.04
121+
116122
steps:
117123
- uses: AutoModality/action-clean@v1
118-
- uses: actions/checkout@v3
124+
- uses: actions/checkout@v4
119125
with:
120126
fetch-depth: 0 # fetch git tags for "git describe"
121127

@@ -131,7 +137,7 @@ jobs:
131137
# ubuntu-22.04
132138
# if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
133139
# steps:
134-
# - uses: actions/checkout@v3
140+
# - uses: actions/checkout@v4
135141
#
136142
# - name: run automated testing
137143
# run: BUILD_ERIGON=1 ./tests/automated-testing/run.sh

.github/workflows/coverage.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/docker-tags.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

1818
- name: dockerhub-login
19-
uses: docker/login-action@v2
19+
uses: docker/login-action@v3
2020
with:
2121
username: ${{ secrets.DOCKERHUB }}
2222
password: ${{ secrets.DOCKERHUB_KEY }}
2323
- name: ghcr-login
24-
uses: docker/login-action@v2
24+
uses: docker/login-action@v3
2525
with:
2626
registry: ghcr.io
2727
username: ${{ github.repository_owner }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
2929

30-
- uses: docker/setup-qemu-action@v2
30+
- uses: docker/setup-qemu-action@v3
3131

3232
- run: |
3333
make release-dry-run
3434
docker images
3535
# docker image push --all-tags thorax/erigon
36-
# docker image push --all-tags ghcr.io/ledgerwatch/erigon
36+
# docker image push --all-tags ghcr.io/erigontech/erigon
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
VERSION: ${GITHUB_REF#refs/tags/}
4040
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
41-
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
41+
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}

.github/workflows/download-page.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/hive-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: AutoModality/action-clean@v1
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0 # fetch git tags for "git describe"
1616

@@ -38,8 +38,8 @@ jobs:
3838
done
3939
4040
- name: parse hive results
41-
uses: phoenix-actions/test-reporting@v10
41+
uses: phoenix-actions/test-reporting@v15
4242
with:
4343
name: Tests
4444
path: results-${{ github.run_id }}/*.xml
45-
reporter: java-junit
45+
reporter: java-junit

.github/workflows/manifest.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Manifest Check
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- 'release/**'
7+
paths:
8+
- 'go.mod'
9+
pull_request:
10+
branches:
11+
- main
12+
- 'release/**'
13+
paths:
14+
- 'go.mod'
15+
types:
16+
- opened
17+
- reopened
18+
- synchronize
19+
- ready_for_review
20+
workflow_dispatch:
21+
22+
jobs:
23+
# check-snap-modifications:
24+
# runs-on: ubuntu-24.04
25+
# outputs:
26+
# modified: ${{ steps.check-modified.outputs.modified }}
27+
#
28+
# steps:
29+
# - uses: actions/checkout@v4
30+
# with:
31+
# fetch-depth: 2 # Ensures we fetch enough history to compare
32+
#
33+
# - name: Is erigontech/erigon-snapshot updated in go.mod # if not, pipeline should exit because grep exit code >0 when no match
34+
# run: |
35+
# git diff HEAD~1 HEAD -- go.mod | grep 'github.com/erigontech/erigon-snapshot'
36+
37+
ManifestCheck:
38+
# needs: check-snap-modifications
39+
if: github.event.pull_request.draft == false
40+
runs-on: ubuntu-24.04
41+
42+
steps:
43+
- uses: actions/checkout@v4
44+
- uses: actions/setup-go@v5
45+
with:
46+
go-version: '1.22'
47+
- run: sudo apt update && sudo apt install build-essential
48+
- run: make downloader
49+
- run: echo $ModModified
50+
- run: ./build/bin/downloader manifest-verify --chain mainnet
51+
- run: ./build/bin/downloader manifest-verify --chain bor-mainnet
52+
- run: ./build/bin/downloader manifest-verify --chain gnosis
53+
- run: ./build/bin/downloader manifest-verify --chain chiado
54+
- run: ./build/bin/downloader manifest-verify --chain sepolia
55+
- run: ./build/bin/downloader manifest-verify --chain amoy

0 commit comments

Comments
 (0)