Skip to content

Merge v1.15.6 v1.15.7 v1.15.8 v1.15.9 v1.15.10 v1.15.11 #454

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

Open
wants to merge 202 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
7cbf934
Fix flakey behavior in simulated backend Rollback
dahu33 Feb 21, 2025
2645b4e
version: begin v1.15.6 release cycle
fjl Mar 5, 2025
d219e9b
build: fix execution-spec-tests sanitycheck URL (#31314)
Halimao Mar 5, 2025
9aba689
core/rawdb,state: add preimage miss metric (#31295)
jsvisa Mar 7, 2025
4cdd7c8
cmd,eth,les: replace Cancun override flag with Prague (#31341)
lightclient Mar 10, 2025
49ef375
core/txpool: demote error log to warn (#31332)
alarso16 Mar 11, 2025
71f9f1e
core: prefund pectra precompiles in developer genesis (#31342)
MariusVanDerWijden Mar 11, 2025
e442c4d
beacon/types, beacon/blsync: update for electra (#31243)
fjl Mar 11, 2025
ca53036
ethdb: no need to check the metric nilness (#31353)
jsvisa Mar 11, 2025
eb879a7
go.mod: update crypto to remove dependency warning (#31334)
buddh0 Mar 11, 2025
915d9d9
cmd: ctrl-c to halt the whole import process (#31360)
jsvisa Mar 12, 2025
5606cbc
crypto/secp256k1: update libsecp256k1 (#31242)
MariusVanDerWijden Mar 12, 2025
1ca2da8
eth/ethconfig: add HistoryMode (#31365)
fjl Mar 13, 2025
18faa25
Update core/txpool/txpool.go
dahu33 Mar 11, 2025
f3e4866
core: update blockProcFeed in insertChain (#31065)
zsfelfoldi Mar 13, 2025
5117f77
p2p/discover: expose discv5 functions for portal JSON-RPC interface (…
GrapeBaBa Mar 13, 2025
444a6d0
cmd/workload: implement checks for history-pruned node (#31355)
jwasinger Mar 13, 2025
78be413
eth/ethconfig: fix history prune blocks (#31383)
s1na Mar 13, 2025
f9f1172
core/filtermaps: FilterMaps log index generator and search logic (#31…
zsfelfoldi Mar 13, 2025
e5758c6
accounts/abi: improve unpack performance (#31387)
MariusVanDerWijden Mar 14, 2025
51177ed
log: fix SetDefault for custom loggers (#31368)
StephenButtolph Mar 14, 2025
475e87c
cmd/evm: fix statetest with multi-fork statetest fixtures (#31374)
danceratopz Mar 14, 2025
e3853e9
tests: update ethereum/tests to v17.0 (#31381)
s1na Mar 14, 2025
7d99f7d
cmd/utils: fix geth test issue on OpenBSD (#31357)
vtamara Mar 15, 2025
d25c3c3
metrics: spin up meter ticker routine when enabling metric system (#3…
mikeweyandt Mar 17, 2025
881ee40
eth/catalyst: fix flaky test (#31403)
rjl493456442 Mar 17, 2025
74c6b69
go.mod: bump golang.org/x/net from 0.34.0 to 0.36.0 (#31369)
dependabot[bot] Mar 17, 2025
1cdf4d6
eth/catalyst: set FeeRecipient in dev mode (#31316)
islishude Mar 17, 2025
64bd213
cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379)
jwasinger Mar 17, 2025
0f06e35
core/rawdb: allow for truncation in the freezer (#31362)
MariusVanDerWijden Mar 17, 2025
d85f796
eth/filters: implement log filter using new log index (#31080)
zsfelfoldi Mar 17, 2025
40ad6be
eth/tracers: fix precompile move feat for debug_traceCall (#31348)
roseshahar Mar 18, 2025
668118b
params: add hoodi testnet definition (#31406)
MariusVanDerWijden Mar 18, 2025
e5f4b27
internal/ethapi: fix logs bloom in eth_simulateV1 (#31411)
s1na Mar 18, 2025
fe640f8
core/filtermaps: fixed indexer checkpoint initialization (#31419)
zsfelfoldi Mar 18, 2025
dba5883
cmd: set name to chaindata for all the opened db (#31352)
jsvisa Mar 18, 2025
c4f0450
ethclient: Add EstimateGasAtBlock[Hash] to estimate against a specifi…
PlasmaPower Mar 18, 2025
930836e
core/txpool, eth: add GetRLP to transaction pool (#31307)
minh-bq Mar 19, 2025
b47e4d5
core/types: reduce allocs in transaction signing (#31258)
MariusVanDerWijden Mar 19, 2025
80b8d7a
core/types: cleanup tx signer logic (#31434)
fjl Mar 19, 2025
8e3cd41
cmd/utils: force hash scheme for archive mode (#31439)
mask-pp Mar 20, 2025
03cc294
cmd/workload: fixed filter test request error handling (#31424)
zsfelfoldi Mar 20, 2025
43883c6
eth/tracers: hex-encode returnValue (#31216)
s1na Mar 20, 2025
0a8f41e
eth/tracers: fix test (#31445)
rjl493456442 Mar 20, 2025
9fc2bbe
core/filtermaps: allow log search while head indexing (#31429)
zsfelfoldi Mar 20, 2025
9eb610f
p2p/discover: repeat WHOAREYOU challenge when handshake in progress (…
fjl Mar 20, 2025
7fed958
core/txpool/legacypool: reject gapped tx from delegated account (#31430)
rjl493456442 Mar 20, 2025
07cca7a
core/bloombits: remove old bloombits logic and chain indexer (#31081)
zsfelfoldi Mar 21, 2025
1886922
core: respect history cutoff in txindexer (#31393)
s1na Mar 21, 2025
8fe09df
cmd/geth: add prune history command (#31384)
s1na Mar 21, 2025
624a5d8
eth/filter: downgrade log level (#31450)
rjl493456442 Mar 21, 2025
b0b2b76
internal/ethapi: return code 3 from call/estimateGas even if a revert…
jwasinger Mar 23, 2025
fd4049d
core/rawdb: improve database stats output (#31463)
fjl Mar 24, 2025
cbe902d
core/filtermaps: fix log indexer init conditions (#31455)
zsfelfoldi Mar 24, 2025
28238b6
beacon/params: new checkpoints (#31470)
zsfelfoldi Mar 24, 2025
8e3b94d
tests: update test submodule (#31479)
rjl493456442 Mar 24, 2025
71e9c9b
internal/ethapi: support for beacon root and withdrawals in simulate …
rezbera Mar 24, 2025
a14b8ec
core/txpool: reject stale transaction for local tracking (#31473)
rjl493456442 Mar 25, 2025
19d2b4c
version: release v1.15.6 stable
fjl Mar 25, 2025
aa6d0ef
version: begin v1.15.7 release cycle
fjl Mar 25, 2025
21d36f7
core: process EL requests in GenerateVerkleChain (#31175)
nethoxa Mar 25, 2025
4ff5093
all: use fmt.Appendf instead of fmt.Sprintf where possible (#31301)
islishude Mar 25, 2025
4dfec7e
trie: optimize memory allocation (#30932)
rjl493456442 Mar 25, 2025
c49aadc
internal/ethapi: exclude 7702 authorities from result in eth_createAc…
sashabeton Mar 25, 2025
c1ff2d8
core/state: fix double-increment of accountLoaded counter (#31493)
jsvisa Mar 26, 2025
5b4a743
core/rawdb: remove LES database stats (#31495)
rjl493456442 Mar 26, 2025
a775e68
eth: downgrade peer removal error to warning level (#31492)
VolodymyrBg Mar 26, 2025
a82303f
accounts/abi: include access-list in gas estimation (#31394)
protolambda Mar 26, 2025
6143c35
internal/ethapi: CreateAccessList with stateOverrides (#31497)
georgehao Mar 27, 2025
cc273ce
Merge pull request #31228 from curvegrid/fix-sim-rollback
jwasinger Mar 27, 2025
714fa4f
cmd/geth: update geth subcommand arguments (#31293)
jsvisa Mar 28, 2025
141968a
core/txpool/legacypool: fix data race in checkDelegationLimit (#31475)
rekyyang Mar 28, 2025
32f36a6
core/txpool: fix nonce assignment in local tracker (#31496)
rjl493456442 Mar 28, 2025
c8a9a9c
core/filtermaps: revert to unindexed mode in case of indexing error (…
zsfelfoldi Mar 28, 2025
ffa315f
.gitignore: ignore binaries (#31531)
MariusVanDerWijden Mar 31, 2025
14d576c
core/filtermaps: hashdb safe delete range (#31525)
zsfelfoldi Mar 31, 2025
82fc77a
version: release go-ethereum v1.15.7 stable
fjl Mar 31, 2025
9c970d8
version: begin v1.15.8 release cycle
fjl Mar 31, 2025
9af88d1
version: back to v1.15.7, to fix the build
fjl Mar 31, 2025
827d3fc
.travis.yml: remove macos build
fjl Mar 31, 2025
f0cdc40
version: begin v1.15.8 release cycle reloaded
fjl Mar 31, 2025
bc36f2d
eth, eth/filters: implement API error code for pruned blocks (#31361)
s1na Apr 1, 2025
1bd70ba
p2p/nat: improve AddMapping code (#31486)
gazzua Apr 1, 2025
4add312
cmd: apply snapshot cache flag in the MakeChain (#31534)
jsvisa Apr 1, 2025
7e3170f
core/filtermaps: add metrics (#31511)
zsfelfoldi Apr 1, 2025
d342f76
accounts/abi/abigen: fix a flaky bind test case `NewSingleStructArgum…
jsvisa Apr 1, 2025
a9e6c8d
triedb/pathdb: improve perf by separating nodes map (#31306)
weiihann Apr 2, 2025
ee30681
core/txpool: add GetMetadata to transaction pool (#31433)
minh-bq Apr 2, 2025
3e4fbce
p2p/discover: repeat exact encoding when resending WHOAREYOU packet (…
thinkAfCod Apr 2, 2025
d2176f4
p2p/discover: pass node instead of node ID to TALKREQ handler (#31075)
thinkAfCod Apr 2, 2025
82f01f9
README: fixup typos (#31540)
owenzimmew06 Apr 2, 2025
e609843
all: fix typos in docs and comments (#31548)
vtjl10 Apr 2, 2025
22c0605
eth/protocols/eth: improve over/underflow handling in `GetBlockHeade…
antonis19 Apr 3, 2025
90d44e7
core, eth/downloader: implement pruning mode sync (#31414)
rjl493456442 Apr 3, 2025
db9be56
build: upgrade to golangci-lint v2 (#31530)
tr1sm0s1n Apr 3, 2025
a0620f1
eth: fix calls to HistoryPruningCutoff (#31552)
fjl Apr 3, 2025
49f0d49
cmd/devp2p/internal/v5test: log test descriptions (#31551)
fjl Apr 3, 2025
553183e
core, eth, node: use sync write option in pebble (#31519)
rjl493456442 Apr 3, 2025
9f83e9e
beacon/blsync: add checkpoint import/export file feature (#31469)
zsfelfoldi Apr 3, 2025
ff365af
p2p/nat: remove forceful port mapping in upnp (#30265)
qqqeck Apr 4, 2025
77dc1ac
internal/era: random access to header and receipts (#31544)
s1na Apr 4, 2025
21b035e
cmd/geth: set trie,gc and other cache flags for import chain (#31577)
jsvisa Apr 7, 2025
ec6d104
eth/remotedb: improve error handling (#31331)
vipocenka Apr 8, 2025
2e739fc
core/txpool: add 7702 protection to blobpool (#31526)
rjl493456442 Apr 8, 2025
5cc9137
core/vm: optimize push2 opcode (#31267)
MariusVanDerWijden Apr 8, 2025
a7f24c2
p2p/nat: fix UPnP port reset (#31566)
cskiraly Apr 9, 2025
60b922f
core/txpool: add notice to` Clear` that is not meant for production c…
lightclient Apr 9, 2025
0c2ad07
core/txpool: allow tx and authority regardless of admission order (#3…
LuisPH3 Apr 10, 2025
2547bb2
eth/fetcher: Fix flaky TestTransactionForgotten test using mock clock…
crStiv Apr 10, 2025
4906c99
accounts/usbwallet: full 32bit chainId support for Trezor (#17439)
hackmod Apr 10, 2025
9b4eab6
eth/catalyst: in tests, manually sync txpool after initial chain ins…
jwasinger Apr 10, 2025
f64aa6e
internal/testlog: fix log output from sub-loggers (#31539)
jwasinger Apr 10, 2025
a9444ea
tests/testdata: revert to v17.0
fjl Apr 10, 2025
0059b0a
build: upgrade -dlgo version to Go 1.24.2 (#31538)
levisyin Apr 11, 2025
f8ff24e
version: release go-ethereum v1.15.8 stable
fjl Apr 11, 2025
80753ba
version: begin v1.15.9 release cycle
fjl Apr 11, 2025
ecd5c18
p2p: better dial/serve success metrics (#31629)
cskiraly Apr 14, 2025
c5c7597
eth: add logic to drop peers randomly when saturated (#31476)
cskiraly Apr 14, 2025
48ec86a
core: initialize history pruning in BlockChain (#31636)
fjl Apr 15, 2025
476f117
all: remove martin from CODEOWNERS (#31637)
rjl493456442 Apr 15, 2025
6928ec5
p2p: fix dial metrics not picking up the right error (#31621)
cskiraly Apr 15, 2025
e3e9d7c
cmd/geth: remove the unused bloomfilter.size flag (#31646)
jsvisa Apr 16, 2025
ebb3eb2
core/filtermaps: fix map renderer reorg issue (#31642)
zsfelfoldi Apr 16, 2025
846d578
core/state: fix log format (#31610)
mask-pp Apr 16, 2025
8797497
core/txpool/legacypool: fix data race of txlookup access (#31641)
mirokuratczyk Apr 17, 2025
cb21177
core: fix history pruning initialization for empty DB (#31656)
fjl Apr 17, 2025
e444823
core: fix sync reset in pruned nodes (#31638)
s1na Apr 17, 2025
01786f3
eth: fix transaction sender cache miss before broadcast (#31657)
cskiraly Apr 17, 2025
50b5f31
params: add prague timestamp for mainnet (#31535)
lightclient Apr 17, 2025
13b157a
core,params: add fork readiness indicator in logs (#31340)
lightclient Apr 17, 2025
074da25
eth/catalyst: sanitize simulated beacon period to avoid overflowing t…
jwasinger Apr 17, 2025
9089f94
eth: add tx to locals only if it has a chance of acceptance (#31618)
rjl493456442 Apr 17, 2025
2e0ad2c
core/filtermaps: only use common ancestor snapshots (#31668)
zsfelfoldi Apr 18, 2025
4c9e7d1
core/filtermaps: make ChainView thread safe (#31671)
zsfelfoldi Apr 18, 2025
1296cdb
core: fail execution if system call fails to execute (#31639)
Gabriel-Trintinalia Apr 19, 2025
bf6da20
eth/gasprice: fix eth_feeHistory blobGasUsedRatio divide zero (#31663)
yiweichi Apr 19, 2025
7f57437
eth/filters, core/filtermaps: safe chain view update (#31590)
zsfelfoldi Apr 20, 2025
5a7bbb4
beacon/params, core/filtermaps: update checkpoints (#31674)
zsfelfoldi Apr 20, 2025
14f1543
core/filtermaps: clone cached slices, fix tempRange (#31680)
zsfelfoldi Apr 21, 2025
74165a8
version: release go-ethereum v1.15.9 stable
fjl Apr 21, 2025
263aef9
version: begin v1.15.10 release cycle
fjl Apr 21, 2025
1591d16
internal/debug: add debug_setMemoryLimit (#31441)
georgehao Apr 22, 2025
846c14e
ethclient: allow passing AuthorizationList to calls (#31198)
colinlyguo Apr 23, 2025
7ad97a4
miner: increase default gas limit to 36M (#31705)
MariusVanDerWijden Apr 24, 2025
b62756d
beacon/params: add mainnet electra config (#31706)
zsfelfoldi Apr 24, 2025
b6bdd69
core/filtermaps: fix deadlock in filtermap callback (#31708)
rjl493456442 Apr 25, 2025
2bf8a78
version: release go-ethereum v1.15.10 stable
fjl Apr 25, 2025
f750117
version: begin v1.15.11 release cycle
fjl Apr 25, 2025
0045267
core/txpool/legacypool: refactor truncatePending (#31715)
MariusVanDerWijden Apr 28, 2025
c8c8d6c
trie: add edgecase for rangeproof correctness (#31667)
holiman Apr 28, 2025
a511553
core: apply overrides to mainnet chainconfig (#31733)
MariusVanDerWijden Apr 29, 2025
0ac4a84
beacon/engine: omit empty witness in payload response (#31739)
rjl493456442 Apr 29, 2025
947fd3a
crypto/kzg4844: add ComputeCells functionality (#31378)
MariusVanDerWijden Apr 29, 2025
ba0a61b
cmd/geth: print crit log if chain config is not compatible (#31743)
zhiqiangxu Apr 30, 2025
21341f6
eth/fetcher: define BatchSize as a constant (#31742)
cskiraly Apr 30, 2025
eb7ee77
Merge commit '1ca2da81e6a212f0d74dfa500e3ced3312296fab' into merge_v1…
amsanghi Apr 30, 2025
edb3941
Update tests/testdata
amsanghi Apr 30, 2025
e44e932
Merge commit '64bd21393e734b266913f549f9f642f2bd5cc4e4' into merge_v1…
amsanghi Apr 30, 2025
e0aa39e
Merge commit 'd85f796356846f40d3e00ec6d03c1a3e3410a3b1' into merge_v1…
amsanghi Apr 30, 2025
7612872
core/filtermaps: do not derive full receipts during rendering (#31716)
MariusVanDerWijden Apr 30, 2025
701df4b
cmd/geth: fix compatErr in initGenesis (#31746)
ericxtheodore Apr 30, 2025
af9673b
ethclient: fix retrieval of pending block (#31504)
islishude May 2, 2025
ed93a5a
cmd/devp2p: test for non-existent block request (#31506)
1033309821 May 2, 2025
86a4924
node: avoid double close resp.Body (#31710)
gzliudan May 2, 2025
79807bc
core, eth/gasestimator: introduce MaxGasUsed for estimation (#31735)
rjl493456442 May 2, 2025
341929a
core/filtermaps: fix log value search range (#31734)
zsfelfoldi May 2, 2025
8868ad6
core/filtermaps: fix log index initialization (#31750)
zsfelfoldi May 3, 2025
2d86a54
core/txpool/legacypool: fix data race of pricedList access (#31758)
mirokuratczyk May 4, 2025
516451d
params: fix comment for `DefaultBlobSchedule` (#31760)
zhiqiangxu May 4, 2025
615d29f
core: reduce load on txindexer from API (#31752)
s1na May 5, 2025
1b18ba2
logs(indexer)Clean up log format in head index progress messages (#31…
MonkeyMarcel May 5, 2025
fc2ba1f
triedb: add test suite for preimage store (#31574)
GarmashAlex May 5, 2025
bca0646
internal/ethapi: fix tx.from in eth_simulateV1 (#31480)
s1na May 5, 2025
b135da2
rpc: add method name length limit (#31711)
MatusKysel May 5, 2025
7705d13
eth/tracers: fix `standardTraceBlockToFile` (#31763)
jwasinger May 5, 2025
36b2371
version: release go-ethereum v1.15.11 stable
fjl May 5, 2025
73e9a1d
Merge commit '07cca7ab9f9c26e435acbf81432f61102d3ed1d7' into merge_v1…
amsanghi May 8, 2025
c552f1f
Merge commit '8fe09df54f55c2803f492a4be3bd16a43fa7b659' into merge_v1…
amsanghi May 8, 2025
30ee477
Merge
amsanghi May 8, 2025
f5c7acf
Merge commit '71e9c9b8a732b33f50b4565627463fb252b4aeff' into merge_v1…
amsanghi May 8, 2025
7c958ed
Merge tag 'v1.15.6' into merge_v1.15.6
amsanghi May 8, 2025
9617cb8
Merge tag 'v1.15.7' into merge_v1.15.7
amsanghi May 8, 2025
b603286
Merge commit 'bc36f2de83a5ba8e805af6ce4ea9da3ab7cb1df9' into merge_v1…
amsanghi May 8, 2025
9334fec
Merge commit '90d44e715d4f44fdad582f458c5973b0e6463082' into merge_v1…
amsanghi May 8, 2025
31a78f3
Merge commit '553183e5de5dd6aa73038f3a24f90fb65e141402' into merge_v1…
amsanghi May 8, 2025
eee6a74
Merge commit '9b4eab6a29704f55fa7b4b92e296094f0dbcee22' into merge_v1…
amsanghi May 8, 2025
acf0237
merge
amsanghi May 8, 2025
b349dd4
Merge tag 'v1.15.8' into merge_v1.15.8
amsanghi May 8, 2025
0f2c1c1
Merge commit '48ec86abbbcbe42d66302e9d4839d82cd9ced36f' into merge_v1…
amsanghi May 8, 2025
c0011d4
Merge commit '13b157a461c88678cd4e15ca005e7b45d823431b' into merge_v1…
amsanghi May 8, 2025
7f43969
Merge commit '7f574372d5cc3b8d37b59dd0da53e9f779bbfdd1' into merge_v1…
amsanghi May 8, 2025
c491c88
Merge tag 'v1.15.9' into merge_v1.15.9
amsanghi May 8, 2025
131d534
Merge tag 'v1.15.10' into merge_v1.15.10
amsanghi May 8, 2025
5b6de15
Merge commit '79807bc3b16ee1dadb506c87917fcf042d4e186d' into merge_v1…
amsanghi May 8, 2025
ede177e
Merge commit '615d29f7c2d5aed84cf8c7ec952d9f9a9f706e4b' into merge_v1…
amsanghi May 8, 2025
2e69629
Merge commit '7705d13ed492a6291b2d7aa7f7c15b70749e9a65' into merge_v1…
amsanghi May 8, 2025
ca3c04b
Merge tag 'v1.15.11' into merge_v1.15.11
amsanghi May 8, 2025
0accd7b
fix build
amsanghi May 8, 2025
2f2a97d
Merge branch 'master' into merge_v1.15.11
amsanghi May 8, 2025
01aaf86
use correct testdata
amsanghi May 9, 2025
dd52752
do not panic for nil chain id
amsanghi May 9, 2025
6d5c954
fix MaxUsedGas
amsanghi May 12, 2025
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
  •  
  •  
  •  
19 changes: 8 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ beacon/light/ @zsfelfoldi
beacon/merkle/ @zsfelfoldi
beacon/types/ @zsfelfoldi @fjl
beacon/params/ @zsfelfoldi @fjl
cmd/clef/ @holiman
cmd/evm/ @holiman @MariusVanDerWijden @lightclient
core/state/ @rjl493456442 @holiman
crypto/ @gballet @jwasinger @holiman @fjl
core/ @holiman @rjl493456442
eth/ @holiman @rjl493456442
cmd/evm/ @MariusVanDerWijden @lightclient
core/state/ @rjl493456442
crypto/ @gballet @jwasinger @fjl
core/ @rjl493456442
eth/ @rjl493456442
eth/catalyst/ @MariusVanDerWijden @lightclient @fjl @jwasinger
eth/tracers/ @s1na
ethclient/ @fjl
Expand All @@ -26,11 +25,9 @@ core/tracing/ @s1na
graphql/ @s1na
internal/ethapi/ @fjl @s1na @lightclient
internal/era/ @lightclient
metrics/ @holiman
miner/ @MariusVanDerWijden @holiman @fjl @rjl493456442
miner/ @MariusVanDerWijden @fjl @rjl493456442
node/ @fjl
p2p/ @fjl @zsfelfoldi
rlp/ @fjl
params/ @fjl @holiman @karalabe @gballet @rjl493456442 @zsfelfoldi
rpc/ @fjl @holiman
signer/ @holiman
params/ @fjl @karalabe @gballet @rjl493456442 @zsfelfoldi
rpc/ @fjl
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,16 @@ profile.cov
.vscode

tests/spec-tests/

# binaries
cmd/abidump/abidump
cmd/abigen/abigen
cmd/blsync/blsync
cmd/clef/clef
cmd/devp2p/devp2p
cmd/era/era
cmd/ethkey/ethkey
cmd/evm/evm
cmd/geth/geth
cmd/rlpdump/rlpdump
cmd/workload/workload
131 changes: 74 additions & 57 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
# This file configures github.com/golangci/golangci-lint.

version: '2'
run:
timeout: 20m
tests: true

linters:
disable-all: true
default: none
enable:
- goimports
- gosimple
- govet
- ineffassign
- misspell
- unconvert
- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- copyloopvar
- whitespace
- revive # only certain checks enabled
- durationcheck
- gocheckcompilerdirectives
- reassign
- govet
- ineffassign
- mirror
- misspell
- reassign
- revive # only certain checks enabled
- staticcheck
- unconvert
- unused
- usetesting
- whitespace
### linters we tried and will not be using:
###
# - structcheck # lots of false positives
Expand All @@ -36,44 +30,67 @@ linters:
# - exhaustive # silly check
# - makezero # false positives
# - nilerr # several intentional

linters-settings:
gofmt:
simplify: true
revive:
enable-all-rules: false
# here we enable specific useful rules
# see https://golangci-lint.run/usage/linters/#revive for supported rules
settings:
staticcheck:
checks:
# disable Quickfixes
- -QF1*
revive:
enable-all-rules: false
# here we enable specific useful rules
# see https://golangci-lint.run/usage/linters/#revive for supported rules
rules:
- name: receiver-naming
severity: warning
disabled: false
exclude:
- ''
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- name: receiver-naming
severity: warning
disabled: false
exclude: [""]

issues:
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
exclude-dirs-use-default: true
exclude-files:
- core/genesis_alloc.go
exclude-rules:
- path: crypto/bn256/cloudflare/optate.go
linters:
- deadcode
- staticcheck
- path: crypto/bn256/
linters:
- revive
- path: cmd/utils/flags.go
text: "SA1019: cfg.TxLookupLimit is deprecated: use 'TransactionHistory' instead."
- path: cmd/utils/flags.go
text: "SA1019: ethconfig.Defaults.TxLookupLimit is deprecated: use 'TransactionHistory' instead."
- path: internal/build/pgp.go
text: 'SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
- path: core/vm/contracts.go
text: 'SA1019: "golang.org/x/crypto/ripemd160" is deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications.'
exclude:
- 'SA1019: event.TypeMux is deprecated: use Feed'
- 'SA1019: strings.Title is deprecated'
- 'SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.'
- 'SA1029: should not use built-in type string as key for value'
- linters:
- deadcode
- staticcheck
path: crypto/bn256/cloudflare/optate.go
- linters:
- revive
path: crypto/bn256/
- path: cmd/utils/flags.go
text: "SA1019: cfg.TxLookupLimit is deprecated: use 'TransactionHistory' instead."
- path: cmd/utils/flags.go
text: "SA1019: ethconfig.Defaults.TxLookupLimit is deprecated: use 'TransactionHistory' instead."
- path: internal/build/pgp.go
text: 'SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
- path: core/vm/contracts.go
text: 'SA1019: "golang.org/x/crypto/ripemd160" is deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications.'
- path: (.+)\.go$
text: 'SA1019: event.TypeMux is deprecated: use Feed'
- path: (.+)\.go$
text: 'SA1019: strings.Title is deprecated'
- path: (.+)\.go$
text: 'SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.'
- path: (.+)\.go$
text: 'SA1029: should not use built-in type string as key for value'
paths:
- core/genesis_alloc.go
- third_party$
- builtin$
- examples$
formatters:
enable:
- goimports
settings:
gofmt:
simplify: true
exclusions:
generated: lax
paths:
- core/genesis_alloc.go
- third_party$
- builtin$
- examples$
23 changes: 0 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ language: go
go_import_path: github.com/ethereum/go-ethereum
sudo: false
jobs:
allow_failures:
- stage: build
os: osx
env:
- azure-osx

include:
# This builder create and push the Docker images for all architectures
- stage: build
Expand Down Expand Up @@ -62,23 +56,6 @@ jobs:
- go run build/ci.go install -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# This builder does the OSX Azure uploads
- stage: build
if: type = push
os: osx
osx_image: xcode14.2
go: 1.23.1 # See https://github.com/ethereum/go-ethereum/pull/30478
env:
- azure-osx
git:
submodules: false # avoid cloning ethereum/tests
script:
- ln -sf /Users/travis/gopath/bin/go1.23.1 /usr/local/bin/go # Work around travis go-setup bug
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- go run build/ci.go install -dlgo -arch arm64
- go run build/ci.go archive -arch arm64 -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# These builders run the tests
- stage: build
if: type = push
Expand Down
Loading
Loading