-
Notifications
You must be signed in to change notification settings - Fork 21
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 upstream v1.10.9 #59
Merge upstream v1.10.9 #59
Commits on Jun 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d3f018f - Browse repository at this point
Copy the full SHA d3f018fView commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a1f16bc - Browse repository at this point
Copy the full SHA a1f16bcView commit details
Commits on Jul 27, 2021
-
Use
hexutil.Uint
forblockCount
parameter infeeHistory
method (e……thereum#23239) * internal/ethapi/api: use hexutil.uint for blockCount parameter instead of int for feeHistory * return hex value for oldestBlock instead of number * return uint64 from oracle.resolveBlockRange * eth/gasprice: fixed test Co-authored-by: Zsolt Felfoldi <zsfelfoldi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bbfa648 - Browse repository at this point
Copy the full SHA bbfa648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c89ec9 - Browse repository at this point
Copy the full SHA 5c89ec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b20bc5c - Browse repository at this point
Copy the full SHA b20bc5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aea432 - Browse repository at this point
Copy the full SHA 3aea432View commit details
Commits on Jul 28, 2021
-
internal/ethapi: fix panic in accesslist creation (ethereum#23225)
* internal/ethapi: revert + fix properly in al tracer * internal/ethapi: use toMessage instead of creating new message * internal/ethapi: remove ineffassign * core: fix invalid unmarshalling, fix test Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 2faf796 - Browse repository at this point
Copy the full SHA 2faf796View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0730acc - Browse repository at this point
Copy the full SHA 0730accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e9001 - Browse repository at this point
Copy the full SHA 56e9001View commit details
Commits on Jul 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 523866c - Browse repository at this point
Copy the full SHA 523866cView commit details -
accounts/external, internal/ethapi: fixes for London tx signing (ethe…
…reum#23274) Ticket ethereum#23273 found a flaw where we were unable to sign legacy-transactions using the external signer, even if we're still on non-london network. That's fixed in this PR. Additionally, I found that even when supplying all parameters, it was impossible to sign a london-transaction on an unsynched node. It's a pretty common usecase that someone wants to sign a transaction using an unsynced 'vanilla' node, providing all necessary data. Our setDefaults, however, insisted on checking the current block against the config. This PR therefore adds a case, so that if both MaxPriorityFeePerGas and MaxFeePerGas are provided, we accept them as given. OBS This PR fixes a regression -- on current master, we are unable to sign a london-transaction unless the node is synched, which may break scenarios where geth (or clef) is used as a cold wallet. Fixes ethereum#23273
Configuration menu - View commit details
-
Copy full SHA for 5c13012 - Browse repository at this point
Copy the full SHA 5c13012View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8ea59 - Browse repository at this point
Copy the full SHA fb8ea59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a5e12 - Browse repository at this point
Copy the full SHA 64a5e12View commit details -
Configuration menu - View commit details
-
Copy full SHA for b157bae - Browse repository at this point
Copy the full SHA b157baeView commit details -
p2p/simulations: fix unlikely crash in probabilistic connect (ethereu…
…m#23200) When the nodeCount is less than 10, it will panic with the out of bound error. How about we just skip this round, when rand1 and rand2 are equal?
Configuration menu - View commit details
-
Copy full SHA for 8f11d27 - Browse repository at this point
Copy the full SHA 8f11d27View commit details -
signer/core: move API JSON types to separate package (ethereum#23275)
This PR moves (some) account types into a standalone package, to avoid depending on signer/core from accounts/external.
Configuration menu - View commit details
-
Copy full SHA for 295bc35 - Browse repository at this point
Copy the full SHA 295bc35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3526f69 - Browse repository at this point
Copy the full SHA 3526f69View commit details -
p2p: remove term "whitelist" (ethereum#23295)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 860184d - Browse repository at this point
Copy the full SHA 860184dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85afdee - Browse repository at this point
Copy the full SHA 85afdeeView commit details
Commits on Aug 2, 2021
-
node, cmd/clef: remove term "whitelist" (ethereum#23296)
* node: remove term "whitelist" * include cmd/clef
Configuration menu - View commit details
-
Copy full SHA for 95bbd46 - Browse repository at this point
Copy the full SHA 95bbd46View commit details
Commits on Aug 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 82c5085 - Browse repository at this point
Copy the full SHA 82c5085View commit details -
cmd/devp2p: fix ping/pong race in discv4 tests (ethereum#23306)
This PR modifies the post-PING-send expectations to both be laxer and stricter: it doesn't care what order the packets arrive, but also verifies that exactly one PING and one PONG is returned.
Configuration menu - View commit details
-
Copy full SHA for 4cd6a14 - Browse repository at this point
Copy the full SHA 4cd6a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for c38fab9 - Browse repository at this point
Copy the full SHA c38fab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f311488 - Browse repository at this point
Copy the full SHA f311488View commit details -
core/state: add trie prefetcher tests (ethereum#23216)
* core/state: add trie prefetcher tests * core/state: add missing license
Configuration menu - View commit details
-
Copy full SHA for 28ba686 - Browse repository at this point
Copy the full SHA 28ba686View commit details
Commits on Aug 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d3e3a46 - Browse repository at this point
Copy the full SHA d3e3a46View commit details
Commits on Aug 7, 2021
-
core: check if sender is EOA (ethereum#23303)
This adds a check to verify that a sender-account does not have code, which means that the codehash is either `emptyCodeHash` _OR_ not present. The latter occurs IFF the sender did not previously exist, a situation which can only occur with zero cost gasprices.
Configuration menu - View commit details
-
Copy full SHA for 0658712 - Browse repository at this point
Copy the full SHA 0658712View commit details -
cmd/evm: implement input txs via rlp in t8n tool (ethereum#23138)
In many cases, it's desireable to use already-signed transactions as input to the state transition, instead of having the evm sign them internally (for example to use malformed or not-yet-valid transactions). This PR adds support + docs for that feature.
Configuration menu - View commit details
-
Copy full SHA for 8a24b56 - Browse repository at this point
Copy the full SHA 8a24b56View commit details
Commits on Aug 8, 2021
-
core/rawdb: close database in test to avoid goroutine leak (ethereum#…
…23287) * add db close to avoid goroutine leak * core/rawdb: move close to defer Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 9e59474 - Browse repository at this point
Copy the full SHA 9e59474View commit details
Commits on Aug 9, 2021
-
core: fix london-check to avoid duplication (ethereum#23333)
Co-authored-by: lxex <liuxmzc1@163.com>
Configuration menu - View commit details
-
Copy full SHA for d60cfd2 - Browse repository at this point
Copy the full SHA d60cfd2View commit details
Commits on Aug 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 97bd6cd - Browse repository at this point
Copy the full SHA 97bd6cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b38a83 - Browse repository at this point
Copy the full SHA 3b38a83View commit details -
Merge pull request ethereum#23370 from karalabe/windows-pruning-fix-b
core/state/pruner: fix state bloom sync permission in Windows
Configuration menu - View commit details
-
Copy full SHA for 520f256 - Browse repository at this point
Copy the full SHA 520f256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d17546 - Browse repository at this point
Copy the full SHA 6d17546View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b687c - Browse repository at this point
Copy the full SHA e4b687cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57d9e0a - Browse repository at this point
Copy the full SHA 57d9e0aView commit details -
core/state/snapshot: clarify comment about snapshot repair (ethereum#…
…23305) Co-authored-by: Tyler Chambers <me@tylerchambers.net> Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 6694831 - Browse repository at this point
Copy the full SHA 6694831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fe7ec - Browse repository at this point
Copy the full SHA 39fe7ecView commit details -
internal/ethapi, accounts/abi/bind: cap highest gas limit by account …
…balance for 1559 fee parameters (ethereum#23309) * internal/ethapi/api: cap highest gas limit by account balance for 1559 fee parameters * accounts/abi/bind: port gas limit cap for 1559 parameters to simulated backend * accounts/abi/bind: add test for 1559 gas estimates for the simulated backend * internal/ethapi/api: fix comment * accounts/abi/bind/backends, internal/ethapi: unify naming style Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a879c42 - Browse repository at this point
Copy the full SHA a879c42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d6480c - Browse repository at this point
Copy the full SHA 9d6480cView commit details -
Merge pull request ethereum#23371 from karalabe/gofmt
core/state/snapshot: gofmt
Configuration menu - View commit details
-
Copy full SHA for 5d0ab07 - Browse repository at this point
Copy the full SHA 5d0ab07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9097d0a - Browse repository at this point
Copy the full SHA 9097d0aView commit details -
Merge pull request ethereum#23373 from karalabe/docker-flip
travis: transition from docker auto builds to manual pushes
Configuration menu - View commit details
-
Copy full SHA for 0fbc94e - Browse repository at this point
Copy the full SHA 0fbc94eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c27bd34 - Browse repository at this point
Copy the full SHA c27bd34View commit details -
Merge pull request ethereum#23374 from karalabe/fix-docker-tag
build: fix docker tag to include `v` prefix in version string
Configuration menu - View commit details
-
Copy full SHA for deff505 - Browse repository at this point
Copy the full SHA deff505View commit details
Commits on Aug 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 278ec71 - Browse repository at this point
Copy the full SHA 278ec71View commit details -
Merge pull request ethereum#23384 from holiman/fix_gasfoo
internal/ethapi: add back missing check for maxfee < maxPriorityFee
Configuration menu - View commit details
-
Copy full SHA for 2a451f9 - Browse repository at this point
Copy the full SHA 2a451f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4ad493 - Browse repository at this point
Copy the full SHA f4ad493View commit details -
Merge pull request ethereum#23385 from karalabe/cht-1.10.7
params: update CHTs for the 1.10.7 release
Configuration menu - View commit details
-
Copy full SHA for 971df49 - Browse repository at this point
Copy the full SHA 971df49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f0ff4 - Browse repository at this point
Copy the full SHA 12f0ff4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a580f7d - Browse repository at this point
Copy the full SHA a580f7dView commit details
Commits on Aug 13, 2021
-
core/rawdb: implement sequential reads in freezer_table (ethereum#23117)
* core/rawdb: implement sequential reads in freezer_table * core/rawdb, ethdb: add sequential reader to db interface * core/rawdb: lint nitpicks * core/rawdb: fix some nitpicks * core/rawdb: fix flaw with deferred reads not being performed * core/rawdb: better documentation
Configuration menu - View commit details
-
Copy full SHA for 5f98020 - Browse repository at this point
Copy the full SHA 5f98020View commit details -
Merge pull request ethereum#23120 from karalabe/drop-eth-65
eth: drop eth/65, the last non-reqid protocol version
Configuration menu - View commit details
-
Copy full SHA for fd604be - Browse repository at this point
Copy the full SHA fd604beView commit details -
accounts/external: handle 0 chainid as not-set for the Clef API (ethe…
…reum#23394) * accounts/external: handle 0 chainid as not-set for the Clef API * accounts/external: document SignTx Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 0a68558 - Browse repository at this point
Copy the full SHA 0a68558View commit details
Commits on Aug 17, 2021
-
tests: update, enable legacy tests, remove vm tests (ethereum#23350)
* tests: update, enable legacy tests, remove vm tests * tests: minor fixes
Configuration menu - View commit details
-
Copy full SHA for fb4007b - Browse repository at this point
Copy the full SHA fb4007bView commit details -
cmd, metrics: add support for influxdb-v2 (cherry-picking from italoa…
…casas' changes), leave existing support for v1 to maintain backwards-compatibility. (ethereum#23194) This PR adds flag to enable InfluxDB v2 (--metrics.influxdbv2), flags for v2-specific features (--metrics.influxdb.token, --metrics.influxdb.bucket), also carries over addition of support for specifying organization (--metrics.influxdb.organization), but still retains backwards compatibility with InfluxDB v1.
Configuration menu - View commit details
-
Copy full SHA for 6902485 - Browse repository at this point
Copy the full SHA 6902485View commit details -
cmd, core: remove calaveras testnet (ethereum#23366)
Removes references to the short-lived Calaveras testnet
Configuration menu - View commit details
-
Copy full SHA for 85b9bdd - Browse repository at this point
Copy the full SHA 85b9bddView commit details -
cmd/utils: add --nousb to the list of deprecated flags (ethereum#23388)
Adds --nousb as a deprecated flag when someone runs the geth show-deprecated-flags command.
Configuration menu - View commit details
-
Copy full SHA for 16ecdd5 - Browse repository at this point
Copy the full SHA 16ecdd5View commit details -
eth, internal/ethapi: make RPC block miner field show block sealer co…
…rrectly (ethereum#23312) Makes the RPC block return the POA sealer for clique blocks on the 'miner' field (was previously zeroes)
Configuration menu - View commit details
-
Copy full SHA for 57feabe - Browse repository at this point
Copy the full SHA 57feabeView commit details
Commits on Aug 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5566e5d - Browse repository at this point
Copy the full SHA 5566e5dView commit details
Commits on Aug 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c368f72 - Browse repository at this point
Copy the full SHA c368f72View commit details
Commits on Aug 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d02c605 - Browse repository at this point
Copy the full SHA d02c605View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb1f7eb - Browse repository at this point
Copy the full SHA bb1f7ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfeb2f7 - Browse repository at this point
Copy the full SHA dfeb2f7View commit details -
eth/gasprice: feeHistory improvements (ethereum#23422)
* eth/gasprice: cache feeHistory results * eth/gasprice: changed feeHistory block count limitation * eth/gasprice: do not use embedded struct in blockFees * eth/gasprice: fee processing logic cleanup * eth/gasprice: purge feeHistory cache at chain reorgs
Configuration menu - View commit details
-
Copy full SHA for f38abc5 - Browse repository at this point
Copy the full SHA f38abc5View commit details
Commits on Aug 24, 2021
-
core/vm: faster code analysis (ethereum#23381)
* core/vm: more detailed benchmark for jumpdest analysis * core/vm: make jd analysis benchmark alloc free * core/vm: improve jumpdest analysis * core/vm: improve worst-case * core/vm: further improvements in analysis * core/vm: improve jumpdest analysis >PUSH15 * core/vm: make jd analysis ref by value * core/vm: fix misspell * core/vm: improve set8 and set16 a bit * core/vm: reduce amount of code * core/vm: optimize byte copying
Configuration menu - View commit details
-
Copy full SHA for 1d99573 - Browse repository at this point
Copy the full SHA 1d99573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2667545 - Browse repository at this point
Copy the full SHA 2667545View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea4bc2d - Browse repository at this point
Copy the full SHA ea4bc2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79bb930 - Browse repository at this point
Copy the full SHA 79bb930View commit details -
p2p, p2p/enode: fix data races (ethereum#23434)
In p2p/dial.go, conn.flags was accessed without using sync/atomic. This race is fixed by removing the access. In p2p/enode/iter_test.go, a similar race is resolved by writing the field atomically. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 8dbf261 - Browse repository at this point
Copy the full SHA 8dbf261View commit details -
core/bloombits: avoid crash when storing errors of different type (et…
…hereum#23437) This fixes a rare crash which could occur when two different errors happened in the same bloombits.MatcherSession.
Configuration menu - View commit details
-
Copy full SHA for 8e0771c - Browse repository at this point
Copy the full SHA 8e0771cView commit details -
tests/testdata: make submodule shallow (ethereum#23412)
Before: 316M .git/modules/tests/ After: 171M .git/modules/tests/
Configuration menu - View commit details
-
Copy full SHA for 5c66bab - Browse repository at this point
Copy the full SHA 5c66babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b40977 - Browse repository at this point
Copy the full SHA 0b40977View commit details -
core/types: add benchmarks for rlp encoding/decoding (ethereum#23190)
Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a0a4a15 - Browse repository at this point
Copy the full SHA a0a4a15View commit details -
node: add comment about --nousb being deprecated (ethereum#23439)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 85126c4 - Browse repository at this point
Copy the full SHA 85126c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cee33e - Browse repository at this point
Copy the full SHA 5cee33eView commit details -
core: make txpool reject too sudden changes (ethereum#23095)
* core: make txpool reject too sudden changes * core: add some metrics to txpool
Configuration menu - View commit details
-
Copy full SHA for d705f5a - Browse repository at this point
Copy the full SHA d705f5aView commit details -
Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (
ethereum#23426)" (ethereum#23456) This reverts commit c368f72.
Configuration menu - View commit details
-
Copy full SHA for 0db0b27 - Browse repository at this point
Copy the full SHA 0db0b27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b69f5ca - Browse repository at this point
Copy the full SHA b69f5caView commit details -
Configuration menu - View commit details
-
Copy full SHA for a789dcc - Browse repository at this point
Copy the full SHA a789dccView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a5237 - Browse repository at this point
Copy the full SHA a5a5237View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe2f153 - Browse repository at this point
Copy the full SHA fe2f153View commit details
Commits on Aug 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 83ad92c - Browse repository at this point
Copy the full SHA 83ad92cView commit details -
build: upgrade to golangci-lint v1.42.0 (ethereum#23461)
The new linter version is built with go 1.17 and thus includes the go vet check for mismatched +build and go:build lines. Fortunately, no new warnings are reported with this update.
Configuration menu - View commit details
-
Copy full SHA for 45f3443 - Browse repository at this point
Copy the full SHA 45f3443View commit details -
Configuration menu - View commit details
-
Copy full SHA for efee853 - Browse repository at this point
Copy the full SHA efee853View commit details -
cmd/evm: add difficulty calculation to t8n tool (ethereum#23353)
This PR adds functionality to the evm t8n to calculate ethash difficulty. If the caller does not provide a currentDifficulty, but instead provides the parentTimestamp (well, semi-optional, will default to 0 if not given), and parentDifficulty, we can calculate it for him. The caller can also provide a parentUncleHash. In most, but not all cases, the parent uncle hash also affects the formula. If no such hash is provided (or, if the empty all-zero hash is provided), it's assumed that there were no uncles.
Configuration menu - View commit details
-
Copy full SHA for 84c51bc - Browse repository at this point
Copy the full SHA 84c51bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3784e15 - Browse repository at this point
Copy the full SHA 3784e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for d162142 - Browse repository at this point
Copy the full SHA d162142View commit details -
Configuration menu - View commit details
-
Copy full SHA for 887902e - Browse repository at this point
Copy the full SHA 887902eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a13401 - Browse repository at this point
Copy the full SHA 8a13401View commit details -
rlp: minor optimizations for slice/array encoding (ethereum#23467)
As per benchmark results below, these changes speed up encoding/decoding of consensus objects a bit. name old time/op new time/op delta EncodeRLP/legacy-header-8 384ns ± 1% 331ns ± 3% -13.83% (p=0.000 n=7+8) EncodeRLP/london-header-8 411ns ± 1% 359ns ± 2% -12.53% (p=0.000 n=8+8) EncodeRLP/receipt-for-storage-8 251ns ± 0% 239ns ± 0% -4.97% (p=0.000 n=8+8) EncodeRLP/receipt-full-8 319ns ± 0% 300ns ± 0% -5.89% (p=0.000 n=8+7) EncodeRLP/legacy-transaction-8 389ns ± 1% 387ns ± 1% ~ (p=0.099 n=8+8) EncodeRLP/access-transaction-8 607ns ± 0% 581ns ± 0% -4.26% (p=0.000 n=8+8) EncodeRLP/1559-transaction-8 627ns ± 0% 606ns ± 1% -3.44% (p=0.000 n=8+8) DecodeRLP/legacy-header-8 831ns ± 1% 813ns ± 1% -2.20% (p=0.000 n=8+8) DecodeRLP/london-header-8 824ns ± 0% 804ns ± 1% -2.44% (p=0.000 n=8+7) * rlp: pass length to byteArrayBytes This makes it possible to inline byteArrayBytes. For arrays, the length is known at encoder construction time, so the call to v.Len() can be avoided. * rlp: avoid IsNil for pointer encoding It's actually cheaper to use Elem first, because it performs less checks on the value. If the pointer was nil, the result of Elem is 'invalid'. * rlp: minor optimizations for slice/array encoding For empty slices/arrays, we can avoid storing a list header entry in the encoder buffer. Also avoid doing the tail check at encoding time because it is already known at encoder construction time.
Configuration menu - View commit details
-
Copy full SHA for 32c576b - Browse repository at this point
Copy the full SHA 32c576bView commit details -
cmd/devp2p/internal/ethtest: remove WriteTo method (ethereum#23379)
WriteTo is unused, and go vet warns about it because it doesn't match the usual signature of the io.WriterTo method.
Configuration menu - View commit details
-
Copy full SHA for 154b525 - Browse repository at this point
Copy the full SHA 154b525View commit details -
rpc: add BlockNumber.MarshalText (ethereum#23324)
Currently rpc.BlockNumber is marshalled to JSON as a numeric value, which is wrong because BlockNumber.UnmarshalJSON() wants it to either be hex-encoded or string "earliest"/"latest"/"pending". As a result, the call chain rpc.BlockNumberOrHashWithNumber(123) -> json.Marshal() -> json.Unmarshal() fails with error "cannot unmarshal object into Go value of type string".
Configuration menu - View commit details
-
Copy full SHA for 7c4cad0 - Browse repository at this point
Copy the full SHA 7c4cad0View commit details -
build: stop publishing deb packages for Ubuntu 20.10 Groovy Gorilla (e…
…thereum#23470) Support for this Ubuntu release has ended on July 22 2021 and Launchpad no longer accepts uploads for it.
Configuration menu - View commit details
-
Copy full SHA for d584e39 - Browse repository at this point
Copy the full SHA d584e39View commit details -
node: remove dependency on wallet backend packages (ethereum#23019)
* accounts: new AddBackends method in manager * node,cmd/geth: mv accman backend init to cmd/geth * node,cmd/geth: mv scrypt config downstreawm from node * accounts: use static buffer size for accman sub chan minor fix * accounts,cmd/geth: update accman backends through its event loop * accounts,node: add comments * accounts: un-export newBackendEvent * accounts: use chan instead of wg in newBlockEvent * node: rename isKeyDirEphem * accounts,cmd: AddBackends->AddBackend * accounts: fix potential blocking when adding backend
Configuration menu - View commit details
-
Copy full SHA for 108eec3 - Browse repository at this point
Copy the full SHA 108eec3View commit details
Commits on Aug 26, 2021
-
Revert "eth, internal/ethapi: make RPC block miner field show block s…
…ealer correctly (ethereum#23312)" (ethereum#23466) This reverts commit 57feabe.
Configuration menu - View commit details
-
Copy full SHA for 62ad17f - Browse repository at this point
Copy the full SHA 62ad17fView commit details
Commits on Aug 27, 2021
-
internal/ethapi: support both input and data for personal_sendTransac…
…tion (ethereum#23476) Currently, setDefaults overwrites the transaction input value if only input is provided. This causes personal_sendTransaction to estimate the gas based on a transaction with empty data. eth_estimateGas never calls setDefaults so it was unaffected by this.
Configuration menu - View commit details
-
Copy full SHA for ffae204 - Browse repository at this point
Copy the full SHA ffae204View commit details
Commits on Aug 30, 2021
-
core/vm: rework jumpdest analysis benchmarks (ethereum#23499)
* core/vm: rework jumpdest analysis benchmarks For BenchmarkJumpdestOpAnalysis use fixed code size of ~1.2MB and classic benchmark loop. * core/vm: clear bitvec in jumpdest analysis benchmark
Configuration menu - View commit details
-
Copy full SHA for 3258211 - Browse repository at this point
Copy the full SHA 3258211View commit details
Commits on Aug 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f85cf72 - Browse repository at this point
Copy the full SHA f85cf72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31be5d4 - Browse repository at this point
Copy the full SHA 31be5d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d019e90 - Browse repository at this point
Copy the full SHA d019e90View commit details -
core: fix race conditions in txpool (ethereum#23474)
* core: fix race conditions in txpool * core: fixed races in the txpool * core: rebased on master * core: move reheap mutex * core: renamed mutex * core: revert Reheap changes
Configuration menu - View commit details
-
Copy full SHA for 067084f - Browse repository at this point
Copy the full SHA 067084fView commit details
Commits on Sep 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4d88974 - Browse repository at this point
Copy the full SHA 4d88974View commit details
Commits on Sep 7, 2021
-
trie: add missing copyright header (ethereum#23530)
* Add missing copyright header * Update stacktrie_test.go Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for de2c44a - Browse repository at this point
Copy the full SHA de2c44aView commit details -
docs: add post-mortem (ethereum#23518)
* docs: add post-mortem * Update docs/postmortems/2021-08-22-split-postmortem.md Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> * Update docs/postmortems/2021-08-22-split-postmortem.md Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> * Update docs/postmortems/2021-08-22-split-postmortem.md Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> * Update docs/postmortems/2021-08-22-split-postmortem.md * Update 2021-08-22-split-postmortem.md * Update docs/postmortems/2021-08-22-split-postmortem.md Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7957530 - Browse repository at this point
Copy the full SHA 7957530View commit details -
internal/debug: remove deprecated flags (ethereum#23368)
* internal/debug: remove deprecated flags The removed flags are removed in the main portion of geth, this removes it internally too. * internal/debug: remove legacy --debug and legacy --backtrace flag * Update flags.go Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for ca5bc67 - Browse repository at this point
Copy the full SHA ca5bc67View commit details -
cmd/geth, cmd/utils: remove legacy rpc flags (ethereum#23358)
* remove rpc flags * remove legacy rpc flags * remove legacy rpc flags * remove legacy rpc commands * (hopefully) fix most of the build errors * fix build errors https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/530318686 * cmd/utils: fix syntax error * empty commit to unbreak travis ci * fix syntax error * syntax fixes * syntax fixes * fix fixes "cmd/geth/usage.go:234:7: expected '(', found init (typecheck)" * fix * various fixes in usage.go * various fixes in flags.go * adds extra space reverts the spacing to how it was before I resolved the merge conflict * more fixes in usage.go * fix fix for cmd/geth/usage.go:243:17: expected operand, found ':=' (typecheck) in travis * Update cmd/utils/flags.go Co-authored-by: Martin Holst Swende <martin@swende.se> * fix error fixes these errors: cmd/utils/flags_legacy.go:21:2: "strings" imported but not used (typecheck) "strings" ^ cmd/utils/flags_legacy.go:24:2: "github.com/ethereum/go-ethereum/node" imported but not used (typecheck) "github.com/ethereum/go-ethereum/node" ^ * goimports Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 9a0df80 - Browse repository at this point
Copy the full SHA 9a0df80View commit details -
core/rawdb: freezer batch write (ethereum#23462)
This change is a rewrite of the freezer code. When writing ancient chain data to the freezer, the previous version first encoded each individual item to a temporary buffer, then wrote the buffer. For small item sizes (for example, in the block hash freezer table), this strategy causes a lot of system calls for writing tiny chunks of data. It also allocated a lot of temporary []byte buffers. In the new version, we instead encode multiple items into a re-useable batch buffer, which is then written to the file all at once. This avoids performing a system call for every inserted item. To make the internal batching work, the ancient database API had to be changed. While integrating this new API in BlockChain.InsertReceiptChain, additional optimizations were also added there. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 794c613 - Browse repository at this point
Copy the full SHA 794c613View commit details -
p2p/enode: use unix timestamp as base ENR sequence number (ethereum#1…
…9903) This PR ensures that wiping all data associated with a node (apart from its nodekey) will not generate already used sequence number for the ENRs, since all remote nodes would reject them until they out-number the previously published largest one. The big complication with this scheme is that every local update to the ENR can potentially bump the sequence number by one. In order to ensure that local updates do not outrun the clock, the sequence number is a millisecond-precision timestamp, and updates are throttled to occur at most once per millisecond. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 6ef3a16 - Browse repository at this point
Copy the full SHA 6ef3a16View commit details -
core: make txPricedList.stales the first field for 64bit alignment (e…
…thereum#23542) This fixes crashes on 32bit builds.
Configuration menu - View commit details
-
Copy full SHA for 51ed39c - Browse repository at this point
Copy the full SHA 51ed39cView commit details -
core: 64bit alignment of testBlockChain.gasLimit (ethereum#23543)
This fixes crashes in txpool tests on 32bit platforms.
Configuration menu - View commit details
-
Copy full SHA for 5c1fc3b - Browse repository at this point
Copy the full SHA 5c1fc3bView commit details
Commits on Sep 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 90987db - Browse repository at this point
Copy the full SHA 90987dbView commit details
Commits on Sep 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9e17648 - Browse repository at this point
Copy the full SHA 9e17648View commit details -
Merge pull request ethereum#23561 from karalabe/temp-split-leseh
les: duplicate downloader and fetcher to allow progressive refactoring
Configuration menu - View commit details
-
Copy full SHA for 9ada4a2 - Browse repository at this point
Copy the full SHA 9ada4a2View commit details
Commits on Sep 13, 2021
-
README: add londonBlock to example genesis config (ethereum#23565)
Updated example genesis.json configuration section, added londonBlock within config.
Configuration menu - View commit details
-
Copy full SHA for 578bc81 - Browse repository at this point
Copy the full SHA 578bc81View commit details -
cmd/evm: transaction validation tool (ethereum#23494)
* cmd/evm: transaction validation tool * cmd/evm: add hash to t9n tool * cmd/evm: lint nits * cmd/evm: nitpicks
Configuration menu - View commit details
-
Copy full SHA for babe9b9 - Browse repository at this point
Copy the full SHA babe9b9View commit details -
core, rpc: disable memory output by default in traces (ethereum#23558)
* core: cmd: invert disableMemory * core: fix missed inversion * cmd/evm: preserve Flags but change default value * Apply suggestions from code review Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for b8d7c66 - Browse repository at this point
Copy the full SHA b8d7c66View commit details
Commits on Sep 15, 2021
-
cmd/devp2p/internal/ethtest: only use eth66 if eth66 is negotiated (e…
…thereum#23568) * cmd/devp2p/internal/ethtest: only use eth66 if eth66 is negotiated * cmd/devp2p/internal/ethtest: switch on concrete type not pointer * cmd/devp2p/internal/ethtest: switch on concrete type not pointer
Configuration menu - View commit details
-
Copy full SHA for 84ff152 - Browse repository at this point
Copy the full SHA 84ff152View commit details
Commits on Sep 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7ada89d - Browse repository at this point
Copy the full SHA 7ada89dView commit details
Commits on Sep 17, 2021
-
core,eth: call frame tracing (ethereum#23087)
This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them: enter: type (opcode), from, to, input, gas, value exit: output, gasUsed, error The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information.
Configuration menu - View commit details
-
Copy full SHA for 4013549 - Browse repository at this point
Copy the full SHA 4013549View commit details
Commits on Sep 20, 2021
-
ethclient, accounts/keystore: fix flaky tests (ethereum#23599)
* ethclient/gethclient: fix flaky test (due to map key ordering) * accounts/keystore: fix test failing due to rand collision due to low time resolution on windows
Configuration menu - View commit details
-
Copy full SHA for 1b34283 - Browse repository at this point
Copy the full SHA 1b34283View commit details -
docs: fix spelling on 2021-08-22 postmortem (ethereum#23595)
Spelling update
Configuration menu - View commit details
-
Copy full SHA for 62e3b83 - Browse repository at this point
Copy the full SHA 62e3b83View commit details -
internal: support optional filter expression for debug.stacks (ethere…
…um#23605) * internal: support optional filter expression for debug.stacks * internal/debug: fix string regexp * internal/debug: support searching for line numbers too
Configuration menu - View commit details
-
Copy full SHA for e28f713 - Browse repository at this point
Copy the full SHA e28f713View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bf495b - Browse repository at this point
Copy the full SHA 9bf495bView commit details -
Merge pull request ethereum#23609 from karalabe/regex-fix
internal/debug: make gosimple linter happy
Configuration menu - View commit details
-
Copy full SHA for 86f3625 - Browse repository at this point
Copy the full SHA 86f3625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b246af - Browse repository at this point
Copy the full SHA 5b246afView commit details -
Merge pull request ethereum#23610 from karalabe/gomod-tify
go.mod: fix module file to prevent go from updating it during build
Configuration menu - View commit details
-
Copy full SHA for b1a5e4a - Browse repository at this point
Copy the full SHA b1a5e4aView commit details
Commits on Sep 21, 2021
-
console: add note about typing exit to exit (ethereum#23602)
* add explicit note about typing exit in console * Add note about typing exit as alternative
Configuration menu - View commit details
-
Copy full SHA for d8211c7 - Browse repository at this point
Copy the full SHA d8211c7View commit details -
consensus/clique: prevent 0 len extradata from panicing (ethereum#23538)
Closes ethereum#23522 Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for b61ef24 - Browse repository at this point
Copy the full SHA b61ef24View commit details -
rpc: set scheme for ws and ipc conns to the server (ethereum#23615)
* rpc: set scheme for ws and ipc conns to the server * rpc: review fixes * rpc: bugfix * rpc: empty default scheme
Configuration menu - View commit details
-
Copy full SHA for ca9bce9 - Browse repository at this point
Copy the full SHA ca9bce9View commit details
Commits on Sep 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 57a3fab - Browse repository at this point
Copy the full SHA 57a3fabView commit details
Commits on Sep 27, 2021
-
rpc: set pong read deadline (ethereum#23556)
This PR adds a 30s timeout for the remote part to answer a ping message, thus detecting (silent) disconnnects
Configuration menu - View commit details
-
Copy full SHA for 51ececb - Browse repository at this point
Copy the full SHA 51ececbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12674d4 - Browse repository at this point
Copy the full SHA 12674d4View commit details -
eth/tracers: re-write of 4byte tracer using enter/exit (ethereum#23622)
* eth/tracers: add re-write of 4byte tracer using enter/exit * eth/tracers: fix 4byte indent
Configuration menu - View commit details
-
Copy full SHA for ac7baea - Browse repository at this point
Copy the full SHA ac7baeaView commit details
Commits on Sep 28, 2021
-
core/state: move state account to core/types + abstracted "write acco…
…unt to trie" (ethereum#23567) * core/state: abstracted "write account to trie" method * fix appveyor build * Apply suggestions from code review Co-authored-by: Martin Holst Swende <martin@swende.se> * review feedback * core/state/accounts: move Account to core/types * core/types: rename Account -> StateAccount * core/state: restore EncodeRLP for stateObject * core/types: add the missing file * more review feedback * more review feedback Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 443afc9 - Browse repository at this point
Copy the full SHA 443afc9View commit details -
eth/tracers: implement debug.intermediateRoots (ethereum#23594)
This PR implements a new debug method, which I've talked briefly about to some other client developers. It allows the caller to obtain the intermediate state roots for a block (which might be either a canon block or a 'bad' block).
Configuration menu - View commit details
-
Copy full SHA for ab2caae - Browse repository at this point
Copy the full SHA ab2caaeView commit details -
core/rawdb: avoid unnecessary receipt processing for log filtering (e…
…thereum#23147) * core/types: rm extranous check in test * core/rawdb: add lightweight types for block logs * core/rawdb,eth: use lightweight accessor for log filtering * core/rawdb: add bench for decoding into rlpLogs
Configuration menu - View commit details
-
Copy full SHA for 783e97e - Browse repository at this point
Copy the full SHA 783e97eView commit details -
accounts/abi/bind: check event signature before parsing (ethereum#23230)
* accounts/abi/bind: check event signature before parsing * remove redundant break line
Configuration menu - View commit details
-
Copy full SHA for 92c5d10 - Browse repository at this point
Copy the full SHA 92c5d10View commit details -
eth/tracers: avoid unsyncronized mutations on trie database (ethereum…
…#23632) This PR fixes an issue in traceChain, where the statedb Commit operation was performed asynchronously with dereference-operations agains the underlying trie.Database instance. Due to how the reference counting works within the trie database (where parent count is recursively updated when new parents are added), doing dereferencing in the middle of Commit can cause the refcount to become wrong, leading to an inconsistent state. This was fixed by doing Commit/Deref from the same routine.
Configuration menu - View commit details
-
Copy full SHA for 3531ca2 - Browse repository at this point
Copy the full SHA 3531ca2View commit details -
eth/protocols/eth: simplify peer known block/txs caches (ethereum#23649)
* Simplify peer known block/txns cache * Address minor changes * Add more minor comments * Minor changes from review
Configuration menu - View commit details
-
Copy full SHA for a541fbe - Browse repository at this point
Copy the full SHA a541fbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42bc194 - Browse repository at this point
Copy the full SHA 42bc194View commit details
Commits on Sep 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3a6fe69 - Browse repository at this point
Copy the full SHA 3a6fe69View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae3b19 - Browse repository at this point
Copy the full SHA eae3b19View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7a5ca37 - Browse repository at this point
Copy the full SHA 7a5ca37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9b33a - Browse repository at this point
Copy the full SHA 4a9b33aView commit details
Commits on Feb 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab55698 - Browse repository at this point
Copy the full SHA ab55698View commit details