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

Merge release v1.11.2 #8

Merged
merged 386 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
386 commits
Select commit Hold shift + click to select a range
2b65219
consensus/ethash: fix typo (#26016)
zhiqiangxu Nov 1, 2022
2415911
docs/postmortems: remove wrong parentheses (#26066)
SebastianSupreme Nov 1, 2022
a2a144c
miner, eth: implement recommit mechanism for payload building (#25836)
rjl493456442 Nov 2, 2022
24f08ec
miner: fail early if core.NewBlockChain fails (#26079)
roberto-bayardo Nov 2, 2022
621b423
p2p/discover: fix handling of distance 256 in lookupDistances (#26087)
jtraglia Nov 2, 2022
4a81e5a
rlp: add more tests for nil pointer / optional field encoding (#26077)
roberto-bayardo Nov 2, 2022
05037ea
rpc: handle wrong HTTP batch response length (#26064)
jmank88 Nov 2, 2022
f3a005f
cmd/clef: add `list-accounts` and `list-wallets` to CLI (#26080)
jmcook1186 Nov 2, 2022
9a4e8e2
crypto/bls12381: docs - fix broken links to references (#26095)
jwasinger Nov 3, 2022
08fb1aa
miner: display change in fees, change recommit period (#26097)
rjl493456442 Nov 3, 2022
a51188a
params: make eip1559 params non-global (#25994)
protolambda Nov 4, 2022
6d55908
signer/core/apitypes: support more input types for eip-712 encoding (…
Nov 4, 2022
33e23ee
accounts/abi.bind: don't fetch head in transact unless required (#25988)
saman-pasha Nov 4, 2022
1774463
cmd/clef: add importraw feature to clef (#26058)
holiman Nov 6, 2022
111ed1a
accounts/abi: properly quote untrusted data in error message (#26110)
ngotchac Nov 7, 2022
ca948b8
eth/catalyst, miner: deduplicate work + show payload id (#26115)
holiman Nov 7, 2022
55a92fa
cmd/clef: list accounts at startup (#26082)
jmcook1186 Nov 7, 2022
9027ee0
p2p/discover: improve discv5 NODES response packing (#26033)
fjl Nov 7, 2022
055528a
cmd/devp2p/internal/ethtest: add support for eth/68 (#26078)
MariusVanDerWijden Nov 7, 2022
d629e02
cmd/devp2p/internal/v4test: ignore FINDNODE in BondThenPingWithWrongF…
marcindsobczak Nov 7, 2022
53b624b
eth/tracers: add multiplexing tracer (#26086)
s1na Nov 8, 2022
4cb1fca
p2p/enode: implement per-source timeout in FairMix (#25962)
zhiqiangxu Nov 8, 2022
a609e7b
common/types: add `Address.Big` (#26132)
tynes Nov 8, 2022
9139734
cmd/devp2p: add more nodekey commands (#26129)
fjl Nov 8, 2022
ee9ff06
graphql: add query timeout (#26116)
ahmetavc Nov 8, 2022
6685f88
cmd/clef: only print first N accounts on startup (#26128)
jmcook1186 Nov 8, 2022
7dc5e78
core/vm: deepcopy jumptable when enabling extra eips (#26137)
yihuang Nov 9, 2022
5fded04
core/state: replace fastcache code cache with gc-friendly structure (…
holiman Nov 9, 2022
dffd93b
cmd/evm: slight change in how t8n handles coinbase pre eip-158 (#26139)
holiman Nov 9, 2022
093b2ac
eth/filters: fix failing benchmark-test (#26144)
holiman Nov 9, 2022
0ad2014
go.mod: update status-im/keycard-go (#26141)
protolambda Nov 10, 2022
5b4c149
internal/debug: add --log.file option (#26149)
fjl Nov 11, 2022
62c973e
go.mod: minimum Go version 1.18 (#26160)
fjl Nov 11, 2022
c539bda
metrics: improve reading Go runtime metrics (#25886)
fjl Nov 11, 2022
ea65eda
eth, catalyst: fix flaky tests (#26153)
holiman Nov 11, 2022
8334b5f
common/lru: fix race in lru (#26164)
holiman Nov 11, 2022
e34e540
accounts/keystore: replace inotify with fsnotify (#26176)
holiman Nov 14, 2022
8c5ce11
eth/filters: send rpctransactions in pending-subscription (#26126)
holiman Nov 14, 2022
f58ebd9
all: use github.com/deckarep/golang-set/v2 (generic set) (#26159)
Jolly23 Nov 14, 2022
9afc681
common/lru: add generic LRU implementation (#26162)
fjl Nov 14, 2022
ae42148
rpc: fix connection tracking set in Server (#26180)
fjl Nov 15, 2022
bc90a88
ethclient: docs, fix misleading comment (#26189)
ligi Nov 16, 2022
b4ea2bf
all: implement EIP-1153 transient storage (#26003)
tynes Nov 16, 2022
add337e
rpc: support injecting HTTP headers through context (#26023)
storyicon Nov 16, 2022
64067fb
eth/tracers: small refactor for native tracers (#26196)
s1na Nov 17, 2022
c3b4268
Dockerfile: upgrade to Go 1.19 (#26195)
fjl Nov 17, 2022
12df456
all: remove remaining uses of untyped golang-lru (#26194)
fjl Nov 17, 2022
722bb21
rlp: improve tests for Split functions (#26200)
therainisme Nov 17, 2022
97c563e
rpc, internal/guide: speed up tests a bit (#26193)
holiman Nov 17, 2022
c2e0abc
ethstats: set readlimit on ethstats server connection (#26207)
holiman Nov 17, 2022
6975f09
eth/catalyst: make tests less time-sensitive (#26201)
holiman Nov 21, 2022
64dccf7
cmd/utils: log path used when checking disk space (#26212)
kumavis Nov 21, 2022
ec2ec2d
core: implement EIP-3651, warm coinbase (#25819)
MariusVanDerWijden Nov 22, 2022
193f350
core/rawdb: improve freezerTable.Sync (#26245)
fjl Nov 24, 2022
8846c07
cmd/utils: print warning when --metrics.port set without --metrics.ad…
fjl Nov 24, 2022
e76813e
signer/core/apitypes: deep convert types in slice (#26203)
6xiaowu9 Nov 24, 2022
c5dc61c
cmd/utils: gofmt
fjl Nov 24, 2022
add1bff
core/rawdb: fix freezer validation (#26251)
rjl493456442 Nov 25, 2022
6a4e05c
signer: enable typed data signing from signer rpc (#26241)
holiman Nov 25, 2022
8c6e74e
rpc: decrease websocket ping interval (#26253)
Wihandebeer Nov 25, 2022
53d1ae0
p2p/nat: use IP.IsPrivate (#26252)
dbadoy Nov 25, 2022
1325fef
internal/web3ext: fix eth_call stateOverrides in console (#26265)
s1na Nov 28, 2022
0dc9b01
core: clarify code in forkchoice (#26257)
setunapo Nov 28, 2022
eb01927
tests: update evm-benchmarks (#26255)
chfast Nov 28, 2022
63ffda3
internal/web3ext: fix eth.call regression in console (#26266)
s1na Nov 28, 2022
0e06735
internal/web3ext: fix eth_call in console, part III (#26268)
s1na Nov 28, 2022
743e404
core, eth, les, tests, trie: abstract node scheme (#25532)
rjl493456442 Nov 28, 2022
1b8a392
console: use default APIs when server doesn't have rpc_modules (#26267)
fjl Nov 28, 2022
c1aa1db
p2p/discover: add config option for discv5 protocol ID (#26041)
richard-ramos Nov 30, 2022
e24d600
miner: fix potential goroutine leak in test (#26281)
BarrensZeppelin Dec 2, 2022
10347c6
core: drop legacy receipt types (#26225)
s1na Dec 3, 2022
06632da
all: assign zero after resize in implementations of heap.Interface (#…
estensen Dec 5, 2022
1f35988
eth/tracers, core/vm: remove `time` from trace output and tracing int…
holiman Dec 5, 2022
41306b0
cmd/evm: output stateroot in statetest result (#26297)
holiman Dec 5, 2022
01953b3
cmd/geth: fix typo in comment (#26308)
qiuhaohao Dec 5, 2022
b44abf5
cmd/devp2p: add --extaddr flag (#26312)
fjl Dec 6, 2022
f20eba4
graphql, node, rpc: improve HTTP write timeout handling (#25457)
s1na Dec 7, 2022
4221280
p2p/nat: handle responses with alternative port in NAT-PMP (#26321)
dbadoy Dec 7, 2022
6891288
core: fix state flushing for catalyst mode (#26319)
s1na Dec 7, 2022
a9dfac0
p2p/discover: improve nodesByDistance.push code (#26019)
zhiqiangxu Dec 7, 2022
890e2ef
eth, cmd: remove syncTarget from eth config (#26330)
rjl493456442 Dec 8, 2022
711afbc
core,eth: add `debug_setTrieFlushInterval` to change trie flush frequ…
s1na Dec 9, 2022
3315bad
core: pass block into collectLogs (#26335)
fjl Dec 9, 2022
3775e19
event: add FeedOf[T] (#26310)
fjl Dec 9, 2022
262bd38
eth/tracers: return proper error from debug_TraceTransaction when tx …
mdehoog Dec 10, 2022
250a80a
core: fix comment about recipient for contract creation (#26349)
ralexstokes Dec 13, 2022
cda051e
core, cmd: fill blockNumber in logs (#26345)
rjl493456442 Dec 13, 2022
fa97788
eth/tracers/native: fix possible crash in prestate tracer (#26351)
holiman Dec 13, 2022
502fa82
signer/core: handle gnosis safe problem with missing chain id (#26309)
holiman Dec 14, 2022
f51f6ed
core: fix typo in blockchain_snapshot_test.go (#26357)
eltociear Dec 14, 2022
f53ff0f
eth/filters, eth/tracers: add request cancellation checks (#26320)
fjl Dec 15, 2022
d3411b9
trie: wrap deletion in case trie.root is nil (#26365)
rjl493456442 Dec 19, 2022
79a478b
core/rawdb: implement resettable freezer (#26324)
rjl493456442 Dec 19, 2022
b818e73
tests: update tests (#26314)
holiman Dec 20, 2022
0180842
core/state: return error when storage trie can't be opened (#26350)
rjl493456442 Dec 21, 2022
577db2e
build: add support for Ubuntu 22.10 (Kinetic Kudu) (#26379)
Zachinquarantine Dec 27, 2022
9921ca0
miner: allow for extradata in post-merge blocks (#26387)
MariusVanDerWijden Dec 28, 2022
c87f321
core/state: maintain destruction flag by default (#26371)
rjl493456442 Dec 28, 2022
db82ea2
core: reset txpool on sethead (#26392)
MariusVanDerWijden Dec 29, 2022
9d38466
eth/downloader: fix some typos (#26396)
hadv Jan 3, 2023
dad9250
cmd, internal: update copyright year to 2023 (#26382)
sandakersmann Jan 3, 2023
c6a2f77
cmd/devp2p/internal/v4test: add pong validation in bond (#26400)
strykerin Jan 3, 2023
efc9409
params: core: enable shanghai based on timestamps
MariusVanDerWijden Sep 27, 2022
a4e19c5
all: implement forkid changes for shanghai
MariusVanDerWijden Nov 10, 2022
0848102
core, les, params: add timestamp based fork compatibility checks
karalabe Dec 15, 2022
d021157
core, les, light: implement timestamp based sethead and genesis rewinds
karalabe Dec 16, 2022
9e6a1c3
common/mclock: add Alarm (#26333)
fjl Jan 3, 2023
a251bca
p2p/discover: add more packet information in logs (#26307)
fjl Jan 3, 2023
41fe9d6
cmd/evm: update documentation (#26385)
holiman Jan 3, 2023
6c149fd
core, eth, trie, light: clean up trie interface (#26388)
rjl493456442 Jan 3, 2023
f426805
build: upgrade -dlgo version to Go 1.19.4 (#26440)
sandakersmann Jan 6, 2023
fcf3d00
eth, les: polish forkid a bit, fix races and transition validation
karalabe Jan 3, 2023
b56c796
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
karalabe Jan 6, 2023
2189773
Merge pull request #25878 from MariusVanDerWijden/shanghai-by-time
karalabe Jan 6, 2023
686f743
eth/downloader: fix unexpected skeleton header deletion
rjl493456442 Jan 9, 2023
71f7988
eth/downloader: create repro testcase for beacon header loss
karalabe Jan 9, 2023
43692c8
Merge pull request #26451 from rjl493456442/fix-beacon-sync-2
karalabe Jan 9, 2023
ccacb99
cmd/evm: support shanghai in tests + evm t8n (#26458)
marioevz Jan 10, 2023
faff980
crypto/bls12381: use worst case scalar for input to G1/G2 mul benchma…
jwasinger Jan 10, 2023
b8bc8c2
README.md: add website contribution instructions (#26442)
jmcook1186 Jan 10, 2023
4ada314
tests: fix DIFFICULTY error in state executor (#26465)
holiman Jan 10, 2023
7a48962
core/state: remove notion of fake storage (#24916)
holiman Jan 10, 2023
2c6dda5
eth/tracers: use non-threaded tracechain (#24283)
holiman Jan 10, 2023
452a12a
eth/downloader: move the pivot in beacon sync mode too (#26453)
karalabe Jan 10, 2023
793f0f9
core/vm: implement EIP-3860: Limit and meter initcode (#23847)
gumb0 Jan 11, 2023
c125e6e
core/vm: enable EIP-3855 (PUSH0) in Shanghai (#26475)
yperbasis Jan 12, 2023
6f858fa
rpc: fix setting client in DialHTTPWithClient (#26470)
lightclient Jan 12, 2023
b748709
eth/downloader: fix cornercase when clean stale beacon headers (#26441)
rjl493456442 Jan 12, 2023
d379e3f
ethclient/gethclient: ensure getProof keys parameter is not null (#26…
fjl Jan 12, 2023
a21e963
eth/catalyst: trigger beacon sync directly with provided chain head (…
rjl493456442 Jan 13, 2023
e04d63e
core/rawdb: fsync head data file before closing it (#26490)
rjl493456442 Jan 13, 2023
0e486a5
Use filepath.clean instead of path.clean (#26404)
MariusVanDerWijden Jan 13, 2023
450d771
readme: fix broken link to installation instructions (#26497)
dhij Jan 15, 2023
0b53b29
core/rawdb: fix cornercase shutdown behaviour in freezer (#26485)
holiman Jan 16, 2023
554c8d7
cmd/utils: update Rinkeby deprecation message (#26496)
Zachinquarantine Jan 16, 2023
55c3b6f
swarm: fix outdated link (#26501)
ucwong Jan 16, 2023
d345a4a
cmd/bootnode, cmd/utils: add 'pmp:<IP>' to --nat flag description (#2…
dbadoy Jan 16, 2023
c858da5
cmd/evm: fix typo in README.md (#26500)
eltociear Jan 16, 2023
8d4c81d
build: upgrade -dlgo version to Go 1.19.5 (#26472)
sandakersmann Jan 16, 2023
f2758a8
cmd/evm: typo fix in docs (#26506)
ucwong Jan 16, 2023
297ec06
metrics/influxdb: fix time ticker leaks (#26507)
ucwong Jan 17, 2023
97401b6
eth/filters: fix typo in comment (#26515)
molecula451 Jan 17, 2023
4a3fb58
les/fetcher : fix requestTimer leak (#26514)
ucwong Jan 18, 2023
a35b654
core/txpool: check if initcode size is exceeded (#26504)
MariusVanDerWijden Jan 18, 2023
690338f
all: remove Kiln testnet (#26522)
Zachinquarantine Jan 19, 2023
2d2c069
console, internal/jsre: fix autocomplete issues (#26518)
s1na Jan 19, 2023
24c7023
go.mod: upgrade to go-bip39 v1.1.0 (#26527)
meehow Jan 20, 2023
8748972
go.sum: tidy (#26525)
ucwong Jan 20, 2023
3f544ce
.travis.yml: go1.19.5 for android builds (#26524)
ucwong Jan 20, 2023
50e6539
params: define cancun and prague as timestamp based forks (#26481)
rjl493456442 Jan 20, 2023
4f4a25d
signer/core: don't require capital lettered reference types (#26462)
holiman Jan 20, 2023
2b44ef5
miner, cmd, eth: require explicit etherbase address (#26413)
rjl493456442 Jan 20, 2023
d36e6fc
go.mod: upgrade to latest goja (#26523)
s1na Jan 23, 2023
e4fa2cf
go.sum: go mod tidy (#26536)
ucwong Jan 23, 2023
163e996
all: use http package to replace http method names (#26535)
islishude Jan 24, 2023
59a48e0
cmd/utils: improve parsing of --miner.etherbase address (#26541)
fjl Jan 24, 2023
2b57a27
all: make timestamp-based fork checks based on uint64 (#26474)
holiman Jan 25, 2023
2a2b041
all: implement withdrawals (EIP-4895) (#26484)
MariusVanDerWijden Jan 25, 2023
55f41d1
cmd/utils: fix error at geth startup in --dev mode (#26550)
fjl Jan 26, 2023
245cff0
eth/catalyst: error on nil withdrawals post-shanghai (#26549)
MariusVanDerWijden Jan 27, 2023
2fecac6
eth/catalyst: implement exchangeCapabilities method (#26555)
MariusVanDerWijden Jan 27, 2023
34115c8
params: fix timestamp display in fork banner (#26553)
fjl Jan 27, 2023
abe4159
params: remove deprecated bootnodes (#26530)
ncocchiaro Jan 27, 2023
a63875b
go.mod: gnark-crypto upgrade (#26545)
ucwong Jan 27, 2023
90f15a0
cmd/evm: add blocktest subcommand to evm (#26526)
marioevz Jan 27, 2023
df52967
eth/catalyst: fix panic in TestWithdrawals (#26563)
fjl Jan 27, 2023
fd4230f
log: fix typo in comment (#26569)
ucwong Jan 30, 2023
3ff3d07
cmd/devp2p: fix broken link in readme(#26576)
pcaversaccio Jan 30, 2023
17017b2
log: better sanitation (#26556)
holiman Jan 30, 2023
78d089b
ethclient/gethclient: fix typo (#26580)
shimmeris Jan 31, 2023
efbd508
eth/tracer: rename to revertReason (#26574)
rjl493456442 Jan 31, 2023
bd6a05e
internal/ethapi: always return block withdrawals if present (#26565)
lightclient Jan 31, 2023
8ded6a9
cmd/puppeth: remove puppeth
holiman Jan 31, 2023
5c8cc10
core: improve ambiguous block validation message (#26582)
holiman Feb 1, 2023
5d8bff1
Merge pull request #26581 from holiman/nuke_puppet
karalabe Feb 2, 2023
a8cf439
eth/catalyst: return invalid params instead of invalid payload params…
MariusVanDerWijden Feb 2, 2023
d0a4989
cmd, eth, node: deprecate personal namespace (#26390)
MariusVanDerWijden Feb 2, 2023
d9699c8
accounts, build, mobile: remove Andriod and iOS support
karalabe Feb 3, 2023
3a79a99
Merge pull request #26599 from karalabe/mobile-nuke
karalabe Feb 3, 2023
877d217
core/vm: improve EVM instance reusability (#26341)
lmittmann Feb 5, 2023
9826cd6
eth/catalyst: implement engine_getPayloadBodiesByHash/Range methods (…
MariusVanDerWijden Feb 6, 2023
bd726f8
readme: fix broken link (#26612)
delihiros Feb 6, 2023
8e92881
rpc: fix off-by-one in ipc endpoint length check (#26614)
holiman Feb 6, 2023
918aed4
core/vm: add bn256ScalarMul testcase for zero scalar value (#26607)
raulk Feb 6, 2023
10c1484
README: remove text about GPU mining (#26609)
sandakersmann Feb 6, 2023
8860b39
all: prepare for path-based trie storage (#26603)
holiman Feb 6, 2023
3a5acee
beacon/engine: move core/beacon to beacon/engine (#26616)
zsfelfoldi Feb 6, 2023
37e3208
build: upgrade to golangci-lint v1.51.1 (#26618)
fjl Feb 6, 2023
91cb6f8
tests: update (#26548)
holiman Feb 6, 2023
cefc0fa
accounts/abi: fix integer encoding/decoding (#26568)
zhiqiangxu Feb 7, 2023
31d401e
rpc: remove DecimalOrHex type (#26629)
fjl Feb 7, 2023
2f73f4f
eth/catalyst,miner: include withdrawals in payload id calculation (#2…
MariusVanDerWijden Feb 7, 2023
00a9b80
light: fix receiver name from Python style to Go (#26631)
halilylm Feb 8, 2023
8c18b48
log: allow tabs in log messages (#26630)
fjl Feb 8, 2023
9842301
all: remove database commit callback, rework noderesolver (#26637)
rjl493456442 Feb 8, 2023
0c9eb8c
eth/catalyst: make getPayloadBodiesByRange take hex inputs (#26624)
jwasinger Feb 8, 2023
095e365
all: remove support for Ropsten (#26644)
karalabe Feb 9, 2023
ed51b8c
ethdb: pebble backend (64bit platforms only) (#26517)
holiman Feb 9, 2023
6a148dd
eth/catalyst: disallow forkchoiceupdate v1 post-shanghai (#26645)
MariusVanDerWijden Feb 9, 2023
bf1798e
common/prque: generic priority queue (#26290)
karalabe Feb 9, 2023
da3c974
ethdb/pebble: fix nil callbacks (#26650)
karalabe Feb 9, 2023
3086c25
eth/downloader: fix timeout resurrection panic (#26652)
karalabe Feb 9, 2023
22c3ad1
core/state, trie: remove unused error-return from trie Commit operati…
holiman Feb 9, 2023
77380b9
go.mod: update pebble to latest master (#26654)
karalabe Feb 9, 2023
b0cd8c4
core/vm: set tracer-observable `value` of a delegatecall to match par…
ziogaschr Feb 10, 2023
0ea65d4
ethdb: add benchmark test suite (#26659)
rjl493456442 Feb 10, 2023
241cf62
params: schedule shanghai fork on sepolia (#26662)
MariusVanDerWijden Feb 10, 2023
2def62b
eth/filters: avoid block body retrieval when no matching logs (#25199)
s1na Feb 13, 2023
7d29fff
eth/tracers: more fork overrides in traceBlockToFile (#26655)
darioush Feb 13, 2023
03585ed
tests/fuzzers: supply gnark multiexp config, fixes #26669 (#26670)
holiman Feb 13, 2023
1c5fa40
cmd/devp2p: reduce output of node crawler (#26674)
holiman Feb 14, 2023
f44ebc4
params: update mainnet + rinkeby CHT (#26677)
holiman Feb 14, 2023
ff38c9e
eth/filters: replace atomic pointer with value (#26689)
s1na Feb 14, 2023
101587b
p2p/dnsdisc: fix tests with Go 1.20 (#26690)
fjl Feb 14, 2023
dbd6c13
eth/catalyst: return error if withdrawals are nil post-shanghai (#26691)
MariusVanDerWijden Feb 14, 2023
5967a22
ethdb/pebble: Fix `MemTableStopWritesThreshold` (#26692)
patrick-ogrady Feb 15, 2023
7fb42e6
eth/downloader: handle missing withdrawals if empty list is expected …
MariusVanDerWijden Feb 15, 2023
18b641b
params: go-ethereum v1.11.0 stable
holiman Feb 15, 2023
194b5c9
params: begin v1.11.1 release cycle
holiman Feb 15, 2023
5ccc99b
travis, build: update Go to 1.20.1 (#26653)
karalabe Feb 16, 2023
08bf8a6
core: check genesis state presence by disk read (#26703)
rjl493456442 Feb 16, 2023
645e3e8
core, eth/downloader: make body validation more strict (#26704)
holiman Feb 16, 2023
13d7de7
eth/downloader: fix empty-body case in queue fetchresult (#26707)
holiman Feb 16, 2023
e9d4249
eth/downloader: fix typo (#26716)
ucwong Feb 16, 2023
4d35256
all: remove deprecated uses of math.rand (#26710)
holiman Feb 16, 2023
7696106
params: go-ethereum v1.11.1 stable
holiman Feb 16, 2023
b40c109
params: begin v1.11.2 release cycle
holiman Feb 16, 2023
6428663
eth/catalyst: send INVALID instead of INVALID_BLOCK_HASH (#26696)
MariusVanDerWijden Feb 17, 2023
15e5e61
eth/catalyst: request too large error (#26722)
rkrasiuk Feb 17, 2023
7c749c9
core/trie: remove trie tracer (#26665)
holiman Feb 19, 2023
1db978c
rpc: fix unmarshaling of null result in CallContext (#26723)
fjl Feb 19, 2023
2166c86
build: ship bootstrapper Go along with builder for PPA (#26731)
karalabe Feb 20, 2023
e1e2781
build: fix setting env var, temp early exit
karalabe Feb 20, 2023
4ec4235
build: fix gobootstrap path for the PPA
karalabe Feb 20, 2023
a43efce
build: add some PPA debug logs, sigh
karalabe Feb 20, 2023
1652684
internal/build: revert raising the chunk size for PPA
karalabe Feb 20, 2023
c02334b
build: yet another weird PPA fix
karalabe Feb 20, 2023
4519054
build: fix (finaly?) the PPA env vars for Go bootstrapping
karalabe Feb 20, 2023
41dee26
build: fix Go 1.19.0 bootstrapper issues on 386 PPA
karalabe Feb 20, 2023
ba4267f
build: enable Lunar Lobster PPA builds
karalabe Feb 20, 2023
13ef21d
Revert "core/trie: remove trie tracer (#26665)" (#26732)
rjl493456442 Feb 20, 2023
7d4db69
cmd/geth: clarify dumpconfig options (#26729)
swkim101 Feb 21, 2023
90d2551
core, eth: merge snap-sync chain download progress logs (#26676)
karalabe Feb 21, 2023
6d2d126
core: fix accessor mismatch for genesis state (#26747)
holiman Feb 21, 2023
2f20fd3
core/rawdb: expose chain freezer constructor without internals (#26748)
karalabe Feb 21, 2023
fe01a2f
all: use unified emptyRootHash and emptyCodeHash (#26718)
rjl493456442 Feb 21, 2023
4034c67
eth/filters: fix a breaking change and return rpctransaction (#26757)
yierx Feb 22, 2023
f86f048
common/math: allow HexOrDecimal to accept unquoted decimals too (#26758)
karalabe Feb 22, 2023
73b01f4
params: release Geth v1.11.2
karalabe Feb 22, 2023
ebcd50e
Merge branch 'master' into release_v1.11.2
simonecid Mar 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions eth/protocols/snap/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -2220,50 +2220,6 @@ func (s *Syncer) commitHealer(force bool) {
log.Crit("Failed to persist healing data", "err", err)
}
log.Debug("Persisted set of healing data", "type", "trienodes", "bytes", common.StorageSize(batch.ValueSize()))

// Calculate the processing rate of one filled trie node
rate := float64(fills) / (float64(time.Since(start)) / float64(time.Second))

// Update the currently measured trienode queueing and processing throughput.
//
// The processing rate needs to be updated uniformly independent if we've
// processed 1x100 trie nodes or 100x1 to keep the rate consistent even in
// the face of varying network packets. As such, we cannot just measure the
// time it took to process N trie nodes and update once, we need one update
// per trie node.
//
// Naively, that would be:
//
// for i:=0; i<fills; i++ {
// healRate = (1-measurementImpact)*oldRate + measurementImpact*newRate
// }
//
// Essentially, a recursive expansion of HR = (1-MI)*HR + MI*NR.
//
// We can expand that formula for the Nth item as:
// HR(N) = (1-MI)^N*OR + (1-MI)^(N-1)*MI*NR + (1-MI)^(N-2)*MI*NR + ... + (1-MI)^0*MI*NR
//
// The above is a geometric sequence that can be summed to:
// HR(N) = (1-MI)^N*(OR-NR) + NR
s.trienodeHealRate = gomath.Pow(1-trienodeHealRateMeasurementImpact, float64(fills))*(s.trienodeHealRate-rate) + rate

pending := atomic.LoadUint64(&s.trienodeHealPend)
if time.Since(s.trienodeHealThrottled) > time.Second {
// Periodically adjust the trie node throttler
if float64(pending) > 2*s.trienodeHealRate {
s.trienodeHealThrottle *= trienodeHealThrottleIncrease
} else {
s.trienodeHealThrottle /= trienodeHealThrottleDecrease
}
if s.trienodeHealThrottle > maxTrienodeHealThrottle {
s.trienodeHealThrottle = maxTrienodeHealThrottle
} else if s.trienodeHealThrottle < minTrienodeHealThrottle {
s.trienodeHealThrottle = minTrienodeHealThrottle
}
s.trienodeHealThrottled = time.Now()

log.Debug("Updated trie node heal throttler", "rate", s.trienodeHealRate, "pending", pending, "throttle", s.trienodeHealThrottle)
}
gbataille marked this conversation as resolved.
Show resolved Hide resolved
}

// processBytecodeHealResponse integrates an already validated bytecode response
Expand Down
11 changes: 11 additions & 0 deletions eth/tracers/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,17 @@ func (l *StructLogger) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, s

// CaptureEnd is called after the call finishes to finalize the tracing.
func (l *StructLogger) CaptureEnd(output []byte, gasUsed uint64, err error) {
for ; l.depth > 1; l.depth-- {
l.current = l.current.parent
}
l.current.log = StructLog{
Op: vm.CALL,
GasCost: gasUsed,
ReturnData: output,
Depth: 0,
Err: err,
}

gbataille marked this conversation as resolved.
Show resolved Hide resolved
l.output = output
l.err = err
if l.cfg.Debug {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.