-
Notifications
You must be signed in to change notification settings - Fork 450
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
[NIT-2602] Use Golang version 1.23 #2711
Conversation
Instead of the ldflags, let's just drop memsize as upstream geth did and cherry-pick this patch ethereum/go-ethereum@e467577 |
.github/workflows/arbitrator-ci.yml
Outdated
@@ -59,7 +59,7 @@ jobs: | |||
cd go-ethereum | |||
# Enable KZG point evaluation precompile early | |||
sed -i 's#var PrecompiledContractsBerlin = map\[common.Address\]PrecompiledContract{#\0 common.BytesToAddress([]byte{0x0a}): \&kzgPointEvaluation{},#g' core/vm/contracts.go | |||
go build -o /usr/local/bin/geth ./cmd/geth | |||
go build -o /usr/local/bin/geth -ldflags='-checklinkname=0' ./cmd/geth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just update the pinned geth version above from v1.13.8 to the latest release. We might not even need the patch applied above anymore to enable the KZG evaluation precompile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related go-ethereum PR: OffchainLabs/go-ethereum#363