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

[Upgrade] Go-Ethereum release v1.10.3 #1469

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
469 commits
Select commit Hold shift + click to select a range
6ec1561
eth: implement eth66 (#22241)
holiman Feb 18, 2021
d36276d
p2p/dnsdisc: fix hot-spin when all trees are empty (#22313)
fjl Feb 19, 2021
c027507
les: renamed lespay to vflux (#22347)
zsfelfoldi Feb 19, 2021
ca76db6
cmd/utils: disable caching preimages by default
karalabe Feb 19, 2021
c5023e1
travis, appveyor, build: bump Go to 1.16
karalabe Feb 19, 2021
8647233
les: fix balance expiration (#22343)
zsfelfoldi Feb 19, 2021
8f03e3b
tests/fuzzers/les: add fuzzer for les server handler (#22282)
zsfelfoldi Feb 20, 2021
3ecfdcc
les: clean up server handler (#22357)
rjl493456442 Feb 22, 2021
c4a2b68
cmd/geth: add db commands stats, compact, put, get, delete (#22014)
holiman Feb 23, 2021
142fbcf
internal/ethapi: reject non-replay-protected txs over RPC (#22339)
MariusVanDerWijden Feb 23, 2021
2d1a0e9
accounts/abi/bind: fix up Go mod files for Go 1.16
karalabe Feb 23, 2021
2743fb0
Dockerfile: bump to Go 1.16 base images
karalabe Feb 23, 2021
4ee8d2d
travis, appveyor, build, Dockerfile: bump Go to 1.16 (#22351)
karalabe Feb 23, 2021
cdb6a84
Merge pull request #22350 from karalabe/disable-preimage-collection
karalabe Feb 23, 2021
c9aa267
travis: bump Android NDK version
karalabe Feb 23, 2021
b502c86
Merge pull request #22368 from karalabe/ndk-bump
karalabe Feb 23, 2021
70afe15
travis: bump builders to Bionic
karalabe Feb 23, 2021
bf5b379
Merge pull request #22369 from karalabe/android-bionic-builder
karalabe Feb 23, 2021
f54dc4a
travis: manually install Android since Travis is stale (#22373)
karalabe Feb 24, 2021
8e547ee
cmd/utils: remove deprecated command line flags (#22263)
renaynay Feb 24, 2021
b2b5c82
eth/protocols/snap: lower abortion and resumption logs to debug
karalabe Feb 25, 2021
96d9306
Merge pull request #22381 from karalabe/lower-error-log
karalabe Feb 25, 2021
378e961
cmd, eth, les: enable serving light clients when non-synced (#22250)
rjl493456442 Feb 25, 2021
7a3c890
les, light: improve txstatus retrieval (#22349)
rjl493456442 Feb 25, 2021
bbfb1e4
all: add support for EIP-2718, EIP-2930 transactions (#21502)
lightclient Feb 25, 2021
de9465f
cmd/devp2p: add eth66 test suite (#22363)
renaynay Feb 25, 2021
dc109cc
les: move server pool to les/vflux/client (#22377)
zsfelfoldi Feb 25, 2021
0928562
all: define Berlin hard fork spec
karalabe Feb 25, 2021
27b3137
rpc: add separate size limit for websocket (#22385)
fjl Feb 26, 2021
744707a
Merge pull request #22380 from karalabe/berlin
karalabe Feb 26, 2021
3822b09
accounts/keystore: use github.com/google/uuid (#22217)
MariusVanDerWijden Feb 26, 2021
498458b
core/state: fix eta calculation on pruning (#22386)
holiman Feb 26, 2021
d968704
les: UDP pre-negotiation of available server capacity (#22183)
zsfelfoldi Mar 1, 2021
19d7a37
core/rawdb: fix the transaction indexer (#22395)
rjl493456442 Mar 1, 2021
7834e4a
core, eth: unship EIP 2315
karalabe Mar 2, 2021
430f69e
core/vm/runtime: more unshipping
karalabe Mar 2, 2021
0540d3c
cmd/geth: put allowUnsecureTx flag in RPC section (#22412)
MariusVanDerWijden Mar 3, 2021
c539a05
params: update chts (#22418)
rjl493456442 Mar 3, 2021
07e907c
cmd/utils: fix txlookuplimit for archive node (#22419)
rjl493456442 Mar 3, 2021
ba99910
core/forkid, params: unset Berlin fork number (#22413)
karalabe Mar 3, 2021
b24804d
les: fix nodiscover option on the client side (#22422)
zsfelfoldi Mar 3, 2021
5a81dd9
cmd: retire whisper flags (#22421)
rjl493456442 Mar 3, 2021
cd316d7
tests: update to latest tests (#22290)
MariusVanDerWijden Mar 3, 2021
56dec25
params: release geth 1.10.0 stable
fjl Mar 3, 2021
6338537
params: begin v1.10.1 release cycle
fjl Mar 3, 2021
9230ca4
Revert "core/forkid, params: unset Berlin fork number (#22413)"
karalabe Mar 4, 2021
de61da9
build: fix PPA failure due to updated debsrc
karalabe Mar 4, 2021
89026d5
Merge pull request #22431 from karalabe/builder-fix-ppa
karalabe Mar 4, 2021
5b95453
build: add support for Ubuntu Hirsute Hippo
karalabe Mar 4, 2021
dab90e4
Merge pull request #22432 from karalabe/add-hirsute
karalabe Mar 4, 2021
658cb9f
Merge pull request #22414 from karalabe/unship-2315
karalabe Mar 7, 2021
44c0bb2
Merge pull request #22426 from ethereum/revert-22413-unship-berlin
karalabe Mar 7, 2021
72b8cac
tests: update reference tests with 2315 removed from Berlin
holiman Mar 7, 2021
5aba946
Merge pull request #22452 from holiman/testupdate_berlin
karalabe Mar 7, 2021
c2d2f4e
params: release Geth v1.10.1
karalabe Mar 8, 2021
1826708
params: begin v1.10.2 release cycle
karalabe Mar 8, 2021
be87f76
core/types: reduce allocations in GasPriceCmp (#22456)
MariusVanDerWijden Mar 8, 2021
3d299b7
les: fix errors in metric namespace (#22459)
holiman Mar 9, 2021
22082f9
cmd: extend dumpgenesis to support network flags on the cmd (#22406)
rjl493456442 Mar 9, 2021
aae7660
p2p/enr: fix decoding of incomplete lists (#22484)
fjl Mar 11, 2021
6387c52
cmd/geth: add ancient datadir flag to snapshot subcommands (#22486)
michael1011 Mar 12, 2021
3f74c8e
cmd/devp2p: better testcase failure output for ethtests (#22482)
holiman Mar 13, 2021
c6d4500
eth, les: properly init statedb accesslist during tracing (#22480)
holiman Mar 14, 2021
faacc8e
cmd/geth, eth/downloader: remove copydb command (#22501)
holiman Mar 15, 2021
bc47993
tests/fuzzers: fix goroutine leak in les fuzzer (#22455)
holiman Mar 16, 2021
9983072
core/types: improve comments in new EIP-2718 code (#22402)
lightclient Mar 16, 2021
7076e8e
cmd/clef: docs - link to ethereum org repo (#22400)
ligi Mar 16, 2021
7cbf1d7
cmd/clef (docs): fix image background (#22399)
ligi Mar 16, 2021
94ab4ea
core/rawdb: fix transaction indexing/unindexing hashing error (#22457)
holiman Mar 16, 2021
62d8022
les: fix UDP connection query (#22451)
zsfelfoldi Mar 16, 2021
6d9707a
les: fix UDP connection query (#22451)
zsfelfoldi Mar 16, 2021
91726e8
les: allow either full enode strings or raw hex ids in the API (#22423)
zsfelfoldi Mar 16, 2021
410089a
eth/protocols/snap, eth/downloader: don't use bloom filter in snap sync
holiman Mar 17, 2021
117fa7d
eth/protocols/snap: fix typo (#22530)
r1cs Mar 19, 2021
6a528fc
cmd/devp2p/internal/ethtest: return request ID in BlockHeaders respon…
renaynay Mar 19, 2021
aa8b218
ethclient: fix error handling for header test (#22514)
meowsbits Mar 19, 2021
38ea7f2
accounts/abi/bind: add NoSend transact option (#22446)
reds Mar 19, 2021
a90861a
go.mod: upgrade goleveldb to commit 64b5b1c (#22436)
ucwong Mar 19, 2021
345890a
go.mod: upgrade goupnp to commit 0ca76305 (#22479)
ucwong Mar 19, 2021
d50e9d2
consensus/ethash: remove unnecessary variable definition (#22512)
jacksoom Mar 19, 2021
e3a3f7c
cmd/devp2p: use AWS-SDK v2 (#22360)
qhenkart Mar 19, 2021
5bc0343
p2p/dnsdisc: fix flaw in dns size calculation (#22533)
holiman Mar 19, 2021
c454717
core: fix potential race in chainIndexerTest (#22346)
s1na Mar 19, 2021
d3040a8
cmd/devp2p/internal/ethtest: skip eth/66 tests when v66 not supported…
renaynay Mar 19, 2021
9429ab1
cmd/devp2p: add flag for AWS region (#22537)
fjl Mar 19, 2021
5bf6612
cmd/devp2p: fix error in updating the cursor when collecting records …
holiman Mar 20, 2021
36b51b8
cmd/devp2p: add old block announcement test to eth test suite (#22474)
renaynay Mar 20, 2021
ec73ec0
cmd/utils: fix compilation issue on openbsd (#22511)
tobias-hildebrandt Mar 20, 2021
eaccdba
core: fix method comment for `txpool.requestReset` (#22543)
derekchiang Mar 22, 2021
aab3560
accounts: eip-712 signing for ledger (#22378)
MrChico Mar 22, 2021
0c70b83
all: add read-only option to database (#22407)
rjl493456442 Mar 22, 2021
8d6cc16
cmd/geth: check block range against chain head in export cmd (#22387)
s1na Mar 22, 2021
a31f6d5
core/state/snapshot: fix panic on missing parent
karalabe Mar 22, 2021
f304290
Merge pull request #22551 from karalabe/snapshot-parent-get-panic
karalabe Mar 22, 2021
477ec75
Merge pull request #22513 from holiman/no_snap_bloom
karalabe Mar 23, 2021
e862cbf
internal/web3ext, node: migrate node admin API (Start|Stop)RPC->HTTP …
meowsbits Mar 23, 2021
5129cdc
cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565)
fjl Mar 24, 2021
15e6c27
p2p: fix minor typo and remove fd parameter in checkInboundConn (#22547)
terasum Mar 24, 2021
ab8fd4d
p2p/dnsdisc: rate limit resolving before checking cache (#22566)
fjl Mar 24, 2021
c5df05b
eth/protocols/snap: fix the flaws in the snap sync (#22553)
rjl493456442 Mar 24, 2021
0fda25e
eth/tracers, core: use scopecontext in tracers, provide statedb in ca…
holiman Mar 25, 2021
497448b
core: fix condition on header verification
holiman Mar 25, 2021
bed74b3
cmd/devp2p: fix comparison of TXT record value (#22572)
fjl Mar 25, 2021
4adf0b9
Merge pull request #22573 from holiman/checkfreq
karalabe Mar 25, 2021
54c0d57
eth: dump rpc gas cap and tx fee cap (#22574)
MariusVanDerWijden Mar 25, 2021
6d7ff6a
eth/protocols, metrics, p2p: add handler performance metrics
karalabe Mar 26, 2021
efe0229
Merge pull request #22581 from karalabe/network-latency-monitoring
karalabe Mar 26, 2021
2550e46
eth/protocols, metrics: use resetting histograms for rare packets
karalabe Mar 26, 2021
6477ea6
Merge pull request #22586 from karalabe/resettting-histogram
karalabe Mar 26, 2021
9557271
eth: fix corner case in sync head determination (#21695)
zouguangxian Mar 26, 2021
cae6b55
cmd/geth, consensus/ethash: add support for --miner.notify.full flag …
fjl Mar 26, 2021
62379f0
metrics/influxdb: don't push empty histograms, no measurement != 0
karalabe Mar 26, 2021
063f78c
Merge pull request #22590 from karalabe/nil-histogram
karalabe Mar 26, 2021
099be04
eth/protocols/snap: add peer id and req id to the timeout logs
karalabe Mar 26, 2021
e7f3962
Merge pull request #22591 from karalabe/snap-detailed-timeout-logs
karalabe Mar 26, 2021
27056f6
cmd/devp2p: update to newer cloudflare API client (#22588)
fjl Mar 26, 2021
76700ac
core/state/pruner: move the compaction out of the pruning procedure (…
rjl493456442 Mar 29, 2021
7644795
eth/protocols/snap: try to prevent requests timing out
holiman Mar 29, 2021
b6912c1
core: add BlockGen.GetBalance method (#22589)
renaynay Mar 29, 2021
24588ba
cmd/puppeth: specify working directory for nodejs 15 (#22549)
MariusVanDerWijden Mar 29, 2021
43a3768
Merge pull request #22596 from holiman/snap_timelimits
karalabe Mar 30, 2021
59ac3c9
cmd/geth: add db dumptrie command (#22563)
holiman Mar 30, 2021
44fe466
core/vm: fix Byzantium address list (#22603)
nebojsa94 Mar 30, 2021
3faae5d
ethstats: avoid creating subscriptions on background goroutine (#22587)
MariusVanDerWijden Mar 30, 2021
61ff3e8
core/state/snapshot, ethdb: track deletions more accurately (#22582)
karalabe Mar 30, 2021
4a37ae5
rpc: tighter shutdown synchronization in client subscription (#22597)
fjl Mar 30, 2021
55300d4
all: fix miner hashRate -> hashrate on API calls
karalabe Mar 31, 2021
73ed689
Merge pull request #22604 from karalabe/hashrate-capitalization-fix
karalabe Mar 31, 2021
c79fc20
core/state/snapshot: fix data race in diff layer (#22540)
fxfactorial Apr 6, 2021
706683e
internal/ethapi: fix eth_chainId method (#22243)
piersy Apr 6, 2021
adf09ae
graphql: add support for tx types and tx access lists (#22491)
AmitBRD Apr 6, 2021
5338ce4
internal/debug: add JSON log format and rename logging flags (#22341)
s1na Apr 6, 2021
95219ae
cmd/utils: move cache sanity check to SetEthConfig (#22510)
petesimard Apr 6, 2021
e275b1a
consensus/ethash: replace a magic number with it's constant (#22618)
Evolution404 Apr 6, 2021
2d89fe0
les: move client pool to les/vflux/server (#22495)
zsfelfoldi Apr 6, 2021
a600dab
eth, les: fix tracers (#22473)
rjl493456442 Apr 7, 2021
9d10856
core, eth, internal/ethapi: create access list RPC API (#22550)
MariusVanDerWijden Apr 7, 2021
2a7c4b6
eth: fix tracing state retrieval if requesting the non-dirty genesis
karalabe Apr 7, 2021
264fff7
Merge pull request #22629 from karalabe/fix-chain-tracing-from-0
karalabe Apr 7, 2021
e3ff37c
params: update CHTs for v1.10.2
karalabe Apr 8, 2021
a665f5d
Merge pull request #22632 from karalabe/cht-1.10.2
karalabe Apr 8, 2021
97d11b0
params: release go-ethereum v1.10.2 stable
fjl Apr 8, 2021
04dcc93
params: begin v1.10.3 release cycle
fjl Apr 8, 2021
fe1586b
eth, les: drop support for eth/64, fix eth/66 tests
karalabe Apr 8, 2021
9c653ff
Merge pull request #22636 from karalabe/drop-eth64
karalabe Apr 9, 2021
6c27d8f
accounts: documentation fixes (#22645)
balajipachai Apr 13, 2021
271e5b7
cmd/geth: add db-command to inspect freezer index (#22633)
holiman Apr 13, 2021
72e3794
cmd/faucet: support testnet flags in the faucet (#22545)
maxsam4 Apr 13, 2021
a50251e
eth/fetcher: avoid spurious timer events at startup (#22652)
r1cs Apr 14, 2021
7088f1e
core, eth: faster snapshot generation (#22504)
rjl493456442 Apr 14, 2021
d5e5794
core/types: drop some relice data types
karalabe Apr 14, 2021
d8ff53d
Merge pull request #22666 from karalabe/remove-stale-datatype
karalabe Apr 14, 2021
1e20734
all: make logs a bit easier on the eye to digest (#22665)
karalabe Apr 15, 2021
9553c98
eth/protocols/snap: use ephemeral channels to avoid cross-sync delveries
karalabe Apr 15, 2021
3cfd0fe
core: add TestGenesisHashes and fix YoloV3 (#22559)
meowsbits Apr 15, 2021
fda93f6
log: fix formatting of big.Int (#22679)
fjl Apr 16, 2021
f8afb68
Merge pull request #22678 from karalabe/snap-ephemeral-channels
karalabe Apr 16, 2021
65689e7
les/vflux/server: fix priority cornercase causing fuzzer timeout (#22…
zsfelfoldi Apr 16, 2021
4f3ba67
trie: make stacktrie not mutate input values (#22673)
holiman Apr 16, 2021
09d44e9
core/state/snapshot: avoid copybytes for stacktrie
holiman Apr 16, 2021
f79cce5
eth/catalyst: add catalyst API prototype (#22641)
gballet Apr 16, 2021
e43ac53
Merge pull request #22686 from holiman/minor_fixes
karalabe Apr 18, 2021
4246565
cmd/devp2p: add support for -limit option in nodeset filter command (…
fjl Apr 19, 2021
653b7e9
cmd/devp2p: add dns nuke-route53 command (#22695)
fjl Apr 19, 2021
d6ffa14
core: nuke legacy snapshot supporting (#22663)
rjl493456442 Apr 20, 2021
d7bfb97
ethash: no block reward in catalyst mode (#22697)
gballet Apr 20, 2021
581539c
trie: make stacktrie support binary marshal/unmarshal (#22685)
holiman Apr 20, 2021
beee6b7
go.mod: upgrade gopsutils to v3.21.4 (#22693)
gballet Apr 20, 2021
cc33398
tests: disable blockchain tests based on general state tests (#22704)
holiman Apr 20, 2021
dd9c322
eth, internal: extend the TraceCall API (#22245)
rjl493456442 Apr 21, 2021
96828c9
eth/tracers, internal/ethapi: fix typos causing lint issue (#22711)
rjl493456442 Apr 21, 2021
3e68d62
les: fix goroutine leaks in tests (#22707)
holiman Apr 21, 2021
4b783c0
trie: improve the node iterator seek operation (#22470)
holiman Apr 21, 2021
67da83a
accounts/external, signer/core: add support for EIP-2930 transactions…
holiman Apr 21, 2021
9357280
rpc: add HTTPError type for HTTP error responses (#22677)
Apr 21, 2021
1fb9a6d
eth/protocols, prp/tracker: add support for req/rep rtt tracking (#22…
karalabe Apr 22, 2021
ea54c58
cmd/devp2p/internal/ethtest: run test suite as Go unit test (#22698)
renaynay Apr 23, 2021
49281ab
core/state/snapshot, true: reuse dirty data instead of hitting disk w…
holiman Apr 23, 2021
cac1b21
cmd/devp2p/internal/ethtest: add more tx propagation tests (#22630)
renaynay Apr 23, 2021
34f3c95
p2p/discover: improve discv5 handling of IPv4-in-IPv6 addresses (#22703)
nisdas Apr 23, 2021
83375b0
core: remove old conversion to shuffle leveldb blocks into ancients
holiman Apr 26, 2021
9b99e3d
core/rawdb: fix datarace in freezer (#22728)
holiman Apr 26, 2021
854f068
les: polish code (#22625)
rjl493456442 Apr 27, 2021
a3f0da1
build: upgrade to golangci-lint v1.39.0 (#22696)
fjl Apr 27, 2021
85a0bab
Merge pull request #21467 from holiman/minor_ethashfix
karalabe Apr 27, 2021
ad983b3
cmd/puppeth: add support for authentication via ssh agent (#22634)
lightclient Apr 27, 2021
a0a99e6
build: upgrade -dlgo version to Go 1.16.3 (#22746)
fjl Apr 27, 2021
65a1c2d
core/vm: make gas cost reporting to tracers correct (#22702)
holiman Apr 27, 2021
caea6c4
eth/protocols/snap: generate storage trie from full dirty snap data (…
karalabe Apr 27, 2021
45fca44
p2p/tracker: properly clean up fulfilled requests
holiman Apr 27, 2021
55043ee
Merge pull request #22751 from holiman/tracker_fix
karalabe Apr 27, 2021
ff3535e
p2p/tracker: only reschedule wake if previous didn't run
karalabe Apr 27, 2021
d9c9ee5
Merge pull request #22753 from karalabe/p2p-tracker-stopfix
karalabe Apr 27, 2021
0c99868
cmd/devp2p, eth/protocols/eth: fix tests + make sanity checks earlier…
holiman Apr 28, 2021
256c5d6
eth/gasprice: improve stability of estimated price (#22722)
GregTheGreek Apr 28, 2021
9e5bb84
tests/fuzzers: crypto/bn256 and crypto/bls12381 tests against gnark-c…
gbotrel Apr 28, 2021
6d7c956
les, tests: fix les clientpool (#22756)
rjl493456442 Apr 28, 2021
558bff4
eth/protocols/snap: lower the packet size to avoid overloading link
karalabe Apr 28, 2021
e4270ca
cmd/devp2p: fix flaky SameRequestID test (#22754)
renaynay Apr 28, 2021
abb6cfa
Merge pull request #22761 from karalabe/snap-small-packets
karalabe Apr 28, 2021
a81cf0d
trie: remove redundant returns + use stacktrie where applicable (#22760)
holiman Apr 28, 2021
fae165a
core, eth, ethdb, trie: simplify range proofs
karalabe Apr 28, 2021
64b60c7
Merge pull request #22762 from karalabe/snap-lower-complexity
karalabe Apr 29, 2021
06f44c0
eth: restore eth_hashrate API endpoint
karalabe Apr 29, 2021
871f50b
Merge pull request #22765 from karalabe/revert-eth-hashrate
karalabe Apr 29, 2021
c7d0729
catalyst: check if block exists in assemble-block call with unknown p…
protolambda Apr 29, 2021
793c8f8
add myself as code owner for catalyst (#22778)
gballet Apr 29, 2021
56f533d
docs: fix docstring on read head block (#22776)
aaronbuchwald Apr 29, 2021
63bad18
evm: remove unused errors left after EIP-2315 removal (#22767)
chfast Apr 29, 2021
b50b17a
github: add note about screenshots in issue template (#22764)
ligi Apr 29, 2021
bb43cd7
core/types: add license header (#22781)
aaronbuchwald Apr 29, 2021
8130dd5
core/vm: fix typo in comment (#22785)
aaronbuchwald Apr 30, 2021
1e57ab5
core: remove unused else branch in reorg (#22783)
aaronbuchwald Apr 30, 2021
dde6cb0
core/vm: replace repeated string with variable in tests (#22774)
aaronbuchwald Apr 30, 2021
b778e37
core: fix typo in comment (#22773)
aaronbuchwald Apr 30, 2021
ff75b21
README.md: update commands table, add note about web3.js version (#22…
holiman Apr 30, 2021
f66f1a1
eth/filters: fix comment on PublicFilterAPI timeoutLoop (#22782)
aaronbuchwald Apr 30, 2021
bbb57fd
core/state: remove toAddr helper in tests (#22772)
aaronbuchwald Apr 30, 2021
745757a
core, eth: abort snapshot generation on snap sync and resume later
karalabe Apr 29, 2021
8681a25
Merge pull request #22777 from karalabe/snapshots-abort-resume-on-sync
karalabe Apr 30, 2021
52b5d2d
eth/protocols/snap: use storage batch, not account batch in st task
karalabe Apr 30, 2021
afc1abd
Merge pull request #22789 from karalabe/snap-fix-batch
karalabe Apr 30, 2021
8ff9810
cmd/devp2p: fix flakey tests in CI (#22757)
renaynay Apr 30, 2021
0e00ee4
core/vm: clean up contract creation error handling (#22766)
chfast May 1, 2021
ca9c576
core/vm: fix interpreter comments (#22797)
aaronbuchwald May 3, 2021
afb097e
params: remove dependency on crypto (#22788)
fjl May 3, 2021
8f94fc2
cmd/utils: don't crash on nonexistent datadir (#22738)
MariusVanDerWijden May 3, 2021
fc1c1cb
Merge pull request #22739 from holiman/remove_code
karalabe May 3, 2021
856c379
eth: don't print db upgrade warning on db init
karalabe May 3, 2021
640d2c5
Merge pull request #22803 from karalabe/silence-scary-warning
karalabe May 4, 2021
b8040a4
cmd/utils: use eth DNS tree for snap discovery (#22808)
fjl May 4, 2021
effaf18
build: improve cross compilation setup (#22804)
fjl May 4, 2021
d107f90
go.mod: go mod tidy (#22814)
fjl May 4, 2021
973ad66
build: fix iOS framework build (#22813)
fjl May 4, 2021
3a2b29c
appveyor.yml: upgrade to VisualStudio 2019 image (#22811)
fjl May 4, 2021
41671d4
build: fix windows installer build for NSIS v3.05 (#22821)
fjl May 5, 2021
0f3a1e7
cmd/devp2p/internal/ethtest: send simultaneous requests on one connec…
renaynay May 5, 2021
991384a
params: go-ethereum v1.10.3 stable
fjl May 5, 2021
8d2b8b5
Merge branch 'master' into upgrade/go-ethereum/v1.10.3-2022805130510
baptiste-b-pegasys Aug 3, 2022
17f3cde
Merge branch 'upgrade/go-ethereum/v1.10.3-2022805130510'
baptiste-b-pegasys Aug 9, 2022
1ef7491
fix merge
baptiste-b-pegasys Aug 9, 2022
5ef5771
restore geth 1.10.3 modifications
baptiste-b-pegasys Aug 9, 2022
b84b012
Merge branch 'master' into upgrade/go-ethereum/v1.10.3-2022805130510
baptiste-b-pegasys Aug 9, 2022
52e8bd4
fix argument
baptiste-b-pegasys Aug 10, 2022
e4f894d
fix catalyst flag
baptiste-b-pegasys Aug 10, 2022
1bb1c40
fix diff
baptiste-b-pegasys Aug 10, 2022
9037088
fix diff
baptiste-b-pegasys Aug 10, 2022
7ca7536
fix diff
baptiste-b-pegasys Aug 10, 2022
a8b502b
Update cmd/geth/chaincmd.go
baptiste-b-pegasys Aug 22, 2022
62feb24
fix github action with deprecated ubuntu 18 to 20
baptiste-b-pegasys Aug 22, 2022
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cmd/puppeth @karalabe
consensus @karalabe
core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
graphql/ @gballet
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ Commit hash : (if `develop`)
````
[backtrace]
````

When submitting logs: please submit them as text and not screenshots.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# ###[error] natupnp_test.go:165: not discovered
# must be sommething with Github Actions VM networking setup.
# Event Ubuntu requires a workaround
os: [ "ubuntu-18.04" ]
os: [ "ubuntu-20.04" ]
env:
QUORUM_IGNORE_TEST_PACKAGES: github.com/ethereum/go-ethereum/les,github.com/ethereum/go-ethereum/les/flowcontrol,github.com/ethereum/go-ethereum/mobile
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
make test all
docker-build:
name: 'Build Docker image'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Check out project files'
uses: actions/checkout@v2
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- 'mps-mixed-network-psr-check || networks/template::istanbul-4nodes-mps-mixed'
- '(basic && !nosupport && !mps && !(spam && !raw) && !eth-api-signed && !privacy-enhancements-disabled && !graphql && !async && !extension && !storage-root && !personal-api-signed) || networks/typical-besu::ibft2'
- '(basic && !nosupport && !mps && !(spam && !raw) && !eth-api-signed && !privacy-enhancements-disabled && !graphql && !async && !extension && !storage-root && !personal-api-signed) || networks/typical-hybrid::hybrid'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Download workflow artifact - Docker image'
uses: actions/download-artifact@v1
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
privacy-enhancements: false
privacy-precompile: true
privacy-marker-transactions: false # do not enable pmts as the test will do this on the necessary nodes
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Download workflow artifact - Docker image'
uses: actions/download-artifact@v1
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
name: Run PEEPS tests
needs:
- docker-build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Checkout'
uses: actions/checkout@v2
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
- build
- acceptance-tests-basic
- acceptance-tests-extra
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Checkout'
uses: actions/checkout@v2
Expand All @@ -331,7 +331,7 @@ jobs:
needs:
- build
- publish-docker
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Setup metadata'
id: setup
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
lint:
name: 'Code linters'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Setup Go ${{ env.GO_VERSION }}'
uses: actions/setup-go@v1
Expand All @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-18.04"]
os: ["ubuntu-20.04"]
env:
QUORUM_IGNORE_TEST_PACKAGES: github.com/ethereum/go-ethereum/les,github.com/ethereum/go-ethereum/les/flowcontrol,github.com/ethereum/go-ethereum/mobile
runs-on: ${{ matrix.os }}
Expand All @@ -55,7 +55,7 @@ jobs:
make test
docker-build:
name: 'Build Docker image'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Check out project files'
uses: actions/checkout@v2
Expand All @@ -77,7 +77,7 @@ jobs:
name: Run PEEPS tests
needs:
- docker-build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Checkout'
uses: actions/checkout@v2
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- 'basic || networks/typical::raftmps'
- 'basic || networks/typical::istanbulmps'
- 'basic || networks/typical::qbftmps'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Download workflow artifact - Docker image'
uses: actions/download-artifact@v1
Expand Down
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ android:
@echo "Import \"$(GOBIN)/geth.aar\" to use the library."
@echo "Import \"$(GOBIN)/geth-sources.jar\" to add javadocs"
@echo "For more info see https://stackoverflow.com/questions/20994336/android-studio-how-to-attach-javadoc"

ios:
$(GORUN) build/ci.go xcode --local
@echo "Done building."
Expand All @@ -51,12 +51,11 @@ clean:
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.

devtools:
env GOBIN= go get -u golang.org/x/tools/cmd/stringer
env GOBIN= go get -u github.com/kevinburke/go-bindata/go-bindata
env GOBIN= go get -u github.com/fjl/gencodec
env GOBIN= go get -u github.com/golang/protobuf/protoc-gen-go
env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
env GOBIN= go install github.com/kevinburke/go-bindata/go-bindata@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 ./cmd/abigen
@type "npm" 2> /dev/null || echo 'Please install node.js and npm'
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'

Expand Down
4 changes: 2 additions & 2 deletions accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type Wallet interface {
SignData(account Account, mimeType string, data []byte) ([]byte, error)

// SignDataWithPassphrase is identical to SignData, but also takes a password
// NOTE: there's an chance that an erroneous call might mistake the two strings, and
// NOTE: there's a chance that an erroneous call might mistake the two strings, and
// supply password in the mimetype field, or vice versa. Thus, an implementation
// should never echo the mimetype or return the mimetype in the error-response
SignDataWithPassphrase(account Account, passphrase, mimeType string, data []byte) ([]byte, error)
Expand All @@ -127,7 +127,7 @@ type Wallet interface {
// a password to decrypt the account, or a PIN code o verify the transaction),
// an AuthNeededError instance will be returned, containing infos for the user
// about which fields or actions are needed. The user may retry by providing
// the needed details via SignHashWithPassphrase, or by other means (e.g. unlock
// the needed details via SignTextWithPassphrase, or by other means (e.g. unlock
// the account in a keystore).
//
// This method should return the signature in 'canonical' format, with v 0 or 1
Expand Down
14 changes: 14 additions & 0 deletions accounts/external/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio
// Quorum
IsPrivate: tx.IsPrivate(),
}
// We should request the default chain id that we're operating with
// (the chain we're executing on)
if chainID != nil {
args.ChainID = (*hexutil.Big)(chainID)
}
// However, if the user asked for a particular chain id, then we should
// use that instead.
if tx.Type() != types.LegacyTxType && tx.ChainId() != nil {
args.ChainID = (*hexutil.Big)(tx.ChainId())
}
if tx.Type() == types.AccessListTxType {
accessList := tx.AccessList()
args.AccessList = &accessList
}
var res signTransactionResult
if err := api.client.Call(&res, "account_signTransaction", args); err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion accounts/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (u URL) String() string {
func (u URL) TerminalString() string {
url := u.String()
if len(url) > 32 {
return url[:31] + ""
return url[:31] + ".."
}
return url
}
Expand Down
40 changes: 14 additions & 26 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,29 @@
os: Visual Studio 2015

# Clone directly into GOPATH.
clone_folder: C:\gopath\src\github.com\ethereum\go-ethereum
os: Visual Studio 2019
clone_depth: 5
version: "{branch}.{build}"
environment:
global:
GO111MODULE: on
GOPATH: C:\gopath
CC: gcc.exe
matrix:
# We use gcc from MSYS2 because it is the most recent compiler version available on
# AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
# contained in PATH.
- GETH_ARCH: amd64
MSYS2_ARCH: x86_64
MSYS2_BITS: 64
MSYSTEM: MINGW64
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
GETH_CC: C:\msys64\mingw64\bin\gcc.exe
PATH: C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%
- GETH_ARCH: 386
MSYS2_ARCH: i686
MSYS2_BITS: 32
MSYSTEM: MINGW32
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
GETH_CC: C:\msys64\mingw32\bin\gcc.exe
PATH: C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%

install:
- git submodule update --init
- rmdir C:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.16.windows-%GETH_ARCH%.zip
- 7z x go1.16.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
- git submodule update --init --depth 1
- go version
- gcc --version
- "%GETH_CC% --version"

build_script:
- go run build\ci.go install -dlgo
- go run build\ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%

after_build:
- go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
- go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
- go run build\ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
- go run build\ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds

test_script:
- set CGO_ENABLED=1
- go run build\ci.go test -coverage
- go run build\ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage
58 changes: 30 additions & 28 deletions build/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# This file contains sha256 checksums of optional build dependencies.

7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a go1.16.src.tar.gz
6000a9522975d116bf76044967d7e69e04e982e9625330d9a539a8b45395f9a8 go1.16.darwin-amd64.tar.gz
ea435a1ac6d497b03e367fdfb74b33e961d813883468080f6e239b3b03bea6aa go1.16.linux-386.tar.gz
013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2 go1.16.linux-amd64.tar.gz
3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098 go1.16.linux-arm64.tar.gz
d1d9404b1dbd77afa2bdc70934e10fbfcf7d785c372efc29462bb7d83d0a32fd go1.16.linux-armv6l.tar.gz
481492a17d42193d471b93b7a06da3555331bd833b76336afc87be820c48933f go1.16.windows-386.zip
5cc88fa506b3d5c453c54c3ea218fc8dd05d7362ae1de15bb67986b72089ce93 go1.16.windows-amd64.zip
d7d6c70b05a7c2f68b48aab5ab8cb5116b8444c9ddad131673b152e7cff7c726 go1.16.freebsd-386.tar.gz
40b03216f6945fb6883a50604fc7f409a83f62171607229a9c598e701e684f8a go1.16.freebsd-amd64.tar.gz
27a1aaa988e930b7932ce459c8a63ad5b3333b3a06b016d87ff289f2a11aacd6 go1.16.linux-ppc64le.tar.gz
be4c9e4e2cf058efc4e3eb013a760cb989ddc4362f111950c990d1c63b27ccbe go1.16.linux-s390x.tar.gz
b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25 go1.16.3.src.tar.gz
6bb1cf421f8abc2a9a4e39140b7397cdae6aca3e8d36dcff39a1a77f4f1170ac go1.16.3.darwin-amd64.tar.gz
f4e96bbcd5d2d1942f5b55d9e4ab19564da4fad192012f6d7b0b9b055ba4208f go1.16.3.darwin-arm64.tar.gz
48b2d1481db756c88c18b1f064dbfc3e265ce4a775a23177ca17e25d13a24c5d go1.16.3.linux-386.tar.gz
951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2 go1.16.3.linux-amd64.tar.gz
566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d go1.16.3.linux-arm64.tar.gz
0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c go1.16.3.linux-armv6l.tar.gz
a3c16e1531bf9726f47911c4a9ed7cb665a6207a51c44f10ebad4db63b4bcc5a go1.16.3.windows-386.zip
a4400345135b36cb7942e52bbaf978b66814738b855eeff8de879a09fd99de7f go1.16.3.windows-amd64.zip
31ecd11d497684fa8b0f01ba784590c4c760943665fdc4fe0adaa1405c71736c go1.16.3.freebsd-386.tar.gz
ffbd920b309e62e807457b11d80e8c17fefe3ef6de423aaba4b1e270b2ca4c3d go1.16.3.freebsd-amd64.tar.gz
5eb046bbbbc7fe2591846a4303884cb5a01abb903e3e61e33459affe7874e811 go1.16.3.linux-ppc64le.tar.gz
3e8bd7bde533a73fd6fa75b5288678ef397e76c198cfb26b8ae086035383b1cf go1.16.3.linux-s390x.tar.gz

d998a84eea42f2271aca792a7b027ca5c1edfcba229e8e5a844c9ac3f336df35 golangci-lint-1.27.0-linux-armv7.tar.gz
bf781f05b0d393b4bf0a327d9e62926949a4f14d7774d950c4e009fc766ed1d4 golangci-lint.exe-1.27.0-windows-amd64.zip
bf781f05b0d393b4bf0a327d9e62926949a4f14d7774d950c4e009fc766ed1d4 golangci-lint-1.27.0-windows-amd64.zip
0e2a57d6ba709440d3ed018ef1037465fa010ed02595829092860e5cf863042e golangci-lint-1.27.0-freebsd-386.tar.gz
90205fc42ab5ed0096413e790d88ac9b4ed60f4c47e576d13dc0660f7ed4b013 golangci-lint-1.27.0-linux-arm64.tar.gz
8d345e4e88520e21c113d81978e89ad77fc5b13bfdf20e5bca86b83fc4261272 golangci-lint-1.27.0-linux-amd64.tar.gz
cc619634a77f18dc73df2a0725be13116d64328dc35131ca1737a850d6f76a59 golangci-lint-1.27.0-freebsd-armv7.tar.gz
fe683583cfc9eeec83e498c0d6159d87b5e1919dbe4b6c3b3913089642906069 golangci-lint-1.27.0-linux-s390x.tar.gz
058f5579bee75bdaacbaf75b75e1369f7ad877fd8b3b145aed17a17545de913e golangci-lint-1.27.0-freebsd-armv6.tar.gz
38e1e3dadbe3f56ab62b4de82ee0b88e8fad966d8dfd740a26ef94c2edef9818 golangci-lint-1.27.0-linux-armv6.tar.gz
071b34af5516f4e1ddcaea6011e18208f4f043e1af8ba21eeccad4585cb3d095 golangci-lint.exe-1.27.0-windows-386.zip
071b34af5516f4e1ddcaea6011e18208f4f043e1af8ba21eeccad4585cb3d095 golangci-lint-1.27.0-windows-386.zip
5f37e2b33914ecddb7cad38186ef4ec61d88172fc04f930fa0267c91151ff306 golangci-lint-1.27.0-linux-386.tar.gz
4d94cfb51fdebeb205f1d5a349ac2b683c30591c5150708073c1c329e15965f0 golangci-lint-1.27.0-freebsd-amd64.tar.gz
52572ba8ff07d5169c2365d3de3fec26dc55a97522094d13d1596199580fa281 golangci-lint-1.27.0-linux-ppc64le.tar.gz
3fb1a1683a29c6c0a8cd76135f62b606fbdd538d5a7aeab94af1af70ffdc2fd4 golangci-lint-1.27.0-darwin-amd64.tar.gz
7e9a47ab540aa3e8472fbf8120d28bed3b9d9cf625b955818e8bc69628d7187c golangci-lint-1.39.0-darwin-amd64.tar.gz
574daa2c9c299b01672a6daeb1873b5f12e413cdb6dc0e30f2ff163956778064 golangci-lint-1.39.0-darwin-arm64.tar.gz
6225f7014987324ab78e9b511f294e3f25be013728283c33918c67c8576d543e golangci-lint-1.39.0-freebsd-386.tar.gz
6b3e76e1e5eaf0159411c8e2727f8d533989d3bb19f10e9caa6e0b9619ee267d golangci-lint-1.39.0-freebsd-amd64.tar.gz
a301cacfff87ed9b00313d95278533c25a4527a06b040a17d969b4b7e1b8a90d golangci-lint-1.39.0-freebsd-armv7.tar.gz
25bfd96a29c3112f508d5e4fc860dbad7afce657233c343acfa20715717d51e7 golangci-lint-1.39.0-freebsd-armv6.tar.gz
9687e4ff15545cfc722b0e46107a94195166a505023b48a316579af25ad09505 golangci-lint-1.39.0-linux-armv7.tar.gz
a7fa7ab2bfc99cbe5e5bcbf5684f5a997f920afbbe2f253d2feb1001d5e3c8b3 golangci-lint-1.39.0-linux-armv6.tar.gz
c8f9634115beddb4ed9129c1f7ecd4c97c99d07aeef33e3707234097eeb51b7b golangci-lint-1.39.0-linux-mips64le.tar.gz
d1234c213b74751f1af413302dde0e9a6d4d29aecef034af7abb07dc1b6e887f golangci-lint-1.39.0-linux-arm64.tar.gz
df25d9267168323b163147acb823ab0215a8a3bb6898a4a9320afdfedde66817 golangci-lint-1.39.0-linux-386.tar.gz
1767e75fba357b7651b1a796d38453558f371c60af805505ec99e166908c04b5 golangci-lint-1.39.0-linux-ppc64le.tar.gz
25fd75bf3186b3d930ecae10185689968fd18fd8fa6f9f555d6beb04348c20f6 golangci-lint-1.39.0-linux-s390x.tar.gz
3a73aa7468087caa62673c8adea99b4e4dff846dc72707222db85f8679b40cbf golangci-lint-1.39.0-linux-amd64.tar.gz
578caceccf81739bda67dbfec52816709d03608c6878888ecdc0e186a094a41b golangci-lint-1.39.0-linux-mips64.tar.gz
494b66ba0e32c8ddf6c4f6b1d05729b110900f6017eda943057e43598c17d7a8 golangci-lint-1.39.0-windows-386.zip
52ec2e13a3cbb47147244dff8cfc35103563deb76e0459133058086fc35fb2c7 golangci-lint-1.39.0-windows-amd64.zip
Loading