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

feat(repo): geth/v1.14.10 upstream merge #313

Draft
wants to merge 574 commits into
base: taiko
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
574 commits
Select commit Hold shift + click to select a range
7270cba
log: fix a typo (#29883)
miles-six Jun 3, 2024
a6751d6
core/rawdb,eth/protocols,p2p: prealloc slice size (#29893)
tianyeyouyou Jun 3, 2024
adbbd8c
core/state: prefetch account trie while starting a prefetcher (#29919)
Jun 4, 2024
68c0ec0
trie: iterate values pre-order and fix seek behavior (#27838)
roysc Jun 4, 2024
682ae83
internal/ethapi: recap higher args.Gas with block GasLimit in DoEstim…
SangIlMo Jun 4, 2024
125fb1f
core/state: avoid data race (#29924)
rjl493456442 Jun 4, 2024
5550d83
params: release Geth v1.14.4
karalabe Jun 5, 2024
fc40d68
params: begin v1.14.5 release cycle
karalabe Jun 5, 2024
e85e21c
core/state, eth/tracers: fix typos (#29932)
hteevoli Jun 5, 2024
d09ddac
core/rawdb: remove unused deriveLogFields (#29913)
9547 Jun 5, 2024
bc65694
p2p: use netip.Addr where possible (#29891)
fjl Jun 5, 2024
6c518fe
build: upgrade -dlgo version to Go 1.22.4 (#29938)
sandakersmann Jun 6, 2024
cbbfa3e
rlp: no need to repeat called len method (#29936)
9547 Jun 6, 2024
0750cb0
p2p/netutil: fix comments (#29942)
hteevoli Jun 6, 2024
85459e1
p2p/discover: unwrap 4-in-6 UDP source addresses (#29944)
fjl Jun 6, 2024
0dd173a
params: release Geth v1.14.5
rjl493456442 Jun 6, 2024
4461c1f
params: begin v1.14.6 release cycle
rjl493456442 Jun 6, 2024
4405f18
cmd/evm/internal/t8ntool: remove unused parameter (#29930)
Gealber Jun 7, 2024
6a49d13
go.mod : tidy
ucwong Jun 5, 2024
deaf109
cmd/clef, cmd/evm: fix markdown issues in README (#29954)
kukuru909 Jun 8, 2024
1098d14
cmd/geth: remove unused param (#29952)
hadv Jun 8, 2024
349fcdd
p2p/discover: add missing lock when calling tab.handleAddNode (#29960)
Gealber Jun 9, 2024
8bda642
p2p: use package slices to sort in PeersInfo (#29957)
Gealber Jun 9, 2024
db273c8
core: initialize developer genesis beacon root contract with 0 balanc…
jwasinger Jun 10, 2024
2eb185c
core, rlp: remove duplicated words (#29964)
tinyfoxy Jun 10, 2024
85587d5
cmd, core: prefetch reads too from tries if requested (#29807)
jwasinger Jun 11, 2024
3aa874b
core/state: rename all the AccessList receivers to 'al' (#29921)
mask-pp Jun 11, 2024
ffb29be
ethconfig: regenerate config (#29970)
ucwong Jun 11, 2024
caa066d
cmd/devp2p: fix log output (#29972)
bugmaker9371 Jun 11, 2024
c732039
.github: disable cache in actions run (#29926)
gballet Jun 11, 2024
b6f2bbd
p2p/simulations: update doc of HTTP endpoints (#29894)
bugmaker9371 Jun 11, 2024
1e97148
all: fix inconsistent receiver name and add lint rule for it (#29974)
fjl Jun 12, 2024
3687c34
accounts: avoid duplicate regex compilation (#29943)
yincongcyincong Jun 12, 2024
69351e8
core/state, eth/protocols, trie, triedb/pathdb: remove unused error …
jwasinger Jun 12, 2024
86150af
beacon/light: fix shutdown issues (#29946)
zsfelfoldi Jun 12, 2024
fd5078c
trie/triedb: add Reader to backend interface (#29988)
darioush Jun 14, 2024
34b46a2
core/state/snapshot: add a missing lock (#30001)
mask-pp Jun 17, 2024
a58e4f0
go.mod: update Pebble to sort out a deleted upstream dependency (#30010)
karalabe Jun 17, 2024
b78d235
log: fix some functions comments (#29907)
BabyHalimao Jun 17, 2024
115d154
trie, triedb/pathdb: prealloc capacity for map and slice (#29986)
mask-pp Jun 17, 2024
c736b04
triedb/pathdb: use maps.Clone and maps.Keys (#29985)
mask-pp Jun 17, 2024
d866449
common/math: fix out of bounds access in json unmarshalling (#30014)
decanus Jun 17, 2024
7cf6a63
core/state/snapshot: acquire the lock on Release (#30011)
MariusVanDerWijden Jun 18, 2024
67a862d
cmd/geth, ethdb/pebble: improve database statistic (#29948)
hadv Jun 19, 2024
0e3a0a6
trie: don't reset tracer at the end of Commit (#30024)
jwasinger Jun 19, 2024
c11aac2
common: using `ParseUint` instead of `ParseInt` (#30020)
Halimao Jun 19, 2024
2700840
core/txpool/blobpool: change rw-lock to r-lock (#29989)
psogv0308 Jun 19, 2024
00675c5
trie/trienode: avoid unnecessary copy (#30019)
mask-pp Jun 20, 2024
27654d3
p2p/rlpx: 2KB maximum size for handshake messages (#30029)
infosecual Jun 20, 2024
e0e45db
core/state/snapshot: tiny fixes (#29995)
rjl493456442 Jun 21, 2024
c10ac4f
Revert "core/state/snapshot: tiny fixes" (#30039)
rjl493456442 Jun 21, 2024
a71f6f9
p2p/discover: improve flaky revalidation tests (#30023)
Halimao Jun 21, 2024
d8ea7ac
cmd/blsync: use debug.Setup for logging configuration (#30065)
lightclient Jun 25, 2024
0a651f8
.github: add lightclient as codeowner to relevant packages (#30062)
lightclient Jun 25, 2024
fe0c0b0
accounts/keystore: use t.TempDir in test (#30052)
Halimao Jun 25, 2024
73f7e7c
internal/debug: remove unnecessary log level assignment (#30044)
amiremohamadi Jun 25, 2024
ed8fd0a
all: stateless witness builder and (self-)cross validator (#29719)
jwasinger Jun 25, 2024
98b5930
core/txpool/blobpool: avoid use *map as parameter. (#30048)
mask-pp Jun 25, 2024
9298d2d
trie/trienode: remove unnecessary check in Summary (#30047)
mask-pp Jun 25, 2024
269e80b
eth/tracers,trie: remove unnecessary check (#30071)
Halimao Jun 27, 2024
045b971
trie: relocate state execution logic into pathdb package (#29861)
rjl493456442 Jun 27, 2024
19c3c1e
triedb/pathdb: fix flaky test in pathdb (#29901)
lilasxie Jun 28, 2024
36d67be
core/txpool/blobpool: improve newPriceHeap function (#30050)
mask-pp Jun 28, 2024
4939c25
cmd/evm/internal/t8ntool: log writeTraceResult error message (#30038)
mask-pp Jun 28, 2024
06f1d07
all: replace division with right shift if possible (#29911)
gitglorythegreat Jun 28, 2024
7cfff30
rpc: truncate call error data logs (#30028)
ceyonur Jun 28, 2024
a4e338f
accounts/usbwallet/trezor: upgrade to generate with protoc 27.1 (#30058)
jwasinger Jul 1, 2024
41abab9
build: add check for stale generated files (#30037)
jwasinger Jul 1, 2024
0905660
core/state: fix inconsistent verkle test error messages (#29753)
hteevoli Jul 1, 2024
de366fd
accounts/abi: embed Go template instead of string literal (#30098)
winniehere Jul 2, 2024
6f2e1cf
params: release Geth v1.14.6
gballet Jul 2, 2024
640e0f1
params: begin v1.14.7 release cycle
gballet Jul 2, 2024
aadddf3
params: release Geth v1.14.6
gballet Jul 2, 2024
c6cae0f
Merge remote-tracking branch 'gballet/release-1.14.6'
fjl Jul 2, 2024
2d9d423
build: upgrade -dlgo version to Go 1.22.5 (#30112)
sandakersmann Jul 3, 2024
c4b4d05
crypto: remove hardcoded value for secp256k1.N (#30126)
zhiqiangxu Jul 9, 2024
10467ac
go.mod: update uint256 to 1.3.0 (#30134)
holiman Jul 9, 2024
37590b2
eth/catalyst: fix params in failure log (#30131)
arajasek Jul 9, 2024
803dc6b
core/txpool/blobpool: revert #29989, WLock on Nonce (#30142)
MariusVanDerWijden Jul 11, 2024
0aafbb3
params: go-ethereum v1.14.7 stable
fjl Jul 11, 2024
bcaf374
params: begin v1.14.8 release cycle
fjl Jul 11, 2024
aa55f5e
Merge branch 'master' into release/1.14
fjl Jul 11, 2024
cf03784
core/state: fix prefetcher for verkle (#29760)
rjl493456442 Jul 11, 2024
a0631f3
core/txpool/blobpool: use nonce from argument instead of tx.Nonce() (…
minh-bq Jul 15, 2024
79d2327
trie: add RollBackAccount function to verkle trees (#30135)
gballet Jul 15, 2024
4bbe993
p2p: fix ip change log parameter (#30158)
qqqeck Jul 15, 2024
169aa91
cmd/utils: fix typo in flag description (#30127)
jeremyschlatter Jul 15, 2024
a0d2613
core/types: don't modify signature V when reading large chainID (#30157)
danyalprout Jul 15, 2024
8adce57
SECURITY.md: correct PGP key block formatting (#30123)
JeukHwang Jul 15, 2024
71210b0
all: simplify tests using t.TempDir() (#30150)
zhiqiangxu Jul 15, 2024
0d38b0c
eth/catalyst: fix (*SimulatedBeacon).AdjustTime() conversion (#30138)
jmank88 Jul 16, 2024
b530d8e
trie, triedb: remove unnecessary child resolver interface (#30167)
rjl493456442 Jul 16, 2024
15936c6
core/txpool/legacypool: use maps.Keys and maps.Copy (#30091)
mask-pp Jul 16, 2024
c54294b
core/state: don't compute verkle storage tree roots (#30130)
gballet Jul 16, 2024
f59d013
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle…
rjl493456442 Jul 16, 2024
ad49c70
p2p/discover: remove type encPubkey (#30172)
fjl Jul 18, 2024
df3f0a8
go.mod: upgrade to btcsuite/btcd/btcec v2.3.4 (#30181)
AlexanderMint Jul 18, 2024
944718b
ethdb: remove snapshot (#30189)
s1na Jul 22, 2024
380688c
eth/gasprice: remove default from config (#30080)
MariusVanDerWijden Jul 22, 2024
7abe84c
rpc: use stable object in notifier test (#30193)
lightclient Jul 22, 2024
ef583e9
core/state: remove useless metrics (#30184)
rjl493456442 Jul 22, 2024
57e6627
rpc: show more error detail for `invalidMessageError` (#30191)
zhiqiangxu Jul 23, 2024
7026bae
core/tracing: update latest release version (#30211)
s1na Jul 23, 2024
6693fe1
core/txpool: use the cached address in ValidateTransactionWithState (…
minh-bq Jul 23, 2024
1939813
core/state: check db error after intermediate call (#30171)
rjl493456442 Jul 23, 2024
35b4183
cmd/utils: allow configurating blob pool from flags (#30203)
minh-bq Jul 23, 2024
766ce23
core/state: fix SetStorage override behavior (#30185)
rjl493456442 Jul 23, 2024
4ad88e9
triedb/pathdb: print out all trie owner and hash information (#30200)
rjl493456442 Jul 24, 2024
4dfc75d
beacon/types, cmd/devp2p, p2p/enr: clean up uses of fmt.Errorf (#30182)
yukionfire Jul 24, 2024
ac0f220
eth/tracers, internal/ethapi: remove unnecessary map pointer in state…
caseylove Jul 24, 2024
f94baab
internal/ethapi: fix state override test (#30228)
lightclient Jul 26, 2024
b0f66e3
p2p/nat: return correct port for ExtIP NAT (#30234)
dknopik Jul 27, 2024
6e33dbf
p2p: fix flaky test TestServerPortMapping (#30241)
bearpebble Jul 30, 2024
de6d597
p2p/discover: schedule revalidation also when all nodes are excluded …
dknopik Jul 31, 2024
ff6e43e
miner: remove outdated comment (#30248)
darioush Aug 1, 2024
dad8f23
eth/downloader: correct sync mode logging to show old mode (#30219)
smin-k Aug 1, 2024
b635089
all: remove deprecated protobuf dependencies (#30232)
Icarus9913 Aug 1, 2024
67b8137
accounts/abi/bind: add accessList support to base bond contract (#30195)
ysh0566 Aug 1, 2024
e467577
internal/debug: remove memsize (#30253)
fjl Aug 2, 2024
16cf5c5
eth/downloader: gofmt (#30261)
fjl Aug 2, 2024
142c94d
cmd/evm: don't overwrite sender account (#30259)
lightclient Aug 2, 2024
1058695
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasU…
jsvisa Aug 5, 2024
cf8aa31
params: remove unused les parameters (#30268)
stevemilk Aug 6, 2024
dbc1d04
core/vm/runtime: ensure tracer benchmark calls `OnTxStart` (#30257)
lightclient Aug 6, 2024
e9981bc
ethclient: support networkID in hex format (#30263)
kkqy Aug 6, 2024
b37ac5c
core/vm: improved stack swap performance (#30249)
lmittmann Aug 6, 2024
978041f
signer/core: improve performance of isPrimitiveTypeValid function (#3…
llkhacquan Aug 8, 2024
4a3aed3
core/vm: use uint64 in memory for indices everywhere (#30252)
lmittmann Aug 8, 2024
9ea766d
build: upgrade -dlgo version to Go 1.22.6 (#30273)
sandakersmann Aug 8, 2024
d3dae66
tests: fix TransactionTest to actually run (#30272)
taiking Aug 8, 2024
ebe31df
eth/downloader, core/types: take withdrawals-size into account in dow…
psogv0308 Aug 8, 2024
83e70aa
cmd/evm: fix evm basefee (#30281)
holiman Aug 8, 2024
811a69c
go.mod: update uint256 to 1.3.1 (#30280)
holiman Aug 9, 2024
32a1e06
beacon/engine, consensus/beacon: use params.MaximumExtraDataSize inst…
artjoma Aug 10, 2024
33a13b6
p2p/simulations: remove packages (#30250)
lightclient Aug 12, 2024
5adf4ad
eth/protocols/snap: cleanup dangling account trie nodes due to incomp…
rjl493456442 Aug 12, 2024
880511d
params: release go-ethereum v1.14.8 stable
fjl Aug 12, 2024
a9523b6
Merge branch 'master' into release/1.14
fjl Aug 12, 2024
1cf3b5d
params: begin v1.14.9 release cycle
fjl Aug 12, 2024
ab03c57
go.mod: remove github.com/julienschmidt/httprouter (#30290)
islishude Aug 12, 2024
bc95452
build: run 'go mod tidy' check as part of lint (#30291)
jwasinger Aug 12, 2024
bd57f35
core/txpool/blobpool: fix error message (#30247)
withzoo Aug 13, 2024
2b9d198
go.mod: upgrade to pebble v1.1.2 (#30297)
ajsutton Aug 14, 2024
c686485
core: only compute state root once (#30299)
MariusVanDerWijden Aug 15, 2024
2f2e5b0
.golangci.yml: remove lint warning for TxLookupLimit
fjl Aug 15, 2024
c4b01d8
eth/fetcher: always expect transaction metadata in announcement (#30288)
rjl493456442 Aug 15, 2024
c356847
eth/ethconfig: remove LES server config (#30298)
fjl Aug 15, 2024
7a149a1
eth/tracers/js: add coinbase addr to ctx (#30231)
achmand Aug 15, 2024
6eb42a6
eth: dial nodes from discv5 (#30302)
fjl Aug 15, 2024
43640f1
beacon/light: handle endpoint URL more gracefully (#30306)
s1na Aug 16, 2024
09d889d
core: remove withdrawal length check for state processor (#30286)
islishude Aug 16, 2024
710c3f3
vm: simplify error handling in `vm.EVM.create()` (#30292)
ARR4N Aug 16, 2024
60db6a7
internal/build: include git-date on detached head (#30320)
holiman Aug 19, 2024
8486722
build: remove mantic from ppa builds (#30322)
holiman Aug 19, 2024
41b3b30
gitignore: ignore upload-artefacts (#30325)
holiman Aug 19, 2024
84565dc
eth/catalyst: ensure period zero mode leaves no pending txs in pool (…
lightclient Aug 19, 2024
65aaf52
accounts/abi: handle ABIs with contract type parameter (#30315)
chen4903 Aug 20, 2024
3b48b16
core/rawdb: drop MigrateTable (#30331)
s1na Aug 20, 2024
fc88cea
core/vm: reuse Memory instances (#30137)
lmittmann Aug 20, 2024
693e40a
build: attempt at reproducible builds (#30321)
holiman Aug 20, 2024
d0fd133
all: update to go version 1.23.0 (#30323)
holiman Aug 20, 2024
15fb0dc
rpc: add timeout to rpc client Unsubscribe (#30318)
lightclient Aug 20, 2024
0fde506
cmd/devp2p: require dns:read, dns:edit permissions for cloudflare dep…
praetoriansentry Aug 20, 2024
3c37db7
all: clean up goerli flag and config (#30289)
stevemilk Aug 20, 2024
00294e9
cmd/utils,p2p: enable discv5 by default (#30327)
lightclient Aug 20, 2024
2a534ee
travis.yml: use focal for builds (#30319)
holiman Aug 20, 2024
df645e7
trie: use go-verkle helper for speedier (*VerkleTrie).RollBackAccount…
gballet Aug 21, 2024
733fcbb
eth/protocols/eth: handle zero-count header requests (#30305)
holiman Aug 21, 2024
30824fa
eth/tracers: avoid panic in state test runner (#30332)
holiman Aug 21, 2024
941ae33
build: fix hash for go1.23.0.linux-riscv64.tar.gz (#30335)
sandakersmann Aug 22, 2024
ada20c0
build: make go buildid static (#30342)
holiman Aug 23, 2024
020f026
trie: avoid un-needed map copy (#30343)
rjl493456442 Aug 23, 2024
c12a1c9
beacon/blsync: better error information in test (#30336)
karlb Aug 23, 2024
eaf4285
beacon/light/sync: basic tests for rangeLock (#30269)
Gealber Aug 23, 2024
0378dc8
build: debug travis build (#30344)
holiman Aug 23, 2024
1d006bd
gitignore: ignore build signatures (#30346)
holiman Aug 23, 2024
4e17f28
doc: update 2021-08-22-split-postmortem (#30351)
Ocheretovich Aug 26, 2024
a223efc
core: implement EIP-2935 (#29465)
s1na Aug 26, 2024
bfda8ae
core: add metrics for state access (#30353)
rjl493456442 Aug 26, 2024
9b5d141
core/state: fix trie prefetcher for verkle (#30354)
rjl493456442 Aug 26, 2024
87377c5
p2p/discover: fix Write method in metered connection (#30355)
ngotchac Aug 27, 2024
9eb9154
accounts/abi/bind, ethclient/simulated: check SendTransaction error i…
ceyonur Aug 27, 2024
0e5546f
core/state: semantic journalling (part 1) (#28880)
holiman Aug 28, 2024
ea3b509
signer/core/apitypes: support fixed size arrays for EIP-712 typed dat…
mdymalla Aug 28, 2024
e9467ee
consensus/beacon, core/types: add verkle witness builder (#30129)
gballet Aug 29, 2024
ab3ee99
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates (#30357)
jsign Aug 30, 2024
36a7134
Include tracerConfig in created tracing test (#30364)
karlb Sep 2, 2024
922eb03
core/state: pull the verkle trie from prefetcher for empty storage ro…
rjl493456442 Sep 2, 2024
de597af
funding.json: add funding information file (#30385)
lightclient Sep 3, 2024
dfd33c7
all: implement EIP-6110, execution layer triggered deposits (#29431)
lightclient Sep 4, 2024
b0b67be
all: remove forkchoicer and reorgNeeded (#29179)
MariusVanDerWijden Sep 4, 2024
fdb8499
core: fix compilation error (#30394)
holiman Sep 4, 2024
7ef49e3
all: remove funding verifier (#30391)
lightclient Sep 4, 2024
c3f13b2
node: fix flaky jwt-test (#30388)
holiman Sep 4, 2024
23973bd
build: increase go test timeout (#30398)
MariusVanDerWijden Sep 5, 2024
623b17b
core/state: state reader abstraction (#29761)
rjl493456442 Sep 5, 2024
5035f99
core/state: get rid of field pointer in journal (#30361)
rjl493456442 Sep 6, 2024
83775b1
build: upgrade -dlgo version to Go 1.23.1 (#30404)
sandakersmann Sep 6, 2024
8f4fac7
internal/ethapi: eth_multicall (#27720)
s1na Sep 6, 2024
88c8459
eth/fetcher: fix blob transaction propagation (#30125)
roberto-bayardo Sep 6, 2024
d718312
core/state/snapshot: port changes from 29995 (#30040)
rjl493456442 Sep 6, 2024
c70b0a9
beacon/engine/types: remove PayloadV4 (#30415)
lightclient Sep 10, 2024
ec69830
core/vm: remove panic when address is not present (#30414)
achmand Sep 11, 2024
a01e974
beacon/light/api: fixed blsync update query (#30421)
zsfelfoldi Sep 12, 2024
7c6b3f9
eth/filters: prevent concurrent access in test (#30401)
darioush Sep 13, 2024
c0b5d42
core/rawdb: more accurate description of freezer in docs (#30393)
rjl493456442 Sep 13, 2024
9be2e01
core/state, core/vm: Nyota contract create init simplification (#30409)
gballet Sep 13, 2024
f544fc3
p2p/enode: add quic ENR entry (#30283)
guillaumemichel Sep 13, 2024
07b5a04
core/tracing: fix copy/paste error+comments in reason listing (#30431)
gballet Sep 14, 2024
0dd7e82
core/txpool/blobpool: avoid possible zero index panic (#30430)
mask-pp Sep 14, 2024
ae70744
core/rawdb: remove unused transition status state accessors (#30433)
stevemilk Sep 15, 2024
4c4f212
internal: run tests in parallel (#30381)
estensen Sep 16, 2024
0342496
core/types: more easily extensible tx signing (#30372)
piersy Sep 16, 2024
ec596e0
core, trie: prealloc capacity for maps (#30437)
mask-pp Sep 16, 2024
8dd2962
core/tracing: fix typo in comment (#30443)
eltociear Sep 16, 2024
8032b63
core/tracing: add verkle gas change reasons to changelog (#30444)
s1na Sep 17, 2024
d09600f
Revert "core/rawdb: remove unused transition status state accessors" …
gballet Sep 18, 2024
f321dfa
params: release go-ethereum v1.14.9 stable (#30455)
gballet Sep 18, 2024
c350d3a
Merge pull request #30456 from ethereum/master
karalabe Sep 18, 2024
af794ef
params: begin v1.14.10 release cycle (#30457)
gballet Sep 18, 2024
868d53c
genesis: fix dev mode alloc (#30460)
s1na Sep 19, 2024
c4c2c4f
core: minor fix for the log wrapper with debug purpose (#30454)
CaraWang Sep 19, 2024
7513966
ethdb/pebble: handle errors (#30367)
mask-pp Sep 19, 2024
deb5c08
.github: add release maintainers to params/ CODEOWNERS (#30458)
gballet Sep 19, 2024
b018da9
build: fix macos builds by working around travis osx flaw (#30479)
holiman Sep 20, 2024
9326a11
beacon, core, eth, miner: integrate witnesses into production Geth (#…
karalabe Sep 20, 2024
f4c6c03
travis: work around travis/osx/go1.23 setup bug (#30491)
holiman Sep 22, 2024
118c84a
cmd/utils: fix `setEtherbase` (#30488)
zhiqiangxu Sep 23, 2024
956d32d
core/state: fix comment of `mode` (#30490)
zhiqiangxu Sep 23, 2024
b805772
core/state: commit snapshot only if the base layer exists (#30493)
rjl493456442 Sep 23, 2024
564b616
internal/ethapi/api: for simulated calls, set gaspool to max value if…
jwasinger Sep 23, 2024
2278647
core/rawdb: make sure specified state scheme is valid (#30499)
mask-pp Sep 24, 2024
07d64cd
Merge tag 'v1.14.9' into taiko
davidtaikocha Sep 24, 2024
3bab79d
feat(repo): `geth/v1.14.9` upstream merge
davidtaikocha Sep 24, 2024
f2e13c7
internal/ethapi: fix gascap 0 for eth_simulateV1 (#30496)
s1na Sep 24, 2024
55ed8fe
core/tracing, core/vm: add ContractCode to the OpContext (#30466)
kchojn Sep 24, 2024
80b529e
core/vm: more benchmarks for bls g1/g2-multiexp precompiles (#30459)
jwasinger Sep 24, 2024
b5a88da
p2p/discover: fix flaky tests writing to test.log after completion (#…
holiman Sep 26, 2024
93675d1
deps: update supranational/blst (#30504)
holiman Sep 26, 2024
bb9897f
core/txpool, eth/catalyst: ensure gas tip retains current value upon …
jwasinger Sep 26, 2024
04975b2
feat(repo): Fix bug merge 1.14.9 (#320)
mask-pp Sep 26, 2024
9274f28
core/txpool/blobpool: revert part of #30437, return all reinject-addr…
holiman Sep 27, 2024
abbd3d9
core/txpool/blobpool: add test to check internal shuffling
karalabe Sep 27, 2024
52a9d89
Merge pull request #30518 from holiman/blobpool_fix
karalabe Sep 27, 2024
1df75db
Revert "core/txpool, eth/catalyst: ensure gas tip retains current va…
karalabe Sep 27, 2024
2695518
params: release Geth v1.14.10
karalabe Sep 27, 2024
1015a42
Merge pull request #30522 from ethereum/master
karalabe Sep 27, 2024
d11d7ba
Merge tag 'v1.14.10' into merge-1.14.9
davidtaikocha Sep 29, 2024
25e1b1d
feat: merge 1.14.10
davidtaikocha Sep 29, 2024
dc5fdb7
Merge branch 'taiko' into merge-1.14.9
mask-pp Sep 29, 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
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
accounts/usbwallet @karalabe
accounts/scwallet @gballet
accounts/abi @gballet @MariusVanDerWijden
beacon/engine @lightclient
cmd/clef @holiman
cmd/evm @holiman @MariusVanDerWijden @lightclient
consensus @karalabe
core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
eth/catalyst/ @gballet @lightclient
eth/tracers/ @s1na
core/tracing/ @s1na
graphql/ @s1na
internal/ethapi @lightclient
internal/era @lightclient
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
node/ @fjl
p2p/ @fjl @zsfelfoldi
params/ @fjl @holiman @karalabe @gballet @rjl493456442 @zsfelfoldi
rpc/ @fjl @holiman
p2p/simulations @fjl
p2p/protocols @fjl
p2p/testing @fjl
signer/ @holiman
11 changes: 4 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21.4
cache-dependency-path: |
go.mod
go.sum

go-version: 1.23.0
cache: false
- name: Run tests
run: go test -short ./...
env:
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ build/_vendor/pkg
/build/bin/
/geth*.zip

# used by the build/ci.go archive + upload tool
/geth*.tar.gz
/geth*.tar.gz.sig
/geth*.tar.gz.asc
/geth*.zip.sig
/geth*.zip.asc


# travis
profile.tmp
profile.cov
Expand Down
27 changes: 21 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ run:
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
skip-files:
- core/genesis_alloc.go

linters:
disable-all: true
Expand All @@ -25,7 +23,10 @@ linters:
- durationcheck
- exportloopref
- whitespace
- revive # only certain checks enabled

### linters we tried and will not be using:
###
# - structcheck # lots of false positives
# - errcheck #lot of false positives
# - contextcheck
Expand All @@ -38,21 +39,35 @@ linters:
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
rules:
- name: receiver-naming
severity: warning
disabled: false
exclude: [""]

issues:
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.'
- path: accounts/usbwallet/trezor.go
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
- path: accounts/usbwallet/trezor/
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
exclude:
- 'SA1019: event.TypeMux is deprecated: use Feed'
- 'SA1019: strings.Title is deprecated'
Expand Down
1 change: 0 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Diederik Loerakker <proto@protolambda.com>
Dimitry Khokhlov <winsvega@mail.ru>

Domino Valdano <dominoplural@gmail.com>
Domino Valdano <dominoplural@gmail.com> <jeff@okcupid.com>

Edgar Aroutiounian <edgar.factorial@gmail.com>

Expand Down
76 changes: 32 additions & 44 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
if: type = push
os: linux
arch: amd64
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
env:
- docker
services:
Expand All @@ -32,8 +32,8 @@ jobs:
if: type = push
os: linux
arch: arm64
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
env:
- docker
services:
Expand All @@ -49,21 +49,21 @@ jobs:
- stage: build
if: type = push
os: linux
dist: bionic
dist: focal
sudo: required
go: 1.21.x
go: 1.23.x
env:
- azure-linux
git:
submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
- gcc-multilib
script:
# Build for the primary platforms that Trusty can manage
# build amd64
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# build 386
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
- git status --porcelain
- go run build/ci.go install -dlgo -arch 386
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

Expand All @@ -85,61 +85,48 @@ jobs:
if: type = push
os: osx
osx_image: xcode14.2
go: 1.21.x
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
os: linux
arch: amd64
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

- stage: build
if: type = pull_request
os: linux
arch: arm64
dist: bionic
go: 1.20.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES
- travis_wait 45 go run build/ci.go test $TEST_PACKAGES

- stage: build
if: type = push
os: linux
dist: bionic
go: 1.20.x
dist: focal
go: 1.22.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES
- travis_wait 45 go run build/ci.go test $TEST_PACKAGES

# This builder does the Ubuntu PPA nightly uploads
- stage: build
if: type = cron || (type = push && tag ~= /^v[0-9]/)
os: linux
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
env:
- ubuntu-ppa
git:
submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
- devscripts
- debhelper
- dput
- fakeroot
- python-bzrlib
- python-paramiko
before_install:
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
script:
- echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"
Expand All @@ -148,8 +135,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
env:
- azure-purge
git:
Expand All @@ -161,8 +148,9 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: focal
go: 1.23.x
env:
- racetests
script:
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

- travis_wait 60 go run build/ci.go test -race $TEST_PACKAGES
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM --platform=${BUILDPLATFORM} golang:1.21-alpine as builder
FROM golang:1.23-alpine as builder

RUN apk add --no-cache gcc musl-dev linux-headers git

Expand All @@ -28,7 +28,7 @@ COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
ENTRYPOINT ["geth"]

# Add some metadata labels to help programatic image consumption
# Add some metadata labels to help programmatic image consumption
ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.alltools
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM golang:1.21-alpine as builder
FROM golang:1.23-alpine as builder

RUN apk add --no-cache gcc musl-dev linux-headers git

Expand All @@ -24,7 +24,7 @@ COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/

EXPOSE 8545 8546 30303 30303/udp

# Add some metadata labels to help programatic image consumption
# Add some metadata labels to help programmatic image consumption
ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""
Expand Down
27 changes: 17 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,56 @@
# with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make.

.PHONY: geth android ios evm all test clean
.PHONY: geth all test lint fmt clean devtools help

GOBIN = ./build/bin
GO ?= latest
GORUN = go run

#? geth: Build geth
#? geth: Build geth.
geth:
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
@echo "Run \"$(GOBIN)/geth\" to launch geth."

#? all: Build all packages and executables
#? all: Build all packages and executables.
all:
$(GORUN) build/ci.go install

#? test: Run the tests
#? test: Run the tests.
test: all
$(GORUN) build/ci.go test

#? lint: Run certain pre-selected linters
#? lint: Run certain pre-selected linters.
lint: ## Run linters.
$(GORUN) build/ci.go lint

#? clean: Clean go cache, built executables, and the auto generated folder
#? fmt: Ensure consistent code formatting.
fmt:
gofmt -s -w $(shell find . -name "*.go")

#? clean: Clean go cache, built executables, and the auto generated folder.
clean:
go clean -cache
rm -fr build/_workspace/pkg/ $(GOBIN)/*

# The devtools target installs tools required for 'go generate'.
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.

#? devtools: Install recommended developer tools
#? devtools: Install recommended developer tools.
devtools:
env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
env GOBIN= go install github.com/fjl/gencodec@latest
env GOBIN= go install github.com/golang/protobuf/protoc-gen-go@latest
env GOBIN= go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
env GOBIN= go install ./cmd/abigen
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'

#? help: Get more info on make commands.
help: Makefile
@echo " Choose a command run in go-ethereum:"
@echo ''
@echo 'Usage:'
@echo ' make [target]'
@echo ''
@echo 'Targets:'
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
.PHONY: help
Loading
Loading