Skip to content

[TEST] Rebase v1.14.13 #118

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

Merged
merged 257 commits into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
a9fb5da
eth/catalyst: fix (*SimulatedBeacon).AdjustTime() conversion (#30138)
jmank88 Jul 16, 2024
566406d
trie, triedb: remove unnecessary child resolver interface (#30167)
rjl493456442 Jul 16, 2024
0885942
core/txpool/legacypool: use maps.Keys and maps.Copy (#30091)
mask-pp Jul 16, 2024
62cb445
core/state: don't compute verkle storage tree roots (#30130)
gballet Jul 16, 2024
b3641f6
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle…
rjl493456442 Jul 16, 2024
7341b10
p2p/discover: remove type encPubkey (#30172)
fjl Jul 18, 2024
b05f6b1
go.mod: upgrade to btcsuite/btcd/btcec v2.3.4 (#30181)
AlexanderMint Jul 18, 2024
f45341a
ethdb: remove snapshot (#30189)
s1na Jul 22, 2024
c8a4c1c
eth/gasprice: remove default from config (#30080)
MariusVanDerWijden Jul 22, 2024
c4a0c34
rpc: use stable object in notifier test (#30193)
lightclient Jul 22, 2024
8f79b3f
core/state: remove useless metrics (#30184)
rjl493456442 Jul 22, 2024
2ece4d9
rpc: show more error detail for `invalidMessageError` (#30191)
zhiqiangxu Jul 23, 2024
f7cd92a
core/tracing: update latest release version (#30211)
s1na Jul 23, 2024
a95689b
core/txpool: use the cached address in ValidateTransactionWithState (…
minh-bq Jul 23, 2024
de04a75
core/state: check db error after intermediate call (#30171)
rjl493456442 Jul 23, 2024
d1ca1ec
cmd/utils: allow configurating blob pool from flags (#30203)
minh-bq Jul 23, 2024
dc5caac
core/state: fix SetStorage override behavior (#30185)
rjl493456442 Jul 23, 2024
4ab3efb
triedb/pathdb: print out all trie owner and hash information (#30200)
rjl493456442 Jul 24, 2024
daeb523
beacon/types, cmd/devp2p, p2p/enr: clean up uses of fmt.Errorf (#30182)
yukionfire Jul 24, 2024
e8c2d4f
eth/tracers, internal/ethapi: remove unnecessary map pointer in state…
caseylove Jul 24, 2024
1335e4d
internal/ethapi: fix state override test (#30228)
lightclient Jul 26, 2024
6bba9ad
p2p/nat: return correct port for ExtIP NAT (#30234)
dknopik Jul 27, 2024
d7f18ba
p2p: fix flaky test TestServerPortMapping (#30241)
bearpebble Jul 30, 2024
0da0475
p2p/discover: schedule revalidation also when all nodes are excluded …
dknopik Jul 31, 2024
a18df46
miner: remove outdated comment (#30248)
Aug 1, 2024
6b3b286
eth/downloader: correct sync mode logging to show old mode (#30219)
smin-k Aug 1, 2024
e4418df
all: remove deprecated protobuf dependencies (#30232)
Icarus9913 Aug 1, 2024
dbb7dce
accounts/abi/bind: add accessList support to base bond contract (#30195)
ysh0566 Aug 1, 2024
8cc92ec
internal/debug: remove memsize (#30253)
fjl Aug 2, 2024
f6adcf1
eth/downloader: gofmt (#30261)
fjl Aug 2, 2024
e88f895
cmd/evm: don't overwrite sender account (#30259)
lightclient Aug 2, 2024
6cd2e81
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasU…
jsvisa Aug 5, 2024
f467418
params: remove unused les parameters (#30268)
stevemilk Aug 6, 2024
a889059
core/vm/runtime: ensure tracer benchmark calls `OnTxStart` (#30257)
lightclient Aug 6, 2024
e87adf6
ethclient: support networkID in hex format (#30263)
kkqy Aug 6, 2024
617e02f
core/vm: improved stack swap performance (#30249)
lmittmann Aug 6, 2024
a5eb6a8
signer/core: improve performance of isPrimitiveTypeValid function (#3…
llkhacquan Aug 8, 2024
5f752d2
core/vm: use uint64 in memory for indices everywhere (#30252)
lmittmann Aug 8, 2024
fe2e0ce
build: upgrade -dlgo version to Go 1.22.6 (#30273)
sandakersmann Aug 8, 2024
7fa44e8
tests: fix TransactionTest to actually run (#30272)
taiking Aug 8, 2024
2fb317b
eth/downloader, core/types: take withdrawals-size into account in dow…
psogv0308 Aug 8, 2024
623aa42
cmd/evm: fix evm basefee (#30281)
holiman Aug 8, 2024
791054e
go.mod: update uint256 to 1.3.1 (#30280)
holiman Aug 9, 2024
8500a47
beacon/engine, consensus/beacon: use params.MaximumExtraDataSize inst…
artjoma Aug 10, 2024
f41b0ef
p2p/simulations: remove packages (#30250)
lightclient Aug 12, 2024
003f04e
eth/protocols/snap: cleanup dangling account trie nodes due to incomp…
rjl493456442 Aug 12, 2024
53e8f64
go.mod: remove github.com/julienschmidt/httprouter (#30290)
islishude Aug 12, 2024
b29a314
build: run 'go mod tidy' check as part of lint (#30291)
jwasinger Aug 12, 2024
888a04b
core/txpool/blobpool: fix error message (#30247)
withzoo Aug 13, 2024
386a4d4
go.mod: upgrade to pebble v1.1.2 (#30297)
ajsutton Aug 14, 2024
8cc4318
core: only compute state root once (#30299)
MariusVanDerWijden Aug 15, 2024
abcfd68
.golangci.yml: remove lint warning for TxLookupLimit
fjl Aug 15, 2024
cdcabe5
eth/fetcher: always expect transaction metadata in announcement (#30288)
rjl493456442 Aug 15, 2024
10dee94
eth/ethconfig: remove LES server config (#30298)
fjl Aug 15, 2024
19224ef
eth/tracers/js: add coinbase addr to ctx (#30231)
achmand Aug 15, 2024
abae182
eth: dial nodes from discv5 (#30302)
fjl Aug 15, 2024
e03844b
beacon/light: handle endpoint URL more gracefully (#30306)
s1na Aug 16, 2024
9be61f4
core: remove withdrawal length check for state processor (#30286)
islishude Aug 16, 2024
c526508
vm: simplify error handling in `vm.EVM.create()` (#30292)
ARR4N Aug 16, 2024
d19fcb4
internal/build: include git-date on detached head (#30320)
holiman Aug 19, 2024
aa2f58b
build: remove mantic from ppa builds (#30322)
holiman Aug 19, 2024
3bf8036
gitignore: ignore upload-artefacts (#30325)
holiman Aug 19, 2024
ffa35a9
eth/catalyst: ensure period zero mode leaves no pending txs in pool (…
lightclient Aug 19, 2024
1670c71
accounts/abi: handle ABIs with contract type parameter (#30315)
chen4903 Aug 20, 2024
e6ebacc
core/rawdb: drop MigrateTable (#30331)
s1na Aug 20, 2024
50eb9e1
core/vm: reuse Memory instances (#30137)
lmittmann Aug 20, 2024
0bdf943
build: attempt at reproducible builds (#30321)
holiman Aug 20, 2024
c8cd04c
all: update to go version 1.23.0 (#30323)
holiman Aug 20, 2024
b38c93e
rpc: add timeout to rpc client Unsubscribe (#30318)
lightclient Aug 20, 2024
5f7b0ad
cmd/devp2p: require dns:read, dns:edit permissions for cloudflare dep…
praetoriansentry Aug 20, 2024
bbac96e
all: clean up goerli flag and config (#30289)
stevemilk Aug 20, 2024
354df65
cmd/utils,p2p: enable discv5 by default (#30327)
lightclient Aug 20, 2024
d6e5b42
travis.yml: use focal for builds (#30319)
holiman Aug 20, 2024
3e3d5be
trie: use go-verkle helper for speedier (*VerkleTrie).RollBackAccount…
gballet Aug 21, 2024
6bd40cb
eth/protocols/eth: handle zero-count header requests (#30305)
holiman Aug 21, 2024
7942d57
eth/tracers: avoid panic in state test runner (#30332)
holiman Aug 21, 2024
62b933e
build: fix hash for go1.23.0.linux-riscv64.tar.gz (#30335)
sandakersmann Aug 22, 2024
95d1fe7
build: make go buildid static (#30342)
holiman Aug 23, 2024
d656fcc
trie: avoid un-needed map copy (#30343)
rjl493456442 Aug 23, 2024
c19eb65
beacon/blsync: better error information in test (#30336)
karlb Aug 23, 2024
6432435
beacon/light/sync: basic tests for rangeLock (#30269)
Gealber Aug 23, 2024
6ef5f6f
build: debug travis build (#30344)
holiman Aug 23, 2024
d9a5b8e
gitignore: ignore build signatures (#30346)
holiman Aug 23, 2024
31b1495
doc: update 2021-08-22-split-postmortem (#30351)
Ocheretovich Aug 26, 2024
8f86b8a
core: implement EIP-2935 (#29465)
s1na Aug 26, 2024
41e1c28
core: add metrics for state access (#30353)
rjl493456442 Aug 26, 2024
d7479b3
core/state: fix trie prefetcher for verkle (#30354)
rjl493456442 Aug 26, 2024
aad24a5
p2p/discover: fix Write method in metered connection (#30355)
ngotchac Aug 27, 2024
6bc5707
accounts/abi/bind, ethclient/simulated: check SendTransaction error i…
ceyonur Aug 27, 2024
86f098b
core/state: semantic journalling (part 1) (#28880)
holiman Aug 28, 2024
92bc361
signer/core/apitypes: support fixed size arrays for EIP-712 typed dat…
mdymalla Aug 28, 2024
e9a4a6d
consensus/beacon, core/types: add verkle witness builder (#30129)
gballet Aug 29, 2024
64fbff7
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates (#30357)
jsign Aug 30, 2024
4938c69
Include tracerConfig in created tracing test (#30364)
karlb Sep 2, 2024
b47e75b
core/state: pull the verkle trie from prefetcher for empty storage ro…
rjl493456442 Sep 2, 2024
23c2c43
funding.json: add funding information file (#30385)
lightclient Sep 3, 2024
719f8e6
all: implement EIP-6110, execution layer triggered deposits (#29431)
lightclient Sep 4, 2024
3771f52
all: remove forkchoicer and reorgNeeded (#29179)
MariusVanDerWijden Sep 4, 2024
48b669d
core: fix compilation error (#30394)
holiman Sep 4, 2024
f3ec211
all: remove funding verifier (#30391)
lightclient Sep 4, 2024
c284b23
node: fix flaky jwt-test (#30388)
holiman Sep 4, 2024
f8f08a1
build: increase go test timeout (#30398)
MariusVanDerWijden Sep 5, 2024
356b81d
core/state: state reader abstraction (#29761)
rjl493456442 Sep 5, 2024
70e736e
core/state: get rid of field pointer in journal (#30361)
rjl493456442 Sep 6, 2024
27959da
build: upgrade -dlgo version to Go 1.23.1 (#30404)
sandakersmann Sep 6, 2024
a50e0c5
internal/ethapi: eth_multicall (#27720)
s1na Sep 6, 2024
7c425b8
eth/fetcher: fix blob transaction propagation (#30125)
roberto-bayardo Sep 6, 2024
e8be9c5
core/state/snapshot: port changes from 29995 (#30040)
rjl493456442 Sep 6, 2024
21a82a9
beacon/engine/types: remove PayloadV4 (#30415)
lightclient Sep 10, 2024
0ae29ea
core/vm: remove panic when address is not present (#30414)
achmand Sep 11, 2024
1bee33e
beacon/light/api: fixed blsync update query (#30421)
zsfelfoldi Sep 12, 2024
acbb2eb
eth/filters: prevent concurrent access in test (#30401)
Sep 13, 2024
19302cf
core/rawdb: more accurate description of freezer in docs (#30393)
rjl493456442 Sep 13, 2024
16a7d82
core/state, core/vm: Nyota contract create init simplification (#30409)
gballet Sep 13, 2024
05c4ea8
p2p/enode: add quic ENR entry (#30283)
guillaumemichel Sep 13, 2024
ca90fde
core/tracing: fix copy/paste error+comments in reason listing (#30431)
gballet Sep 14, 2024
70912b8
core/txpool/blobpool: avoid possible zero index panic (#30430)
mask-pp Sep 14, 2024
163372d
core/rawdb: remove unused transition status state accessors (#30433)
stevemilk Sep 15, 2024
b755c58
internal: run tests in parallel (#30381)
estensen Sep 16, 2024
c7a4f6d
core/types: more easily extensible tx signing (#30372)
piersy Sep 16, 2024
87f3427
core, trie: prealloc capacity for maps (#30437)
mask-pp Sep 16, 2024
e6209d7
core/tracing: fix typo in comment (#30443)
eltociear Sep 16, 2024
9e34f77
core/tracing: add verkle gas change reasons to changelog (#30444)
s1na Sep 17, 2024
2f3ee3b
Revert "core/rawdb: remove unused transition status state accessors" …
gballet Sep 18, 2024
181ddaf
genesis: fix dev mode alloc (#30460)
s1na Sep 19, 2024
fdf33a4
core: minor fix for the log wrapper with debug purpose (#30454)
CaraWang Sep 19, 2024
f9148e1
ethdb/pebble: handle errors (#30367)
mask-pp Sep 19, 2024
725fe86
build: fix macos builds by working around travis osx flaw (#30479)
holiman Sep 20, 2024
7e31287
beacon, core, eth, miner: integrate witnesses into production Geth (#…
karalabe Sep 20, 2024
a34c009
travis: work around travis/osx/go1.23 setup bug (#30491)
holiman Sep 22, 2024
1eb55d6
cmd/utils: fix `setEtherbase` (#30488)
zhiqiangxu Sep 23, 2024
b30e920
core/state: fix comment of `mode` (#30490)
zhiqiangxu Sep 23, 2024
9420ef8
core/state: commit snapshot only if the base layer exists (#30493)
rjl493456442 Sep 23, 2024
adcdd36
internal/ethapi/api: for simulated calls, set gaspool to max value if…
jwasinger Sep 23, 2024
74af649
core/rawdb: make sure specified state scheme is valid (#30499)
mask-pp Sep 24, 2024
5cd6e55
internal/ethapi: fix gascap 0 for eth_simulateV1 (#30496)
s1na Sep 24, 2024
4d42bd0
core/tracing, core/vm: add ContractCode to the OpContext (#30466)
kchojn Sep 24, 2024
18f151d
core/vm: more benchmarks for bls g1/g2-multiexp precompiles (#30459)
jwasinger Sep 24, 2024
bd54f63
p2p/discover: fix flaky tests writing to test.log after completion (#…
holiman Sep 26, 2024
6a3ea73
deps: update supranational/blst (#30504)
holiman Sep 26, 2024
bc24fc5
core/txpool, eth/catalyst: ensure gas tip retains current value upon …
jwasinger Sep 26, 2024
1a10f13
core/txpool/blobpool: revert part of #30437, return all reinject-addr…
holiman Sep 27, 2024
5909faa
core/txpool/blobpool: add test to check internal shuffling
karalabe Sep 27, 2024
ac0b097
Revert "core/txpool, eth/catalyst: ensure gas tip retains current va…
karalabe Sep 27, 2024
7ed9f9c
p2p/discover: add config option for disabling FINDNODE liveness check…
fjl Sep 30, 2024
3de2c9b
core/txpool/blobpool: use types.Sender instead of signer.Sender (#30473)
minh-bq Sep 30, 2024
3a80d41
build: use buildx to build multi-platform docker images (#30530)
holiman Sep 30, 2024
643e522
eth/catalyst: use setcanonical instead of sethead in simulated fork (…
holiman Sep 30, 2024
5006ec9
cmd/geth: remove deprecated lightchaindata db (#30527)
weiihann Sep 30, 2024
47d0ad3
internal/ethapi: remove td field from block (#30386)
s1na Oct 1, 2024
724dd0d
core/rawdb: freezer index repair (#29792)
rjl493456442 Oct 1, 2024
72a64b6
internal/web3ext: rm unused modules (#30532)
s1na Oct 1, 2024
0ddb324
core/vm, cmd/evm: implement eof validation (#30418)
holiman Oct 2, 2024
644e1c4
beacon/light: optimize lock usage in `HeadTracker` (#30485)
zhiqiangxu Oct 2, 2024
2293769
build: upgrade -dlgo version to Go 1.23.2 (#30544)
sandakersmann Oct 4, 2024
7522a2e
log: remove unused parameter (#30432)
asamuj Oct 8, 2024
7fbbe47
all: implement flat deposit requests encoding (#30425)
fjl Oct 9, 2024
8379db9
eth/tracers: do system contract processing prior to parallel-tracing …
easyfold Oct 9, 2024
23ba291
eth/catalyst, core/txpool/blobpool: make tests output less logs (#30563)
holiman Oct 10, 2024
1bad01b
eth/protocols/eth: remove Requests in block body (#30562)
islishude Oct 10, 2024
8dcfe45
core/tracing: add GetTransientState method to StateDB interface (#30531)
kchojn Oct 10, 2024
46ccbf2
all: implement EIP-7002 & EIP-7251 (#30571)
fjl Oct 11, 2024
3ae58f0
build: add support for ubuntu 24.10 (#30580)
hteevoli Oct 12, 2024
75f02b3
cmd/evm: fixup issues with requests in t8n (#30584)
lightclient Oct 13, 2024
cc0e970
core: enable EIP-2935 in chain maker (#30575)
fjl Oct 13, 2024
176a761
trie: concurrent commit (#30545)
holiman Oct 14, 2024
554e55c
build: update to golangci-lint 1.61.0 (#30587)
holiman Oct 14, 2024
7a3b9dc
beacon/engine: strip type byte in requests (#30576)
fjl Oct 14, 2024
e3f0f28
internal/ethapi: refactor `TxArgs.setCancunFeeDefaults` (#30541)
jwasinger Oct 15, 2024
01299dd
crypto: use decred secp256k1 directly (#30595)
gartnera Oct 15, 2024
53403d2
beacon/engine: omit null witness field from payload envelope (#30597)
rkrasiuk Oct 15, 2024
5ad7536
ethdb/pebble: switch to increasing level sizes (#30602)
karalabe Oct 15, 2024
c49acf9
core, ethdb/pebble: run pebble in non-sync mode (#30573)
rjl493456442 Oct 15, 2024
1281274
core, eth, ethstats: simplify chain head events (#30601)
karalabe Oct 16, 2024
8ad3775
core: reduce peak memory usage during reorg (#30600)
MariusVanDerWijden Oct 16, 2024
81c41e2
eth/tracers: various fixes (#30540)
s1na Oct 17, 2024
b4f0621
miner: send full request when resolving full payload (#30615)
lightclient Oct 17, 2024
f19c543
beacon/engine,eth/catalyst: hex marshal requests in engine api (#30603)
lightclient Oct 17, 2024
d3b46d2
beacon/engine, core/txpool, eth/catalyst: add engine_getBlobsV1 API (…
karalabe Oct 17, 2024
d0edeea
swarm: nuke this leftover (#30622)
karalabe Oct 18, 2024
4884347
gitignore: get rid of some relics (#30623)
karalabe Oct 18, 2024
aed00ed
build: reenable building arm64 concurrently (#30626)
karalabe Oct 18, 2024
fd305eb
core, trie, triedb: minor changes from snapshot integration (#30599)
rjl493456442 Oct 18, 2024
0de8493
core/state: fix runaway alloc caused by prefetcher heap escape (#30629)
karalabe Oct 20, 2024
5e5af1c
all: get rid of custom MaxUint64 and MaxUint64 (#30636)
karalabe Oct 20, 2024
da05125
build: get rid of ci.go -> common direct dependency (#30637)
karalabe Oct 20, 2024
85c6125
common/math: delete some further dead code (#30639)
karalabe Oct 20, 2024
94e043b
common/math: sigh, keep deleting dead code
karalabe Oct 20, 2024
a736d62
build, internal, version: break ci.go/version->common dependency (#30…
karalabe Oct 20, 2024
fa39166
eth/tracers/js: avoid compiling js bigint when not needed (#30640)
holiman Oct 20, 2024
85c1db3
consensus/clique, miner: remove clique -> accounts dependency (#30642)
karalabe Oct 21, 2024
d806802
common: drop BigMin and BigMax, they pollute our dep graph (#30645)
karalabe Oct 21, 2024
f02706f
core/state: move state log mechanism to a separate layer (#30569)
holiman Oct 23, 2024
ee1793c
crypto, tests/fuzzers: add gnark bn254 precompile methods for fuzzing…
kevaundray Oct 23, 2024
c80ea5a
all: remove TerminalTotalDifficultyPassed (#30609)
jwasinger Oct 23, 2024
724c303
eth/tracers/internal/tracertest: add missing Random to call context (…
islishude Oct 23, 2024
ffb6d78
core: fix tracing of system calls (#30666)
s1na Oct 24, 2024
45e0bf1
core/vm: remove debug printout in eof test (#30665)
jwasinger Oct 24, 2024
5175275
beacon/blsync: add holesky config and update checkpoints (#30671)
zsfelfoldi Oct 25, 2024
f9c7074
ethdb: add DeleteRange feature (#30668)
zsfelfoldi Oct 25, 2024
c389ac4
build: document doGoModTidy function in ci.go (#30685)
jwasinger Oct 28, 2024
dd5ac10
cmd/geth: avoid hard coding the IPC name (#30687)
karalabe Oct 28, 2024
994af42
eth/tracers: add disableCode/Storage options for prestateTracer (#30648)
jsvisa Oct 29, 2024
c6a7adf
core, eth, node: break rawdb -> {leveldb, pebble} dependency (#30689)
karalabe Oct 29, 2024
bda37b9
ethdb: refactor Database interface (#30693)
MariusVanDerWijden Oct 29, 2024
47c6a59
appveyor, build, internal: ci.go cleanups, add package dep checker (#…
karalabe Oct 29, 2024
b453b38
beacon/light: remove unused CommitteeChain.signerThreshold (#30484)
zhiqiangxu Oct 30, 2024
859e57e
core/vm: speed up push and interpreter loop (#30662)
holiman Oct 30, 2024
8cb2f47
core: add code to witness when state object is accessed (#30698)
lightclient Oct 31, 2024
27f95d1
cmd/utils, eth/ethconfig: remove some ancient leftover flag (#30705)
karalabe Oct 31, 2024
da166f8
internal/flags: remove Merge, it's identical to slices.Concat (#30706)
karalabe Oct 31, 2024
7b66315
internal/flags: remove low-use type TextMarshalerFlag (#30707)
karalabe Oct 31, 2024
d3dcecb
all: remove `personal` RPC namespace (#30704)
holiman Oct 31, 2024
b561904
eth/tracers: flatCallTracer error compatible with parity (#30497)
jsvisa Nov 1, 2024
b521f8e
build: use slices.Clone for copying slice (#30716)
zhiqiangxu Nov 3, 2024
16a399c
tests/fuzzers/bls12381: more verbose fuzzing-output (#30724)
holiman Nov 4, 2024
5571688
core/txpool: improve error responses with wrapped errors (#30715)
piersy Nov 4, 2024
7b0fc14
eth/catalyst: make engine api test time independent (#30713)
karalabe Nov 4, 2024
077a65e
core/vm/runtime: invoke tx-end hook (#30711)
holiman Nov 4, 2024
2756462
core, trie: verkle state processor tests (#30672)
gballet Nov 4, 2024
e12d318
all: fix issues with benchmarks (#30667)
holiman Nov 4, 2024
4bead2c
eth/tracers: fill the creationMethod in flatCall (#30539)
jsvisa Nov 5, 2024
d27a9d2
core/state: small fix in hooked statedb (#30732)
holiman Nov 5, 2024
0047288
cmd/utils: change blssync.JWTSecretFlag to DirectoryFlag (#30729)
MariusVanDerWijden Nov 6, 2024
5dd77eb
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#…
dependabot[bot] Nov 7, 2024
f763e70
ethclient: add RevertErrorData function and example (#30669)
fjl Nov 7, 2024
c3ffbb8
ethclient/gethclient: testcase for createAccessList, make tabledriven…
SangIlMo Nov 8, 2024
d614eff
internal/ethapi: Set basefee for `AccessList` based on given block, …
jwasinger Nov 8, 2024
13f329d
accounts/usbwallet: support dynamic tx (#30180)
shrimalmadhur Nov 8, 2024
519e637
signer/core: extended support for EIP-712 array types (#30620)
naveen-imtb Nov 8, 2024
9141fba
cmd/evm: benchmarking via `statetest` command + filter by name, inde…
jwasinger Nov 8, 2024
1da3f45
beacon/blsync: remove cli dependencies (#30720)
zsfelfoldi Nov 8, 2024
87ac08d
core/state: invoke OnCodeChange-hook on selfdestruct (#30686)
kchojn Nov 8, 2024
b17db06
trie/utils: remove unneeded initialization (#30472)
zhiqiangxu Nov 8, 2024
a45117d
travis: build and upload RISC-V docker images too (#30739)
karalabe Nov 8, 2024
8e99fba
core/state, triedb/database: refactor state reader (#30712)
rjl493456442 Nov 9, 2024
40f95c9
eth/protocols/eth: add ETH68 protocol handler fuzzers (#30417)
MariusVanDerWijden Nov 9, 2024
b13975d
tests: fix test panic (#30741)
rjl493456442 Nov 10, 2024
a98c7eb
p2p/netutil: unittests for addrutil (#30439)
tianyeyouyou Nov 11, 2024
b0cf1c4
docs: fix typo (#30740)
0xwitty Nov 11, 2024
c243814
core/state: tests on the binary iterator (#30754)
holiman Nov 15, 2024
b98cac2
cmd/geth: remove unlock commandline flag (#30737)
holiman Nov 15, 2024
2900dcd
build: upgrade -dlgo version to Go 1.23.3 (#30742)
sandakersmann Nov 15, 2024
fa34cef
core: fix typos (#30767)
AtomicInnovation321 Nov 19, 2024
3459741
all: remove kilic dependency from bls12381 fuzzers (#30296)
jwasinger Nov 19, 2024
01dec36
core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534)
jwasinger Nov 19, 2024
b560e38
rpc: run tests in parallel (#30384)
estensen Nov 19, 2024
5769e92
version: go-ethereum v1.14.12 stable
holiman Nov 19, 2024
9a0f56c
build: retry PPA upload up to three times (#31099)
fjl Jan 30, 2025
545fbd2
version: release go-ethereum v1.14.13 stable
fjl Jan 30, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @kingster-will @LeoHChen @stevemilk @0xHansLee @edisonz0718 @limengformal @sebsadface @ramtinms

/.github @AndyBoWu @wo-o
/.github @AndyBoWu @wo-o
24 changes: 8 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

/tmp
*/**/*un~
*/**/*.test
*un~
.DS_Store
*/**/.DS_Store
.ethtest
*/**/*tx_database*
*/**/*dapps*
build/_vendor/pkg

#*
.#*
Expand All @@ -28,6 +23,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 All @@ -38,15 +41,4 @@ profile.cov
# VS Code
.vscode

# dashboard
/dashboard/assets/flow-typed
/dashboard/assets/node_modules
/dashboard/assets/stats.json
/dashboard/assets/bundle.js
/dashboard/assets/bundle.js.map
/dashboard/assets/package-lock.json

**/yarn-error.log
logs/

tests/spec-tests/
16 changes: 10 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ linters:
- staticcheck
- bidichk
- durationcheck
- exportloopref
- copyloopvar
- whitespace
- revive # only certain checks enabled

- durationcheck
- gocheckcompilerdirectives
- reassign
- mirror
- tenv
### linters we tried and will not be using:
###
# - structcheck # lots of false positives
Expand Down Expand Up @@ -60,14 +64,14 @@ issues:
- 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
54 changes: 19 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,13 @@ jobs:
- azure-osx

include:
# These builders create the Docker sub-images for multi-arch push and each
# will attempt to push the multi-arch image if they are the last builder
# This builder create and push the Docker images for all architectures
- stage: build
if: type = push
os: linux
arch: amd64
dist: noble
go: 1.22.x
env:
- docker
services:
- docker
git:
submodules: false # avoid cloning ethereum/tests
before_install:
- export DOCKER_CLI_EXPERIMENTAL=enabled
script:
- go run build/ci.go docker -image -manifest amd64,arm64 -upload ethereum/client-go

- stage: build
if: type = push
os: linux
arch: arm64
dist: noble
go: 1.22.x
dist: focal
go: 1.23.x
env:
- docker
services:
Expand All @@ -43,15 +25,15 @@ jobs:
before_install:
- export DOCKER_CLI_EXPERIMENTAL=enabled
script:
- go run build/ci.go docker -image -manifest amd64,arm64 -upload ethereum/client-go
- go run build/ci.go dockerx -platform "linux/amd64,linux/arm64,linux/riscv64" -upload ethereum/client-go

# This builder does the Linux Azure uploads
- stage: build
if: type = push
os: linux
dist: noble
dist: focal
sudo: required
go: 1.22.x
go: 1.23.x
env:
- azure-linux
git:
Expand All @@ -63,6 +45,7 @@ jobs:

# 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 @@ -84,12 +67,13 @@ jobs:
if: type = push
os: osx
osx_image: xcode14.2
go: 1.22.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
Expand All @@ -100,25 +84,25 @@ jobs:
if: type = push
os: linux
arch: amd64
dist: noble
go: 1.22.x
dist: focal
go: 1.23.x
script:
- travis_wait 45 go run build/ci.go test $TEST_PACKAGES

- stage: build
if: type = push
os: linux
dist: noble
go: 1.21.x
dist: focal
go: 1.22.x
script:
- 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: noble
go: 1.22.x
dist: focal
go: 1.23.x
env:
- ubuntu-ppa
git:
Expand All @@ -133,8 +117,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: noble
go: 1.22.x
dist: focal
go: 1.23.x
env:
- azure-purge
git:
Expand All @@ -146,8 +130,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: noble
go: 1.22.x
dist: focal
go: 1.23.x
env:
- racetests
script:
Expand Down
2 changes: 1 addition & 1 deletion 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.22-alpine as builder
FROM golang:1.23-alpine AS builder

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

Expand Down
9 changes: 8 additions & 1 deletion 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.22-alpine as builder
FROM golang:1.23-alpine AS builder

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

Expand All @@ -14,6 +14,13 @@ COPY go.sum /go-ethereum/
RUN cd /go-ethereum && go mod download

ADD . /go-ethereum

# This is not strictly necessary, but it matches the "Dockerfile" steps, thus
# makes it so that under certain circumstances, the docker layer can be cached,
# and the builder can jump to the next (build all) command, with the go cache fully loaded.
#
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth

RUN cd /go-ethereum && go run build/ci.go install -static

# Pull all binaries into a second stage deploy alpine container
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ clean:
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'
Expand Down
8 changes: 7 additions & 1 deletion accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,6 @@ func TestUnpackRevert(t *testing.T) {
{"4e487b7100000000000000000000000000000000000000000000000000000000000000ff", "unknown panic code: 0xff", nil},
}
for index, c := range cases {
index, c := index, c
t.Run(fmt.Sprintf("case %d", index), func(t *testing.T) {
t.Parallel()
got, err := UnpackRevert(common.Hex2Bytes(c.input))
Expand All @@ -1218,3 +1217,10 @@ func TestUnpackRevert(t *testing.T) {
})
}
}

func TestInternalContractType(t *testing.T) {
jsonData := `[{"inputs":[{"components":[{"internalType":"uint256","name":"dailyLimit","type":"uint256"},{"internalType":"uint256","name":"txLimit","type":"uint256"},{"internalType":"uint256","name":"accountDailyLimit","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"bool","name":"onlyWhitelisted","type":"bool"}],"internalType":"struct IMessagePassingBridge.BridgeLimits","name":"bridgeLimits","type":"tuple"},{"components":[{"internalType":"uint256","name":"lastTransferReset","type":"uint256"},{"internalType":"uint256","name":"bridged24Hours","type":"uint256"}],"internalType":"struct IMessagePassingBridge.AccountLimit","name":"accountDailyLimit","type":"tuple"},{"components":[{"internalType":"uint256","name":"lastTransferReset","type":"uint256"},{"internalType":"uint256","name":"bridged24Hours","type":"uint256"}],"internalType":"struct IMessagePassingBridge.BridgeDailyLimit","name":"bridgeDailyLimit","type":"tuple"},{"internalType":"contract INameService","name":"nameService","type":"INameService"},{"internalType":"bool","name":"isClosed","type":"bool"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"canBridge","outputs":[{"internalType":"bool","name":"isWithinLimit","type":"bool"},{"internalType":"string","name":"error","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"normalizeFrom18ToTokenDecimals","outputs":[{"internalType":"uint256","name":"normalized","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"normalizeFromTokenTo18Decimals","outputs":[{"internalType":"uint256","name":"normalized","type":"uint256"}],"stateMutability":"pure","type":"function"}]`
if _, err := JSON(strings.NewReader(jsonData)); err != nil {
t.Fatal(err)
}
}
30 changes: 16 additions & 14 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ type TransactOpts struct {
Nonce *big.Int // Nonce to use for the transaction execution (nil = use pending state)
Signer SignerFn // Method to use for signing the transaction (mandatory)

Value *big.Int // Funds to transfer along the transaction (nil = 0 = no funds)
GasPrice *big.Int // Gas price to use for the transaction execution (nil = gas price oracle)
GasFeeCap *big.Int // Gas fee cap to use for the 1559 transaction execution (nil = gas price oracle)
GasTipCap *big.Int // Gas priority fee cap to use for the 1559 transaction execution (nil = gas price oracle)
GasLimit uint64 // Gas limit to set for the transaction execution (0 = estimate)
Value *big.Int // Funds to transfer along the transaction (nil = 0 = no funds)
GasPrice *big.Int // Gas price to use for the transaction execution (nil = gas price oracle)
GasFeeCap *big.Int // Gas fee cap to use for the 1559 transaction execution (nil = gas price oracle)
GasTipCap *big.Int // Gas priority fee cap to use for the 1559 transaction execution (nil = gas price oracle)
GasLimit uint64 // Gas limit to set for the transaction execution (0 = estimate)
AccessList types.AccessList // Access list to set for the transaction execution (nil = no access list)

Context context.Context // Network context to support cancellation and timeouts (nil = no timeout)

Expand Down Expand Up @@ -300,20 +301,21 @@ func (c *BoundContract) createDynamicTx(opts *TransactOpts, contract *common.Add
return nil, err
}
baseTx := &types.DynamicFeeTx{
To: contract,
Nonce: nonce,
GasFeeCap: gasFeeCap,
GasTipCap: gasTipCap,
Gas: gasLimit,
Value: value,
Data: input,
To: contract,
Nonce: nonce,
GasFeeCap: gasFeeCap,
GasTipCap: gasTipCap,
Gas: gasLimit,
Value: value,
Data: input,
AccessList: opts.AccessList,
}
return types.NewTx(baseTx), nil
}

func (c *BoundContract) createLegacyTx(opts *TransactOpts, contract *common.Address, input []byte) (*types.Transaction, error) {
if opts.GasFeeCap != nil || opts.GasTipCap != nil {
return nil, errors.New("maxFeePerGas or maxPriorityFeePerGas specified but london is not active yet")
if opts.GasFeeCap != nil || opts.GasTipCap != nil || opts.AccessList != nil {
return nil, errors.New("maxFeePerGas or maxPriorityFeePerGas or accessList specified but london is not active yet")
}
// Normalize value
value := opts.Value
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func Bind(types []string, abis []string, bytecodes []string, fsigs []map[string]
}
// Parse library references.
for pattern, name := range libs {
matched, err := regexp.Match("__\\$"+pattern+"\\$__", []byte(contracts[types[i]].InputBin))
matched, err := regexp.MatchString("__\\$"+pattern+"\\$__", contracts[types[i]].InputBin)
if err != nil {
log.Error("Could not search for pattern", "pattern", pattern, "contract", contracts[types[i]], "err", err)
}
Expand Down
12 changes: 9 additions & 3 deletions accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ func TestWaitDeployed(t *testing.T) {
}()

// Send and mine the transaction.
backend.Client().SendTransaction(ctx, tx)
if err := backend.Client().SendTransaction(ctx, tx); err != nil {
t.Errorf("test %q: failed to send transaction: %v", name, err)
}
backend.Commit()

select {
Expand Down Expand Up @@ -116,7 +118,9 @@ func TestWaitDeployedCornerCases(t *testing.T) {
tx, _ = types.SignTx(tx, types.LatestSigner(params.AllDevChainProtocolChanges), testKey)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
backend.Client().SendTransaction(ctx, tx)
if err := backend.Client().SendTransaction(ctx, tx); err != nil {
t.Errorf("failed to send transaction: %q", err)
}
backend.Commit()
notContractCreation := errors.New("tx is not contract creation")
if _, err := bind.WaitDeployed(ctx, backend.Client(), tx); err.Error() != notContractCreation.Error() {
Expand All @@ -134,6 +138,8 @@ func TestWaitDeployedCornerCases(t *testing.T) {
}
}()

backend.Client().SendTransaction(ctx, tx)
if err := backend.Client().SendTransaction(ctx, tx); err != nil {
t.Errorf("failed to send transaction: %q", err)
}
cancel()
}
1 change: 0 additions & 1 deletion accounts/abi/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ func TestEventTupleUnpack(t *testing.T) {

for _, tc := range testCases {
assert := assert.New(t)
tc := tc
t.Run(tc.name, func(t *testing.T) {
err := unpackTestEventData(tc.dest, tc.data, tc.jsonLog, assert)
if tc.error == "" {
Expand Down
1 change: 0 additions & 1 deletion accounts/abi/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
func TestPack(t *testing.T) {
t.Parallel()
for i, test := range packUnpackTests {
i, test := i, test
t.Run(strconv.Itoa(i), func(t *testing.T) {
t.Parallel()
encb, err := hex.DecodeString(test.packed)
Expand Down
1 change: 0 additions & 1 deletion accounts/abi/reflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ var reflectTests = []reflectTest{
func TestReflectNameToStruct(t *testing.T) {
t.Parallel()
for _, test := range reflectTests {
test := test
t.Run(test.name, func(t *testing.T) {
t.Parallel()
m, err := mapArgNamesToStructFields(test.args, reflect.ValueOf(test.struc))
Expand Down
Loading
Loading