Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
67422e2
p2p/nat: fix typos in comments (#29536)
dbadoy Apr 15, 2024
ef5ac3f
eth/filters: enforce topic-limit early on filter criterias (#29535)
holiman Apr 15, 2024
d3c4466
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, i…
rjl493456442 Apr 16, 2024
e4ecaf8
rpc: implement Unwrap() for wsHandshakeError (#29522)
sucramx Apr 16, 2024
71c78bf
rpc: close Clients in tests (#29512)
Apr 16, 2024
f437307
core/vm: update gascosts for BLS12-381 + use gnark instead of kilic (…
MariusVanDerWijden Apr 16, 2024
fadd9d8
eth/catalyst: fix log (#29549)
Apr 16, 2024
72f6936
c.d/utils: rename vmtrace.config to vmtrace.jsonconfig (#29554)
ziogaschr Apr 16, 2024
65e32d4
go.mod: clean up indirection (#29553)
ucwong Apr 16, 2024
5ffd940
core: go fmt (#29544)
ucwong Apr 16, 2024
0a51028
all: fix various typos (#29542)
persmor Apr 16, 2024
92da96b
core/vm: refactor push-functions to use `min` builtin (#29515)
Apr 16, 2024
27de7de
ethdb/pebble: print warning log if pebble performance degrades (#29478)
rjl493456442 Apr 17, 2024
74e8d2d
trie/utils: simplify codeChunkIndex (#29480)
AaronChen0 Apr 17, 2024
1e9bf2a
core/state: fix bug in statedb.Copy and remove unnecessary preallocat…
AaronChen0 Apr 17, 2024
0da69e8
beacon/blsync: proceed with empty finalized hash if proof is not expe…
zsfelfoldi Apr 17, 2024
5f95145
eth/ethconfig: regenerate autogen files (#29559)
ucwong Apr 18, 2024
b5902cf
core: remove unused fields (#29569)
rjl493456442 Apr 18, 2024
823719b
core/vm: enable bls-precompiles for Prague (#29552)
holiman Apr 18, 2024
81349ff
eth/catalyst: fix typo (#29580)
pengwenhui888 Apr 19, 2024
cce879b
tests: define cancun-to-prague at 15K chainconig (#29557)
marioevz Apr 19, 2024
2e06fbd
core/vm: add KZG benchmark (#29583)
MariusVanDerWijden Apr 19, 2024
98f504f
p2p/discover: fix test error messages (#29592)
bugmaker9371 Apr 21, 2024
28ccb2b
build: fix string compare for SortFunc (#29595)
AaronChen0 Apr 21, 2024
ad3d8cb
cmd/geth: remove unused parameter (#29602)
javaandfly Apr 22, 2024
82b0dec
eth/filters: remove support for pending logs (#29574)
fjl Apr 22, 2024
c2dfe7a
go.mod: update golang/x repos (#29604)
karalabe Apr 22, 2024
1ec7af2
eth: Add eth_blobBaseFee RPC and blob fields to eth_feeHistory (#29140)
ryanschneider Apr 22, 2024
e6689fe
beacon/light/sync: print error log if checkpoint retrieval fails (#29…
zsfelfoldi Apr 22, 2024
acd1eaa
core: remove bad block checks (#29609)
rjl493456442 Apr 22, 2024
853e0c2
eth/catalyst, trie/pathdb: fix flaky tests (#29571)
holiman Apr 23, 2024
0e380dd
miner: fix typos (#29625)
0xmountaintop Apr 23, 2024
709e0b3
metrics: remove librato (#29624)
AaronChen0 Apr 23, 2024
b2b0e1d
all: fix various typos (#29600)
hr98w Apr 23, 2024
256d4b0
beacon/light: request finality update explicitly when necessary (#29567)
zsfelfoldi Apr 23, 2024
9457993
core/vm: fix Prague contracts (#29612)
marioevz Apr 23, 2024
882d1e2
cmd/geth, cmd/utils: rename config and flag to` VMTraceJsonConfig` (#…
ziogaschr Apr 24, 2024
fb08fd3
core/tracing: Add OnClose Trace Hook (#29629)
ziogaschr Apr 24, 2024
ade7515
eth, eth/tracers: process beacon root before transactions (#29402)
maoueh Apr 24, 2024
5f3c58f
eth/downloader: fix case where skeleton reorgs below the filled block…
jwasinger Apr 24, 2024
87246f3
params: release Geth v1.14.0
karalabe Apr 24, 2024
938734b
params: begin 1.14.1 release cycle
karalabe Apr 24, 2024
0d4c388
core/state: remove account reset operation v2 (#29520)
holiman Apr 24, 2024
ac21f9b
trie: preallocate capacity for fields slice (#29614)
qcrao Apr 24, 2024
7362691
trie, consensus/clique: use maps.Clone (#29616)
AaronChen0 Apr 24, 2024
4f4f9d8
core/state: storage journal entry should revert dirtyness too (#29641)
karalabe Apr 24, 2024
2f6ff49
internal/ethapi: typo (#29636)
yosuzzy Apr 25, 2024
a13b925
eth/protocols/eth,p2p/discover: remove unnecessary checks (#29590)
undefinedor Apr 25, 2024
243cde0
core/state: better randomized testing (postcheck) on journalling (#29…
holiman Apr 25, 2024
1f628d8
build: build all the builders to build all the builders (#29647)
karalabe Apr 25, 2024
a0282fc
travis: temporarilly enable PPA builds for testing (#29648)
karalabe Apr 25, 2024
634d037
travis: revert the PPA fix hot-build, it works (#29649)
karalabe Apr 25, 2024
ad4fb2c
build: drop trusty from PPA builds, EOL and incompatible (#29651)
karalabe Apr 25, 2024
8d42e11
core/state: revert pending storage updates if they revert to original…
karalabe Apr 26, 2024
4253030
core/state: move metrics out of state objects (#29665)
karalabe Apr 26, 2024
4bdbaab
params: clarify consensus engine config `String`s (#29643)
roysc Apr 28, 2024
8c3fc56
p2p/simulations/adapters: use maps.Clone (#29626)
AaronChen0 Apr 29, 2024
fecc8a0
cmd/evm/internal/t8ntool, core: prealloc map sizes where possible (#2…
mask-pp Apr 30, 2024
69f815f
params: print time value instead of pointer in ConfigCompatError (#29…
NathanBSC Apr 30, 2024
c04b8e6
cmd/utils: require TTD and difficulty to be zero at genesis for dev m…
fselmo Apr 30, 2024
f46c878
core/rawdb: implement in-memory freezer (#29135)
rjl493456442 Apr 30, 2024
242b24a
trie/trienode: minor speedup in nodeset merging (#29683)
holiman Apr 30, 2024
ea89f9a
core/vm: remove a redundant zero check in opAddmod (#29672)
AaronChen0 Apr 30, 2024
7c7e3a7
eth/tracers/native: fix flatCallTracer Stop() bug (#29623)
draganm Apr 30, 2024
bd6bc37
core/vm: add subgroup checks for mul/mulexp for G1/G2 (#29637)
MariusVanDerWijden Apr 30, 2024
5e07054
internal/ethapi: listen to ctx cancellation in access list (#29686)
holiman Apr 30, 2024
2e8e35f
all: refactor so `NewBlock`, `WithBody` take `types.Body` (#29482)
lightclient Apr 30, 2024
45baf21
eth/downloader: purge pre-merge sync code (#29281)
jwasinger Apr 30, 2024
f8820f1
accounts, cmd/geth, core: close opened files (#29598)
songzhibin97 Apr 30, 2024
9f96e07
core/rawdb, trie: improve db APIs for accessing trie nodes (#29362)
rjl493456442 Apr 30, 2024
682ee82
core/state: parallelise parts of state commit (#29681)
karalabe May 2, 2024
bc609e8
core/vm: remove redundant error checks (#29692)
AaronChen0 May 2, 2024
fbf6238
params: fix misleading comments (#29684)
NathanBSC May 2, 2024
2c67fab
trie/pathdb: preallocate map capacity (#29690)
mask-pp May 2, 2024
86a1f0c
core/rawdb: fix ancient root folder (#29697)
rjl493456442 May 2, 2024
905e325
p2p/discover/v5wire: add tests for invalid handshake and auth data si…
kiarash8112 May 6, 2024
a09a610
core/tracing: add system call callback when performing `ProcessBeacon…
maoueh May 6, 2024
43cbcd7
core, core/state: move TriesInMemory to state package (#29701)
gballet May 6, 2024
3e896c8
ethdb/pebble: fix pebble metrics registration (#29699)
magicxyyz May 6, 2024
e4b8058
eth/gasprice: add query limit for FeeHistory to defend DDOS attack (#…
NathanBSC May 7, 2024
d6e91e2
eth/gasestimator: include blobs in virtual balance computation (#29703)
nand2 May 7, 2024
71aa15c
travis: use ubuntu noble (24.04) instead of bionic (18.04) (#29723)
holiman May 7, 2024
e96de64
build: upgrade to go 1.22.3 (#29725)
fjl May 7, 2024
9ec5008
core: use in-memory freezer for tests (#29720)
rjl493456442 May 8, 2024
dd4afb9
.travis.yml: fix install of gcc-multilib (#29733)
fjl May 8, 2024
6154f87
.travis.yml: fix apt-get options (#29734)
fjl May 8, 2024
dd09f7e
params: release go-ethereum v1.14.1 stable
fjl May 8, 2024
14f4228
params: begin v1.14.2 release cycle
fjl May 8, 2024
eeb2208
.travis.yml: fix package install on PPA builder
fjl May 8, 2024
35b2d07
params: release go-ethereum v1.14.2 stable
fjl May 8, 2024
1a79f8f
params: begin v1.14.3 release cycle
fjl May 8, 2024
faff03c
.travis.yml: enable PPA upload on push and fix apt-get command (#29741)
fjl May 8, 2024
804afb8
.travis.yml: restore PPA condition and bump timeouts (#29742)
fjl May 8, 2024
ab48ba4
params: release go-ethereum v1.14.3 stable
fjl May 9, 2024
6d51c1f
params: begin v1.14.4 release cycle
fjl May 9, 2024
0e456d9
.travis.yml: disable normal unit tests in cron job (#29746)
fjl May 9, 2024
74edc93
params: gofmt
fjl May 9, 2024
e5f5eae
core/state: remove slot dirtyness if it's set back to origin value (#…
rjl493456442 May 10, 2024
603fd89
event: fix typo (#29749)
cocoyeal May 10, 2024
47af69c
core, beacon, ethdb: fix typos (#29748)
hteevoli May 10, 2024
44a50c9
cmd, core, params, trie: add verkle access witness gas charging (#29338)
gballet May 10, 2024
2ac83e1
core/state: blocking prefetcher on term signal, parallel updates (#29…
karalabe May 13, 2024
5b3e3cd
tests: update tests (#29730)
rjl493456442 May 13, 2024
be32843
core/state: remove useless operation (#29769)
rjl493456442 May 14, 2024
8919c5c
core: deploy EIP-4788 contract in dev mode genesis (#29655)
0xbeny May 14, 2024
d2f00cb
.github: upgrade to action versions with node20 (#29776)
cario-dev May 14, 2024
7ed52c9
core: move balanceCheck addition in buyGas (#29762)
zhiqiangxu May 15, 2024
473ee8f
trie, eth/protocols/snap: sanitize the committed node data (#29485)
rjl493456442 May 16, 2024
be5df74
trie: update the `valid` function comments (#29809)
cocoyeal May 21, 2024
7fd7c1f
eth/tracers: fix basefee context for traceBlock (#29811)
holiman May 21, 2024
0d4cdb3
internal/ethapi: fix typos (#29784)
karlb May 23, 2024
fa58176
eth/tracers: fix json logger for evm blocktest (#29795)
s1na May 23, 2024
b779e46
Makefile: add fmt, update help (#29777)
tr1sm0s1n May 23, 2024
70bee97
metrics: fix out of range error message (#29821)
Halimao May 23, 2024
6a9158b
p2p/discover: improved node revalidation (#29572)
fjl May 23, 2024
cc9e2bd
p2p/enode: fix endpoint determination for IPv6 (#29801)
fjl May 23, 2024
61b3d93
p2p/enode: fix TCPEndpoint (#29827)
AaronChen0 May 23, 2024
08fe6a8
metrics: fix flaky test`TestExpDecaySampleNanosecondRegression` (#29832)
Halimao May 24, 2024
64b1cd8
p2p: fix typos (#29828)
gitglorythegreat May 24, 2024
b6474e9
metrics: add test for `SampleSnapshot.Sum` (#29831)
levisyin May 24, 2024
d1d9f34
core/types: clarify set inclusion in comments (#29839)
winterjihwan May 26, 2024
7f5cc02
metrics: fix function comment (#29843)
Wukingbow May 27, 2024
7224576
core, eth/protocols/snap, internal/ethapi: remove redundant types (#2…
tr1sm0s1n May 27, 2024
1a4e4a4
miner: fix TestBuildPayload sporadic failure (#29853)
May 27, 2024
5132768
eth/downloader: fix flaky test (#29852)
rjl493456442 May 27, 2024
ea6c160
eth/tracers: clear error for non-reverting pre-homestead fail (#29824)
s1na May 28, 2024
caafa93
all: improve some error strings (#29842)
trillom8 May 28, 2024
42471d7
core/vm/runtime: set random to enable merge-opcodes (#29799)
holiman May 28, 2024
871e55d
core/state: fix typos in comments (#29767)
gitglorythegreat May 28, 2024
61932e4
cmd/geth: update testdata (vulncheck) (#29714)
holiman May 28, 2024
b88051e
core/rawdb, triedb/pathdb: fix freezer read-only option (#29823)
rjl493456442 May 28, 2024
af0a327
p2p/discover: fix crash when revalidated node is removed (#29864)
fjl May 28, 2024
e517183
eth, eth/downloader: remove references to LightChain, LightSync (#29…
jwasinger May 28, 2024
171430c
core/state: remove unused error from prefetcher trie method (#29768)
jwasinger May 28, 2024
cc22e0c
p2p/discover: fix update logic in handleAddNode (#29836)
lightclient May 28, 2024
5534c84
go.mod: update a number of dependencies (#29763)
holiman May 29, 2024
daf4f72
p2p/simulations: remove stale information about docker adapter (#29874)
bugmaker9371 May 29, 2024
153f8da
p2p/nodestate: remove unused package (#29872)
lilasxie May 29, 2024
b8cf163
accounts: fix TestUpdateKeyfileContents (#29867)
May 29, 2024
06263b1
all: fix typos in comments (#29873)
polymaer May 29, 2024
2f0e63e
eth/downloader, eth/tracer: fix typos in comments (#29707)
trillom8 May 29, 2024
e26fa9e
core/state: fix typo in comment (#29639)
niuxiaojie81 May 29, 2024
94a8b29
p2p/discover: refactor node and endpoint representation (#29844)
fjl May 29, 2024
3fef534
build: upgrade to golangci-lint v1.59.0 (#29875)
fjl May 29, 2024
2f06c1e
cmd/devp2p: fix node.TCP -> node.UDP (#29879)
hattizai May 29, 2024
6bb13e8
eth/catalyst: ensure TxPool is synced in Fork (#29876)
fjl May 29, 2024
e015c11
ethdb: remove unnecessary function wrapper (#29888)
suiyuan1314 May 30, 2024
2262bf3
crypto/secp256k1: change receiver variable name to lowercase (#29889)
suiyuan1314 May 30, 2024
5d7d48f
eth/gasprice: add comment to constant (#29892)
yosuzzy May 30, 2024
bdc62f9
common/math: rename variable name `int` to `n` (#29890)
tianyeyouyou May 31, 2024
2613523
miner: lower default min miner tip from 1 gwei to 0.001 gwei (#29895)
karalabe May 31, 2024
d4b81f0
CODEOWNERS: @s1na owns core/tracing (#29899)
s1na May 31, 2024
c9e0b31
Supply delta live tracer (#29347)
ziogaschr Jun 3, 2024
d38b88a
core/state: introduce stateupdate structure (#29530)
rjl493456442 Jun 3, 2024
50405e2
cmd/evm/internal/t8ntool: fix a typo (#29887)
0xmountaintop Jun 3, 2024
b36c738
beacon/engine: prealloc capacity for map and slice (#29903)
mask-pp Jun 3, 2024
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)
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
aa55f5e
Merge branch 'master' into release/1.14
fjl Jul 11, 2024
95d6217
Merge tag 'v1.14.0' into dp/v1.14
danyalprout Jul 13, 2024
3964d7c
Merge tag 'v1.14.3' into dp/v1.14.3
danyalprout Jul 13, 2024
1026c6e
Merge tag 'v1.14.7' into dp/v1.14.7
danyalprout Jul 14, 2024
b30d083
restore OpenStorageTrie helper
danyalprout Jul 14, 2024
38c4b4e
core: don't modify signature param V when reading chainId
danyalprout Jul 14, 2024
5f6577a
fix: format and lint
danyalprout Jul 14, 2024
e1d0c00
chore: update the fork diff
danyalprout Jul 14, 2024
d0b4ec1
correctly place log line
danyalprout Jul 15, 2024
b0091b2
Merge branch 'optimism' into dp/v1.14.7
mdehoog Aug 7, 2024
a658353
Merge pull request #1 from mdehoog/mdh/v1.14.7
danyalprout Aug 7, 2024
7cee173
Code review fixes
mdehoog Aug 8, 2024
6f9fab0
Merge pull request #2 from mdehoog/dp/v1.14.7-code-review
danyalprout Aug 8, 2024
9b527a8
eth/tracers/live: update supply tracer to track deposits
protolambda Aug 8, 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
  •  
  •  
  •  
Empty file added .github/workflows/go.yml
Empty file.
15 changes: 15 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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 @@ -37,6 +40,15 @@ 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-dirs-use-default: true
Expand All @@ -47,6 +59,9 @@ issues:
linters:
- deadcode
- staticcheck
- path: crypto/bn256/
linters:
- revive
- 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
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 <[email protected]>
Dimitry Khokhlov <[email protected]>

Domino Valdano <[email protected]>
Domino Valdano <[email protected]> <[email protected]>

Edgar Aroutiounian <[email protected]>

Expand Down
74 changes: 30 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: noble
go: 1.22.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: noble
go: 1.22.x
env:
- docker
services:
Expand All @@ -49,21 +49,20 @@ jobs:
- stage: build
if: type = push
os: linux
dist: bionic
dist: noble
sudo: required
go: 1.21.x
go: 1.22.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
- 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,7 +84,7 @@ jobs:
if: type = push
os: osx
osx_image: xcode14.2
go: 1.21.x
go: 1.22.x
env:
- azure-osx
git:
Expand All @@ -98,48 +97,34 @@ jobs:

# These builders run the tests
- stage: build
if: type = push
os: linux
arch: amd64
dist: bionic
go: 1.21.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
dist: noble
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

- stage: build
if: type = push
os: linux
dist: bionic
go: 1.20.x
dist: noble
go: 1.21.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: noble
go: 1.22.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 <[email protected]>"
Expand All @@ -148,8 +133,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
env:
- azure-purge
git:
Expand All @@ -161,8 +146,9 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.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 golang:1.21-alpine as builder
FROM golang:1.22-alpine as builder

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

Expand All @@ -25,7 +25,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.22-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
25 changes: 16 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,43 @@
# 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
Expand All @@ -51,6 +55,9 @@ forkdiff:

#? 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ archives are published at https://geth.ethereum.org/downloads/.

For prerequisites and detailed build instructions please read the [Installation Instructions](https://geth.ethereum.org/docs/getting-started/installing-geth).

Building `geth` requires both a Go (version 1.19 or later) and a C compiler. You can install
Building `geth` requires both a Go (version 1.21 or later) and a C compiler. You can install
them using your favourite package manager. Once the dependencies are installed, run

```shell
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/argument.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (arguments Arguments) Copy(v interface{}, values []interface{}) error {
return arguments.copyAtomic(v, values[0])
}

// unpackAtomic unpacks ( hexdata -> go ) a single value
// copyAtomic copies ( hexdata -> go ) a single value
func (arguments Arguments) copyAtomic(v interface{}, marshalledValues interface{}) error {
dst := reflect.ValueOf(v).Elem()
src := reflect.ValueOf(marshalledValues)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ func NewKeyStoreTransactorWithChainID(keystore *keystore.KeyStore, account accou
// NewKeyedTransactorWithChainID is a utility method to easily create a transaction signer
// from a single private key.
func NewKeyedTransactorWithChainID(key *ecdsa.PrivateKey, chainID *big.Int) (*TransactOpts, error) {
keyAddr := crypto.PubkeyToAddress(key.PublicKey)
if chainID == nil {
return nil, ErrNoChainID
}
keyAddr := crypto.PubkeyToAddress(key.PublicKey)
signer := types.LatestSignerForChainID(chainID)
return &TransactOpts{
From: keyAddr,
Expand Down
7 changes: 2 additions & 5 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]int
if err != nil {
return nil, nil, err
}
sub, err := event.NewSubscription(func(quit <-chan struct{}) error {
sub := event.NewSubscription(func(quit <-chan struct{}) error {
for _, log := range buff {
select {
case logs <- log:
Expand All @@ -470,11 +470,8 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]int
}
}
return nil
}), nil
})

if err != nil {
return nil, nil, err
}
return logs, sub, nil
}

Expand Down
Loading