Skip to content

Commit 00fce34

Browse files
authored
Merge pull request #652 from ethereum-optimism/seb/geth-v1.16.1
all: Merge go-ethereum v1.16.1
2 parents 085b529 + 8dc7194 commit 00fce34

File tree

393 files changed

+22951
-8191
lines changed

Some content is hidden

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

393 files changed

+22951
-8191
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
workflow_dispatch:
3+
4+
### Note we cannot use cron-triggered builds right now, Gitea seems to have
5+
### a few bugs in that area. So this workflow is scheduled using an external
6+
### triggering mechanism and workflow_dispatch.
7+
#
8+
# schedule:
9+
# - cron: '0 15 * * *'
10+
11+
jobs:
12+
azure-cleanup:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Go
18+
uses: actions/setup-go@v5
19+
with:
20+
go-version: 1.24
21+
cache: false
22+
23+
- name: Run cleanup script
24+
run: |
25+
go run build/ci.go purge -store gethstore/builds -days 14
26+
env:
27+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}

.gitea/workflows/release-ppa.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
on:
2+
push:
3+
tags:
4+
- "v*"
5+
workflow_dispatch:
6+
7+
### Note we cannot use cron-triggered builds right now, Gitea seems to have
8+
### a few bugs in that area. So this workflow is scheduled using an external
9+
### triggering mechanism and workflow_dispatch.
10+
#
11+
# schedule:
12+
# - cron: '0 16 * * *'
13+
14+
15+
jobs:
16+
ppa:
17+
name: PPA Upload
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Show environment
23+
run: |
24+
env
25+
26+
- name: Set up Go
27+
uses: actions/setup-go@v5
28+
with:
29+
go-version: 1.24
30+
cache: false
31+
32+
- name: Install deb toolchain
33+
run: |
34+
apt-get update
35+
apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
36+
37+
- name: Add launchpad to known_hosts
38+
run: |
39+
echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
40+
41+
- name: Run ci.go
42+
run: |
43+
go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>"
44+
env:
45+
PPA_SIGNING_KEY: ${{ secrets.PPA_SIGNING_KEY }}
46+
PPA_SSH_KEY: ${{ secrets.PPA_SSH_KEY }}

.gitea/workflows/release.yml

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
on:
2+
push:
3+
branches:
4+
- "master"
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
linux-intel:
10+
name: Linux Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version: 1.24
19+
cache: false
20+
21+
- name: Install cross toolchain
22+
run: |
23+
apt-get update
24+
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
25+
26+
- name: Build (amd64)
27+
run: |
28+
go run build/ci.go install -static -arch amd64 -dlgo
29+
30+
- name: Create/upload archive (amd64)
31+
run: |
32+
go run build/ci.go archive -arch amd64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
33+
rm -f build/bin/*
34+
env:
35+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
36+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
37+
38+
- name: Build (386)
39+
run: |
40+
go run build/ci.go install -static -arch 386 -dlgo
41+
42+
- name: Create/upload archive (386)
43+
run: |
44+
go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
45+
rm -f build/bin/*
46+
env:
47+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
48+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
49+
50+
linux-arm:
51+
name: Linux Build (arm)
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
56+
- name: Set up Go
57+
uses: actions/setup-go@v5
58+
with:
59+
go-version: 1.24
60+
cache: false
61+
62+
- name: Install cross toolchain
63+
run: |
64+
apt-get update
65+
apt-get -yq --no-install-suggests --no-install-recommends install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
66+
ln -s /usr/include/asm-generic /usr/include/asm
67+
68+
- name: Build (arm64)
69+
run: |
70+
go run build/ci.go install -static -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
71+
72+
- name: Create/upload archive (arm64)
73+
run: |
74+
go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
75+
rm -fr build/bin/*
76+
env:
77+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
78+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
79+
80+
- name: Run build (arm5)
81+
run: |
82+
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
83+
env:
84+
GOARM: "5"
85+
86+
- name: Create/upload archive (arm5)
87+
run: |
88+
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
89+
env:
90+
GOARM: "5"
91+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
92+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
93+
94+
- name: Run build (arm6)
95+
run: |
96+
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
97+
env:
98+
GOARM: "6"
99+
100+
- name: Create/upload archive (arm6)
101+
run: |
102+
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
103+
rm -fr build/bin/*
104+
env:
105+
GOARM: "6"
106+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
107+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
108+
109+
- name: Run build (arm7)
110+
run: |
111+
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
112+
env:
113+
GOARM: "7"
114+
115+
- name: Create/upload archive (arm7)
116+
run: |
117+
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
118+
rm -fr build/bin/*
119+
env:
120+
GOARM: "7"
121+
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
122+
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
123+
124+
docker:
125+
name: Docker Image
126+
runs-on: ubuntu-latest
127+
steps:
128+
- uses: actions/checkout@v4
129+
130+
- name: Set up QEMU
131+
uses: docker/setup-qemu-action@v3
132+
133+
- name: Set up Docker Buildx
134+
uses: docker/setup-buildx-action@v3
135+
136+
- name: Set up Go
137+
uses: actions/setup-go@v5
138+
with:
139+
go-version: 1.24
140+
cache: false
141+
142+
- name: Run docker build
143+
env:
144+
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
145+
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
146+
run: |
147+
go run build/ci.go dockerx -platform linux/amd64,linux/arm64,linux/riscv64 -upload

.mailmap

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ Boqin Qin <[email protected]> <[email protected]>
5050

5151
Casey Detrio <[email protected]>
5252

53+
Charlotte <[email protected]>
54+
55+
56+
5357
5458

5559
Chris Ziogas <[email protected]>
@@ -301,9 +305,6 @@ Yohann Léon <[email protected]>
301305
302306
303307

304-
Zachinquarantine <[email protected]>
305-
306-
307308
Ziyuan Zhong <[email protected]>
308309

309310
Zsolt Felföldi <[email protected]>

.travis.yml

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

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Ceyhun Onur <[email protected]>
123123
chabashilah <[email protected]>
124124
changhong <[email protected]>
125125
Charles Cooper <[email protected]>
126+
Charlotte <[email protected]>
126127
Chase Wright <[email protected]>
127128
Chawin Aiemvaravutigul <[email protected]>
128129
Chen Quan <[email protected]>
@@ -839,7 +840,6 @@ ywzqwwt <[email protected]>
839840
840841
zaccoding <[email protected]>
841842
842-
Zachinquarantine <[email protected]>
843843
844844
Zahoor Mohamed <[email protected]>
845845

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# with Go source code. If you know what GOPATH is then you probably
33
# don't need to bother with make.
44

5-
.PHONY: geth all test lint fmt clean devtools help
5+
.PHONY: geth evm all test lint fmt clean devtools help
66

77
GOBIN = ./build/bin
88
GO ?= latest
@@ -14,6 +14,12 @@ geth:
1414
@echo "Done building."
1515
@echo "Run \"$(GOBIN)/geth\" to launch geth."
1616

17+
#? evm: Build evm.
18+
evm:
19+
$(GORUN) build/ci.go install ./cmd/evm
20+
@echo "Done building."
21+
@echo "Run \"$(GOBIN)/evm\" to launch evm."
22+
1723
#? all: Build all packages and executables.
1824
all:
1925
$(GORUN) build/ci.go install

0 commit comments

Comments
 (0)