-
Notifications
You must be signed in to change notification settings - Fork 222
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 geth #1095
Merge geth #1095
Commits on Feb 15, 2023
-
ethdb/pebble: Fix
MemTableStopWritesThreshold
(#26692)MemTableStopWritesThreshold was set to the max size of all memtables before blocking writing but should be set to the max number of memtables. This is documented [here](https://github.com/cockroachdb/pebble/blob/master/options.go#L738-L742).
Configuration menu - View commit details
-
Copy full SHA for 5967a22 - Browse repository at this point
Copy the full SHA 5967a22View commit details -
eth/downloader: handle missing withdrawals if empty list is expected …
…(#26675) This PR relaxes the block body ingress handling a bit: if block body withdrawals are missing (but expected to be empty), the body withdrawals are set to 'empty list' before being passed to upper layers. This fixes an issue where a block passed from EthereumJS to geth was deemed invalid.
Configuration menu - View commit details
-
Copy full SHA for 7fb42e6 - Browse repository at this point
Copy the full SHA 7fb42e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18b641b - Browse repository at this point
Copy the full SHA 18b641bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 194b5c9 - Browse repository at this point
Copy the full SHA 194b5c9View commit details
Commits on Feb 16, 2023
-
travis, build: update Go to 1.20.1 (#26653)
travis, build: update Go to 1.20
Configuration menu - View commit details
-
Copy full SHA for 5ccc99b - Browse repository at this point
Copy the full SHA 5ccc99bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08bf8a6 - Browse repository at this point
Copy the full SHA 08bf8a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 645e3e8 - Browse repository at this point
Copy the full SHA 645e3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d7de7 - Browse repository at this point
Copy the full SHA 13d7de7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d4249 - Browse repository at this point
Copy the full SHA e9d4249View commit details -
all: remove deprecated uses of math.rand (#26710)
This PR is a (superior) alternative to ethereum/go-ethereum#26708, it handles deprecation, primarily two specific cases. `rand.Seed` is typically used in two ways - `rand.Seed(time.Now().UnixNano())` -- we seed it, just to be sure to get some random, and not always get the same thing on every run. This is not needed, with global seeding, so those are just removed. - `rand.Seed(1)` this is typically done to ensure we have a stable test. If we rely on this, we need to fix up the tests to use a deterministic prng-source. A few occurrences like this has been replaced with a proper custom source. `rand.Read` has been replaced by `crypto/rand`.`Read` in this PR.
Configuration menu - View commit details
-
Copy full SHA for 4d35256 - Browse repository at this point
Copy the full SHA 4d35256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7696106 - Browse repository at this point
Copy the full SHA 7696106View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40c109 - Browse repository at this point
Copy the full SHA b40c109View commit details
Commits on Feb 17, 2023
-
eth/catalyst: send INVALID instead of INVALID_BLOCK_HASH (#26696)
This change will break one hive test, but pass another and it will be the better way going forward
Configuration menu - View commit details
-
Copy full SHA for 6428663 - Browse repository at this point
Copy the full SHA 6428663View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d63bc - Browse repository at this point
Copy the full SHA a0d63bcView commit details -
eth/catalyst: request too large error (#26722)
The method `GetPayloadBodiesByRangeV1` now returns "-38004: Too large request" error if the requested range is too large, according to spec Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 15e5e61 - Browse repository at this point
Copy the full SHA 15e5e61View commit details
Commits on Feb 19, 2023
-
core/trie: remove trie tracer (#26665)
This PR contains a small portion of the full pbss PR, namely Remove the tracer from trie (and comitter), and instead using an accessList. Related changes to the Nodeset. --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7c749c9 - Browse repository at this point
Copy the full SHA 7c749c9View commit details -
rpc: fix unmarshaling of null result in CallContext (#26723)
The change fixes unmarshaling of JSON null results into json.RawMessage. --------- Co-authored-by: Jason Yuan <jason.yuan@curvegrid.com> Co-authored-by: Jason Yuan <jason.yuan869@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1db978c - Browse repository at this point
Copy the full SHA 1db978cView commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2166c86 - Browse repository at this point
Copy the full SHA 2166c86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e2781 - Browse repository at this point
Copy the full SHA e1e2781View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ec4235 - Browse repository at this point
Copy the full SHA 4ec4235View commit details -
Configuration menu - View commit details
-
Copy full SHA for a43efce - Browse repository at this point
Copy the full SHA a43efceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1652684 - Browse repository at this point
Copy the full SHA 1652684View commit details -
Configuration menu - View commit details
-
Copy full SHA for c02334b - Browse repository at this point
Copy the full SHA c02334bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4519054 - Browse repository at this point
Copy the full SHA 4519054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41dee26 - Browse repository at this point
Copy the full SHA 41dee26View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba4267f - Browse repository at this point
Copy the full SHA ba4267fView commit details -
Revert "core/trie: remove trie tracer (#26665)" (#26732)
This reverts commit 7c749c9.
Configuration menu - View commit details
-
Copy full SHA for 13ef21d - Browse repository at this point
Copy the full SHA 13ef21dView commit details
Commits on Feb 21, 2023
-
cmd/geth: clarify dumpconfig options (#26729)
Clarifies the documentation around dumpconfi Signed-off-by: Sungwoo Kim <git@sung-woo.kim>
Configuration menu - View commit details
-
Copy full SHA for 7d4db69 - Browse repository at this point
Copy the full SHA 7d4db69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d2551 - Browse repository at this point
Copy the full SHA 90d2551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2d126 - Browse repository at this point
Copy the full SHA 6d2d126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f20fd3 - Browse repository at this point
Copy the full SHA 2f20fd3View commit details -
all: use unified emptyRootHash and emptyCodeHash (#26718)
The EmptyRootHash and EmptyCodeHash are defined everywhere in the codebase, this PR replaces all of them with unified one defined in core/types package, and also defines constants for TxRoot, WithdrawalsRoot and UncleRoot
Configuration menu - View commit details
-
Copy full SHA for fe01a2f - Browse repository at this point
Copy the full SHA fe01a2fView commit details
Commits on Feb 22, 2023
-
eth/filters: fix a breaking change and return rpctransaction (#26757)
* eth/filters: fix a breaking change and return rpctransaction * eth/filters: fix test cases --------- Co-authored-by: Catror <me@catror.com>
Configuration menu - View commit details
-
Copy full SHA for 4034c67 - Browse repository at this point
Copy the full SHA 4034c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for f86f048 - Browse repository at this point
Copy the full SHA f86f048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73b01f4 - Browse repository at this point
Copy the full SHA 73b01f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a7cc6 - Browse repository at this point
Copy the full SHA f6a7cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a36c68f - Browse repository at this point
Copy the full SHA a36c68fView commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 09a9ccd - Browse repository at this point
Copy the full SHA 09a9ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3ae073 - Browse repository at this point
Copy the full SHA b3ae073View commit details -
Merge pull request #26721 from holiman/nocover
ci: disable coverage reporting in appveyor and travis
Configuration menu - View commit details
-
Copy full SHA for ee530c0 - Browse repository at this point
Copy the full SHA ee530c0View commit details
Commits on Feb 27, 2023
-
cmd/devp2p: faster crawling + less verbose dns updates (#26697)
This improves the speed of DHT crawling by using concurrent requests. It also removes logging of individual DNS updates.
Configuration menu - View commit details
-
Copy full SHA for c155c8e - Browse repository at this point
Copy the full SHA c155c8eView commit details
Commits on Feb 28, 2023
-
eth/tracers: add native flatCallTracer (aka parity style tracer) (#26…
…377) Adds support for a native call tracer with the Parity format, which outputs call frames in a flat array. This tracer accepts the following options: - `convertParityErrors: true` will convert error messages to match those of Parity - `includePrecompiles: true` will report all calls to precompiles. The default matches Parity's behavior where CALL and STATICCALLs to precompiles are excluded Incompatibilities with Parity include: - Parity removes the result object in case of failure. This behavior is maintained with the exception of reverts. Revert output usually contains useful information, i.e. Solidity revert reason. - The `gasUsed` field accounts for intrinsic gas (e.g. 21000 for simple transfers) and refunds unlike Parity - Block rewards are not reported Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2ad150d - Browse repository at this point
Copy the full SHA 2ad150dView commit details -
core: improve withdrawal index assignment in GenerateChain (#26756)
This fixes an issue where the withdrawal index was not calculated correctly for multiple withdrawals in a single block. Co-authored-by: Gary Rong <garyrong0905@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 2ea48f8 - Browse repository at this point
Copy the full SHA 2ea48f8View commit details -
ethdb/pebble: fix range compaction (#26771)
* ethdb/pebble: fix range compaction * ethdb/pebble: add comment
Configuration menu - View commit details
-
Copy full SHA for 98b0ea6 - Browse repository at this point
Copy the full SHA 98b0ea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb622c - Browse repository at this point
Copy the full SHA 2bb622cView commit details -
ethclient: include withdrawals in ethclient block responses (#26778)
* include withdrawals in ethclient responses * omit empty withdrawals array in json serialization
Configuration menu - View commit details
-
Copy full SHA for e1b98f4 - Browse repository at this point
Copy the full SHA e1b98f4View commit details
Commits on Mar 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cd31f2d - Browse repository at this point
Copy the full SHA cd31f2dView commit details
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 19f74fa - Browse repository at this point
Copy the full SHA 19f74faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0101895 - Browse repository at this point
Copy the full SHA 0101895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 403cac7 - Browse repository at this point
Copy the full SHA 403cac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e5982 - Browse repository at this point
Copy the full SHA 27e5982View commit details
Commits on Mar 6, 2023
-
core, params: schedule Shanghai on goerli (#26795)
* core: params: schedule Shanghai on goerli * core/forkid: fix comment
Configuration menu - View commit details
-
Copy full SHA for d865a5d - Browse repository at this point
Copy the full SHA d865a5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c23fe9 - Browse repository at this point
Copy the full SHA 4c23fe9View commit details -
core/types: add EffectiveGasPrice in Receipt (#26713)
This change adds a struct field EffectiveGasPrice in types.Receipt. The field is present in RPC responses, but not in the Go struct, and thus can't easily be accessed via ethclient. Co-authored-by: PulsarAI <dev@pulsar-systems.fi>
Configuration menu - View commit details
-
Copy full SHA for 8718614 - Browse repository at this point
Copy the full SHA 8718614View commit details -
core, eth/catalyst: fix race conditions in tests (#26790)
Fixes a race in TestNewPayloadOnInvalidTerminalBlock where setting the TTD raced with the miner. Solution: set the TTD on the blockchain config not the genesis config. Also fixes a race in CopyHeader which resulted in race reports all over the place.
Configuration menu - View commit details
-
Copy full SHA for 5bc2ef9 - Browse repository at this point
Copy the full SHA 5bc2ef9View commit details -
metrics: improve accuracy of CPU gauges (#26793)
This PR changes metrics collection to actually measure the time interval between collections, rather than assume 3 seconds. I did some ad hoc profiling, and on slower hardware (eg, my Raspberry Pi 4) I routinely saw intervals between 3.3 - 3.5 seconds, with some being as high as 4.5 seconds. This will generally cause the CPU gauge readings to be too high, and in some cases can cause impossibly large values for the CPU load metrics (eg. greater than 400 for a 4 core CPU). --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 544e4a7 - Browse repository at this point
Copy the full SHA 544e4a7View commit details
Commits on Mar 7, 2023
-
ethclient: fix panic when requesting missing blocks (#26817)
This fixes a regression introduced by #26723. Fixes #26816.
Configuration menu - View commit details
-
Copy full SHA for 4688d3c - Browse repository at this point
Copy the full SHA 4688d3cView commit details -
core, miner: revert block gas counter in case of invalid transaction …
…(#26799) This change fixes a flaw where, in certain scenarios, the block sealer did not accurately reset the remaining gas after failing to include an invalid transaction. Fixes #26791
Configuration menu - View commit details
-
Copy full SHA for 77e33e5 - Browse repository at this point
Copy the full SHA 77e33e5View commit details -
internal/ethapi: add tests for transaction types JSON marshal/unmarsh…
…al (#26667) Checks that Transaction.MarshalJSON and newRPCTransaction JSON output can be parsed by Transaction.UnmarshalJSON --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 39be753 - Browse repository at this point
Copy the full SHA 39be753View commit details -
cmd/evm: correct
alloc
fort8n
testdata (#26822)Fixes a minor error in the testdata
Configuration menu - View commit details
-
Copy full SHA for cb1f6bd - Browse repository at this point
Copy the full SHA cb1f6bdView commit details -
eth/tracers/native: set created address to nil in case of failure (#2…
…6779) Fixes #26073
Configuration menu - View commit details
-
Copy full SHA for 41af42e - Browse repository at this point
Copy the full SHA 41af42eView commit details -
accounts/usbwallet: mitigate ledger app chunking issue (#26773)
This PR mitigates an issue with Ledger's on-device RLP deserialization, see LedgerHQ/app-ethereum#409 Ledger's RLP deserialization code does not validate the length of the RLP list received, and it may prematurely enter the signing flow when a APDU chunk boundary falls immediately before the EIP-155 chain_id when deserializing a transaction. Since the chain_id is uninitialized, it is 0 during this signing flow. This may cause the user to accidentally sign the transaction with chain_id = 0. That signature would be returned from the device 1 packet earlier than expected by the communication loop. The device blocks the second-to-last packet waiting for the signer flow, and then errors on the successive packet (which contains the chain_id, zeroed r, and zeroed s) Since the signature's early arrival causes successive errors during the communication process, geth does not parse the improper signature produced by the device, and therefore no improperly-signed transaction can be created. User funds are not at risk. We mitigate by selecting the highest chunk size that leaves at least 4 bytes in the final chunk.
Configuration menu - View commit details
-
Copy full SHA for 1e3177d - Browse repository at this point
Copy the full SHA 1e3177dView commit details -
beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies…
… (#26698) This ensures the "withdrawals" field will always be present in responses to getPayloadBodiesByRangeV1 and getPayloadBodiesByHashV1. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 78429f7 - Browse repository at this point
Copy the full SHA 78429f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54d91a - Browse repository at this point
Copy the full SHA a54d91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed08c4 - Browse repository at this point
Copy the full SHA 5ed08c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb4ac2d - Browse repository at this point
Copy the full SHA bb4ac2dView commit details
Commits on Mar 8, 2023
-
core/rawdb: find smallest block stored in key-value store when chain …
…gapped (#26719) This change prints out more information about the problem, in the case where geth detects a gap between leveldb and ancients, so we can determine more exactly where the gap is (what the first missing is). Also prints out more metadata. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for f7661a6 - Browse repository at this point
Copy the full SHA f7661a6View commit details -
signer/core: accept all solidity primitive types for EIP-712 signing …
…(#26770) Accept all primitive types in Solidity for EIP-712 from intN, uintN, intN[], uintN[] for N as 0 to 256 in multiples of 8 --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 02796f6 - Browse repository at this point
Copy the full SHA 02796f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e14043d - Browse repository at this point
Copy the full SHA e14043dView commit details -
core/vm: use golang native big.Int (#26834)
reverts #26021, to use the upstream bigint instead.
Configuration menu - View commit details
-
Copy full SHA for b80f05b - Browse repository at this point
Copy the full SHA b80f05bView commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1bf1168 - Browse repository at this point
Copy the full SHA 1bf1168View commit details -
core/forkid: fix issue in validation test (#26544)
This changes the test to match the comment description. Using timestampedConfig in this test case is incorrect, the comment says 'local is at Gray Glacier' and isn't aware of more forks.
Configuration menu - View commit details
-
Copy full SHA for 5395362 - Browse repository at this point
Copy the full SHA 5395362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f6a2a - Browse repository at this point
Copy the full SHA 08f6a2aView commit details -
core, core/types: plain Message struct (#25977)
Here, the core.Message interface turns into a plain struct and types.Message gets removed. This is a breaking change to packages core and core/types. While we do not promise API stability for package core, we do for core/types. An exception can be made for types.Message, since it doesn't have any purpose apart from invoking the state transition in package core. types.Message was also marked deprecated by the same commit it got added in, 4dca5d4 (November 2016). The core.Message interface was added in December 2014, in commit db49417, for the purpose of 'testing' state transitions. It's the same change that made transaction struct fields private. Before that, the state transition used *types.Transaction directly. Over time, multiple implementations of the interface accrued across different packages, since constructing a Message is required whenever one wants to invoke the state transition. These implementations all looked very similar, a struct with private fields exposing the fields as accessor methods. By changing Message into a struct with public fields we can remove all these useless interface implementations. It will also hopefully simplify future changes to the type with less updates to apply across all of go-ethereum when a field is added to Message. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 67ac5f0 - Browse repository at this point
Copy the full SHA 67ac5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for df02799 - Browse repository at this point
Copy the full SHA df02799View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 051493d - Browse repository at this point
Copy the full SHA 051493dView commit details -
core: add Timestamp method in BlockGen (#26844)
Since forks are now scheduled by block time, it can be necessary to check the timestamp of a block while generating transactions.
Configuration menu - View commit details
-
Copy full SHA for 564db9a - Browse repository at this point
Copy the full SHA 564db9aView commit details -
core/txpool: implement additional DoS defenses (#26648)
This adds two new rules to the transaction pool: - A future transaction can not evict a pending transaction. - A transaction can not overspend available funds of a sender. --- Co-authored-by: dwn1998 <42262393+dwn1998@users.noreply.github.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 6cf2e92 - Browse repository at this point
Copy the full SHA 6cf2e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e3b149 - Browse repository at this point
Copy the full SHA 7e3b149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4930614 - Browse repository at this point
Copy the full SHA 4930614View commit details -
Configuration menu - View commit details
-
Copy full SHA for 789de23 - Browse repository at this point
Copy the full SHA 789de23View commit details
Commits on Mar 13, 2023
-
code/vm: fix comment typo (#26865)
it should be constantinople rather than contantinople
Configuration menu - View commit details
-
Copy full SHA for ca61048 - Browse repository at this point
Copy the full SHA ca61048View commit details -
core: minor code refactor (#26852)
* core: refactor code * core: drop it from this anonymous goroutine func
Configuration menu - View commit details
-
Copy full SHA for a20e387 - Browse repository at this point
Copy the full SHA a20e387View commit details -
core/txpool: use priceList.Put instead of heap.Push (#26863)
Minor refactor to use the 'intended' accessor
Configuration menu - View commit details
-
Copy full SHA for d1c5f91 - Browse repository at this point
Copy the full SHA d1c5f91View commit details -
eth: return error if 'safe' or 'finalized' tag used pre-merge (#26862)
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 5f81db6 - Browse repository at this point
Copy the full SHA 5f81db6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ff721 - Browse repository at this point
Copy the full SHA 94ff721View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c8a6b71 - Browse repository at this point
Copy the full SHA c8a6b71View commit details -
p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699)
This makes it possible to run another protocol alongside discv5, by reading unhandled packets from the channel.
Configuration menu - View commit details
-
Copy full SHA for eca3d39 - Browse repository at this point
Copy the full SHA eca3d39View commit details -
all: update links in documentation (#26882)
Co-authored-by: Stephen Flynn <stephen.flynn@gapac.com>
Configuration menu - View commit details
-
Copy full SHA for b5c9be3 - Browse repository at this point
Copy the full SHA b5c9be3View commit details -
Increase websocket frame size (from erigon rpc client) (#26883)
This increases the maximum allowed message size to 32MB. Originally submitted at erigontech/erigon#2739 example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal
Configuration menu - View commit details
-
Copy full SHA for 6bc68f8 - Browse repository at this point
Copy the full SHA 6bc68f8View commit details
Commits on Mar 15, 2023
-
cmd/devp2p, cmd/geth: add version in --help output (#26895)
Not sure why this was removed, it's pretty useful to see the version also in --help.
Configuration menu - View commit details
-
Copy full SHA for f86913b - Browse repository at this point
Copy the full SHA f86913bView commit details
Commits on Mar 16, 2023
-
core: show db error-info in case of mismatched hash root (#26870)
When a database failure occurs, bubble it up a into statedb, and report it in suitable places, such as during a 'bad block' report.
Configuration menu - View commit details
-
Copy full SHA for bba2a1b - Browse repository at this point
Copy the full SHA bba2a1bView commit details -
consensus: improve consensus engine definition (#26871)
Makes clear the distinction between Finalize and FinalizedAndAssemble: - In Finalize function, a series of state operations are applied according to consensus rules. The statedb is mutated and the root hash can be checked and compared afterwards. This function should be used in block processing(receive afrom network and apply it locally) but not block generation. - In FinalizeAndAssemble function, after applying state mutations, the block is also to be assembled with the latest state root computed, updating the header. This function should be used in block generation only.
Configuration menu - View commit details
-
Copy full SHA for 48d1bf0 - Browse repository at this point
Copy the full SHA 48d1bf0View commit details -
eth/catalyst: increase update consensus timeout (#26840)
Increases the time between consensus updates that we give the CL before we start warning the user.
Configuration menu - View commit details
-
Copy full SHA for d8066dc - Browse repository at this point
Copy the full SHA d8066dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f733657 - Browse repository at this point
Copy the full SHA f733657View commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b7bfbc1 - Browse repository at this point
Copy the full SHA b7bfbc1View commit details -
rlp: support for uint256 (#26898)
This adds built-in support in package rlp for encoding, decoding and generating code dealing with uint256.Int. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 58d0f64 - Browse repository at this point
Copy the full SHA 58d0f64View commit details -
eth: fix output file permissions in admin_exportChain (#26912)
* api: Use 0700 file permissions for ExportChain * change perm to 0644 * Update api.go --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for ee8e83f - Browse repository at this point
Copy the full SHA ee8e83fView commit details
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 81b0aa0 - Browse repository at this point
Copy the full SHA 81b0aa0View commit details -
core/txpool: use atomic int added in go1.19 (#26913)
Makes use of atomic.Uint64 instead of atomic by pointer
Configuration menu - View commit details
-
Copy full SHA for 80ff0b4 - Browse repository at this point
Copy the full SHA 80ff0b4View commit details -
params: schedule shanghai fork on mainnet (#26908)
Schedules the shanghai hardfork on timestamp 1681338455 as discussed on ACDE 157: ethereum/execution-specs#727
Configuration menu - View commit details
-
Copy full SHA for 5d23d21 - Browse repository at this point
Copy the full SHA 5d23d21View commit details -
core/txpool: allow future local transactions (#26930)
Local transactions should not be subject to the "future shouldn't churn pending txs" rule
Configuration menu - View commit details
-
Copy full SHA for e6b6a8b - Browse repository at this point
Copy the full SHA e6b6a8bView commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a38f410 - Browse repository at this point
Copy the full SHA a38f410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecb578 - Browse repository at this point
Copy the full SHA 7ecb578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed8013 - Browse repository at this point
Copy the full SHA 2ed8013View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a9a73c - Browse repository at this point
Copy the full SHA 8a9a73cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 905a723 - Browse repository at this point
Copy the full SHA 905a723View commit details -
core/vm: expose jumptable constructors (#26880)
When interacting with geth as a library to e.g. produce state tests, it is desirable to obtain the consensus-correct jumptable definition for a given fork. This changes adds accessors so the instructionset can be obtained and characteristics about opcodes can be inspected.
Configuration menu - View commit details
-
Copy full SHA for b3f43c8 - Browse repository at this point
Copy the full SHA b3f43c8View commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 20f8eb7 - Browse repository at this point
Copy the full SHA 20f8eb7View commit details
Commits on Mar 23, 2023
-
core/rawdb: update freezertable read meter (#26946)
The meter for "for measuring the effective amount of data read" within the freezertable was never updated. This change remedies that. --------- Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7f3fc15 - Browse repository at this point
Copy the full SHA 7f3fc15View commit details -
cmd/evm, tests: record preimages if dump is expected (#26955)
With #25287 we made it so that preimages were not recorded by default. This had the side effect that the evm command is no longer able to dump state since it does a preimage lookup to determine the address represented by a key. This change enables the recording of preimages when the dump command is given.
Configuration menu - View commit details
-
Copy full SHA for 37ecff0 - Browse repository at this point
Copy the full SHA 37ecff0View commit details -
core/state: add account address to Trie slot accessors (#26934)
This changes the Trie interface to add the plain account address as a parameter to all storage-related methods. After the introduction of the TryAccount* functions, TryGet, TryUpdate and TryDelete are now only meant to read an account's storage. In their current form, they assume that an account storage is stored in a separate trie, and that the hashing of the slot is independent of its account's address. The proposed structure for a stateless storage breaks these two assumptions: the hashing of a slot key requires the address and all slots and accounts are stored in a single trie. This PR therefore adds an address parameter to the interface. It is ignored in the MPT version, so this change has no functional impact, however it will reduce the diff size when merging verkle trees.
Configuration menu - View commit details
-
Copy full SHA for 8990c92 - Browse repository at this point
Copy the full SHA 8990c92View commit details -
metrics: add cpu counters (#26796)
This PR adds counter metrics for the CPU system and the Geth process. Currently the only metrics available for these items are gauges. Gauges are fine when the consumer scrapes metrics data at the same interval as Geth produces new values (every 3 seconds), but it is likely that most consumers will not scrape that often. Intervals of 10, 15, or maybe even 30 seconds are probably more common. So the problem is, how does the consumer estimate what the CPU was doing in between scrapes. With a counter, it's easy ... you just subtract two successive values and divide by the time to get a nice, accurate average. But with a gauge, you can't do that. A gauge reading is an instantaneous picture of what was happening at that moment, but it gives you no idea about what was going on between scrapes. Taking an average of values is meaningless.
Configuration menu - View commit details
-
Copy full SHA for 7dc1007 - Browse repository at this point
Copy the full SHA 7dc1007View commit details -
metrics/influxdb: use smaller dependency and reuse code between v1 an…
…d v2 reporters (#26963) This change switches to use the smaller influxdata/influxdb1-client package instead of depending on the whole infuxdb package. The new smaller client is very similar to the influxdb-v2 client, which made it possible to refactor the two reporters to reuse code a lot more.
Configuration menu - View commit details
-
Copy full SHA for f6c3a53 - Browse repository at this point
Copy the full SHA f6c3a53View commit details -
eth/gasprice: change feehistory input type from int to uint64 (#26922)
Change input param type from int to uint64
Configuration menu - View commit details
-
Copy full SHA for b1acaf4 - Browse repository at this point
Copy the full SHA b1acaf4View commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0137bd6 - Browse repository at this point
Copy the full SHA 0137bd6View commit details -
rlp/rlpgen: print want/expect output string if mismatch (#26932)
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Configuration menu - View commit details
-
Copy full SHA for 792d893 - Browse repository at this point
Copy the full SHA 792d893View commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df383ad - Browse repository at this point
Copy the full SHA df383adView commit details
Commits on Mar 27, 2023
-
core/state, trie: remove Try prefix in Trie accessors (#26975)
This change renames StateTrie methods to remove the Try* prefix. We added the Trie methods with prefix 'Try' a long time ago, working around the problem that most existing methods of Trie did not return the database error. This weird naming convention has persisted until now. Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 41f89ca - Browse repository at this point
Copy the full SHA 41f89caView commit details -
metrics/librato: ensure resp.body closed (#26969)
This change ensures that we call Close on a http response body, in various places in the source code (mostly tests)
Configuration menu - View commit details
-
Copy full SHA for 117530b - Browse repository at this point
Copy the full SHA 117530bView commit details -
core/vm: use atomic.Bool (#26951)
Make use of new atomic types --------- Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 881fed0 - Browse repository at this point
Copy the full SHA 881fed0View commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 79532a2 - Browse repository at this point
Copy the full SHA 79532a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8a3aa - Browse repository at this point
Copy the full SHA fb8a3aaView commit details -
graphql: fix data races (#26965)
Fixes multiple data races caused by the fact that resolving fields are done concurrently by the graphql library. It also enforces caching at the stateobject level for account fields.
Configuration menu - View commit details
-
Copy full SHA for a236e03 - Browse repository at this point
Copy the full SHA a236e03View commit details -
eth/tracers/native: prevent panic for LOG edge-cases (#26848)
This PR fixes OOM panic in the callTracer as well as panicing on opcode validation errors (e.g. stack underflow) in callTracer and prestateTracer. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for fd94b4f - Browse repository at this point
Copy the full SHA fd94b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c1f98 - Browse repository at this point
Copy the full SHA 56c1f98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca4f60 - Browse repository at this point
Copy the full SHA 7ca4f60View commit details
Commits on Mar 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a03490c - Browse repository at this point
Copy the full SHA a03490cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 949cee2 - Browse repository at this point
Copy the full SHA 949cee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62fb7d3 - Browse repository at this point
Copy the full SHA 62fb7d3View commit details -
cmd/geth: Add
--log.format
cli param (#27001)Removes the new --log.logfmt directive and hides --log.json, replacing both with log.format=(json|logfmt|terminal). The hidden log.json option is still respected if log.format is not specified for backwards compatibility. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 2d14928 - Browse repository at this point
Copy the full SHA 2d14928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50317bd - Browse repository at this point
Copy the full SHA 50317bdView commit details -
common: fix json marshaller MixedcaseAddress (#26998)
Fix the json marshaller of MixedcaseAddress
Configuration menu - View commit details
-
Copy full SHA for 9ce0474 - Browse repository at this point
Copy the full SHA 9ce0474View commit details -
eth/catalyst: improve consensus heartbeat (#26896)
improve the heartbeat function that is no longer suitable in the current situation Co-authored-by: “openex27” <“openexkevin@gmail.com”>
Configuration menu - View commit details
-
Copy full SHA for d0fbb10 - Browse repository at this point
Copy the full SHA d0fbb10View commit details
Commits on Mar 31, 2023
-
miner: use atomic type (#27013)
Use the new typed atomics in the miner package
Configuration menu - View commit details
-
Copy full SHA for b92d0ea - Browse repository at this point
Copy the full SHA b92d0eaView commit details -
accounts/abi/bind: handle UnpackLog with zero topics (#26920)
Adds error handling for the case that UnpackLog or UnpackLogIntoMap is called with a log that has zero topics. --------- Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 00a73fb - Browse repository at this point
Copy the full SHA 00a73fbView commit details
Commits on Apr 3, 2023
-
cmd/evm: use correct parent number for t8n base fee calculation (#27032)
Currently the t8n tool uses the same block number for the current block and its parent while calculating the base fee. This causes incorrect base fee calculation for the london fork block. This commit sets the parent block number to be one less than the current block number
Configuration menu - View commit details
-
Copy full SHA for bed07cd - Browse repository at this point
Copy the full SHA bed07cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc2f4b9 - Browse repository at this point
Copy the full SHA dc2f4b9View commit details -
common: delete MakeName (#27023)
common,p2p: remove unused function MakeName
Configuration menu - View commit details
-
Copy full SHA for 2c57984 - Browse repository at this point
Copy the full SHA 2c57984View commit details -
cmd/geth: enable log rotation (#26843)
This change enables log rotation, which can be activated using the flag --log.rotate. Additional parameters that can be given are: - log.maxsize to set maximum size before files are rotated, - log.maxbackups to set how many files are retailed, - log.maxage to configure max age of rotated files, - log.compress whether to compress rotated files The way to configure location of the logfile(s) is left unchanged, via the `log.logfile` parameter. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 7076ae0 - Browse repository at this point
Copy the full SHA 7076ae0View commit details -
cmd, miner, signer: avoid panic if keystore is not available (#27039)
* cmd, miner, singer: avoid panic if keystore is not available * cmd/geth: print warning instead of panic
Configuration menu - View commit details
-
Copy full SHA for 94457cc - Browse repository at this point
Copy the full SHA 94457ccView commit details -
test/fuzzers: fuzz rlp handling of big.Int and uint256.Int (#26917)
test/fuzzers: fuzz rlp handling of big.Lnt and uint256.Int
Configuration menu - View commit details
-
Copy full SHA for a25dd80 - Browse repository at this point
Copy the full SHA a25dd80View commit details -
core/txpool: move some validation to outside of mutex (#27006)
Currently, most of transaction validation while holding the txpool mutex: one exception being an early-on signature check. This PR changes that, so that we do all non-stateful checks before we entering the mutex area. This means they can be performed in parallel, and to enable that, certain fields have been made atomic bools and uint64.
Configuration menu - View commit details
-
Copy full SHA for beda6c4 - Browse repository at this point
Copy the full SHA beda6c4View commit details -
eth/downloader: use atomic types (#27030)
* eth/downloader: use atomic type * Update eth/downloader/downloader_test.go Co-authored-by: Martin Holst Swende <martin@swende.se> * Update eth/downloader/downloader_test.go 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 db18293 - Browse repository at this point
Copy the full SHA db18293View commit details
Commits on Apr 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9b1a82c - Browse repository at this point
Copy the full SHA 9b1a82cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91faf2c - Browse repository at this point
Copy the full SHA 91faf2cView commit details -
consensus/misc, params: add EIP-4844 blobfee conversions (#27041)
* consensus/misc, params: add EIP-4844 blobfee conversions * consensus/misc: pull in fakeExponential test cases * consensus/misc: reuse bigints * consensus/misc: nit renames, additional larger testcase --------- Co-authored-by: Roberto Bayardo <bayardo@alum.mit.edu> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for d2cf493 - Browse repository at this point
Copy the full SHA d2cf493View commit details -
eth/tracers: report correct gasLimit in call tracers (#27029)
This includes a semantic change to the `callTracer` as well as `flatCallTracer`. The value of field `gas` in the **first** call frame will change as follows: - It previously contained gas available after initial deductions (i.e. tx costs) - It will now contain the full tx gasLimit value Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b76eb3 - Browse repository at this point
Copy the full SHA 0b76eb3View commit details -
all: remove debug-field from vm config (#27048)
This PR removes the Debug field from vmconfig, making it so that if a tracer is set, debug=true is implied. --------- Co-authored-by: 0xTylerHolmes <tyler@ethereum.org> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ab1a404 - Browse repository at this point
Copy the full SHA ab1a404View commit details -
metrics: make gauge_float64 and counter_float64 lock free (#27025)
Makes the float-gauges lock-free name old time/op new time/op delta CounterFloat64Parallel-8 1.45µs ±10% 0.85µs ± 6% -41.65% (p=0.008 n=5+5) --------- Co-authored-by: Exca-DK <dev@DESKTOP-RI45P4J.localdomain> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for b4dcd1a - Browse repository at this point
Copy the full SHA b4dcd1aView commit details -
eth/tracers: use atomic type (#27031)
Use the new atomic types in package eth/tracers --------- Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2adce0b - Browse repository at this point
Copy the full SHA 2adce0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d37102 - Browse repository at this point
Copy the full SHA 9d37102View commit details
Commits on Apr 5, 2023
-
core/txpool: disallow future churn by remote txs (#26907)
Prior to this change, it was possible that transactions are erroneously deemed as 'future' although they are in fact 'pending', causing them to be dropped due to 'future' not being allowed to replace 'pending'. This change fixes that, by doing a more in-depth inspection of the queue.
Configuration menu - View commit details
-
Copy full SHA for 230df98 - Browse repository at this point
Copy the full SHA 230df98View commit details -
core, miner: drop transactions from the same sender when error occurs…
… (#27038) This PR unifies the error handling in miner. Whenever an error occur while applying a transaction, the transaction should be regarded as invalid and all following transactions from the same sender not executable because of the nonce restriction. The only exception is the `nonceTooLow` error which is handled separately.
Configuration menu - View commit details
-
Copy full SHA for b946b7a - Browse repository at this point
Copy the full SHA b946b7aView commit details
Commits on Apr 8, 2023
-
Merge pull request #27051 from sandakersmann/master
build: upgrade -dlgo version to Go 1.20.3
Configuration menu - View commit details
-
Copy full SHA for 4a9fa31 - Browse repository at this point
Copy the full SHA 4a9fa31View commit details
Commits on Apr 17, 2023
-
params: new sepolia bootnodes (#27099)
New sepolia bootnodes managed by EF devops
Configuration menu - View commit details
-
Copy full SHA for 5aa5295 - Browse repository at this point
Copy the full SHA 5aa5295View commit details -
cmd/devp2p: fix erroneous log output in crawler (#27089)
cmd/devp2p: fix log of ignored recent nodes counter
Configuration menu - View commit details
-
Copy full SHA for 8fe807c - Browse repository at this point
Copy the full SHA 8fe807cView commit details -
signer/core: rename testdata files (#27063)
Sets a meaningful name on test-files
Configuration menu - View commit details
-
Copy full SHA for bedf285 - Browse repository at this point
Copy the full SHA bedf285View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb66eba - Browse repository at this point
Copy the full SHA cb66ebaView commit details
Commits on Apr 18, 2023
-
params: remove
EIP150Hash
from chainconfig (#27087)The EIP150Hash was an idea where, after the fork, we hardcoded the forked hash as an extra defensive mechanism. It wasn't really used, since forks weren't contentious and for all the various testnets and private networks it's been a hassle to have around. This change removes that config field. --------- Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5e4d726 - Browse repository at this point
Copy the full SHA 5e4d726View commit details -
Configuration menu - View commit details
-
Copy full SHA for b197262 - Browse repository at this point
Copy the full SHA b197262View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3768b00 - Browse repository at this point
Copy the full SHA 3768b00View commit details
Commits on Apr 19, 2023
-
cmd/devp2p: make crawler-route53-updater less verbose (#27116)
Follow-up to #26697, makes the crawler less verbose on route53-based scenarios. It also changes the loglevel from debug to info on Updates, which are typically the root, and can be interesting to see.
Configuration menu - View commit details
-
Copy full SHA for 2b0a34b - Browse repository at this point
Copy the full SHA 2b0a34bView commit details -
cmd/geth: rename --vmodule to --log.vmodule (#27071)
renames `--vmodule` to `--log.vmodule`, and prints a warning if the old form is used.
Configuration menu - View commit details
-
Copy full SHA for f2df2b1 - Browse repository at this point
Copy the full SHA f2df2b1View commit details
Commits on Apr 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f7afc3 - Browse repository at this point
Copy the full SHA 3f7afc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae93e0b - Browse repository at this point
Copy the full SHA ae93e0bView commit details -
all: refactor trie API (#26995)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned. The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.
Configuration menu - View commit details
-
Copy full SHA for 99f81d2 - Browse repository at this point
Copy the full SHA 99f81d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9e62c - Browse repository at this point
Copy the full SHA ea9e62cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ab4e4f - Browse repository at this point
Copy the full SHA 4ab4e4fView commit details
Commits on Apr 21, 2023
-
core/types, params: add blob transaction type, RLP encoded for now (#…
…27049) * core/types, params: add blob transaction type, RLP encoded for now * all: integrate Cancun (and timestamp based forks) into MakeSigner * core/types: fix 2 back-and-forth type refactors * core: fix review comment * core/types: swap blob tx type id to 0x03
Configuration menu - View commit details
-
Copy full SHA for bbc565a - Browse repository at this point
Copy the full SHA bbc565aView commit details -
cmd/utils, node: switch to Pebble as the default db if none exists (#…
…27136) * cmd/utils, node: switch to Pebble as the default db if none exists * node: fall back to LevelDB on platforms not supporting Pebble * core/rawdb, node: default to Pebble at the node level * cmd/geth: fix some tests explicitly using leveldb * ethdb/pebble: allow double closes, makes tests simpler
Configuration menu - View commit details
-
Copy full SHA for d3ece3a - Browse repository at this point
Copy the full SHA d3ece3aView commit details
Commits on Apr 24, 2023
-
all: remove notion of trusted checkpoints in the post-merge world (#2…
…7147) * all: remove notion of trusted checkpoints in the post-merge world * light: remove unused function * eth/ethconfig, les: remove unused config option * les: make linter happy --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1e556d2 - Browse repository at this point
Copy the full SHA 1e556d2View commit details -
core, trie: rework trie database (#26813)
* core, trie: rework trie database * trie: fix comment
Configuration menu - View commit details
-
Copy full SHA for bbcb5ea - Browse repository at this point
Copy the full SHA bbcb5eaView commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f541cad - Browse repository at this point
Copy the full SHA f541cadView commit details -
p2p/discover: add traffic metrics (#27008)
Co-authored-by: Exca-DK <dev@DESKTOP-RI45P4J.localdomain> Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f8f9534 - Browse repository at this point
Copy the full SHA f8f9534View commit details -
cmd/geth: remove DAO fork test (#27161)
* cmd/geth: fix test to not use explicit db * cmd/geth: remove dao-test
Configuration menu - View commit details
-
Copy full SHA for 9a12cc9 - Browse repository at this point
Copy the full SHA 9a12cc9View commit details -
graphql: encode Long values as hex (#26894)
This is a breaking GraphQL API change. All numeric values are now encoded as hex strings. The motivation for this change is matching JSON-RPC outputs more closely. Numbers in query parameters are accepted as both decimal integers and hex strings.
Configuration menu - View commit details
-
Copy full SHA for 2f98dd3 - Browse repository at this point
Copy the full SHA 2f98dd3View commit details -
eth: fix crash on querying finalized block (#27162)
eth: fix crash on querying nil finalized block
Configuration menu - View commit details
-
Copy full SHA for b1113aa - Browse repository at this point
Copy the full SHA b1113aaView commit details
Commits on Apr 26, 2023
-
trie: add node type common package (#27160)
* trie: add node type common package In trie/types package, a few node wrappers are defined, which will be used in both trie package, trie/snap package, etc. Therefore, a standalone common package is created to put these stuffs. * trie: rename trie/types to trie/trienode
Configuration menu - View commit details
-
Copy full SHA for 5d3f580 - Browse repository at this point
Copy the full SHA 5d3f580View commit details -
core/types: fix discrepancy in receipt.EffectiveGasPrice json encodin…
…g tags (#27114) Regenerate receipt json code to remove omit empty. Previously, there was a discrepancy between the generated code and the source. --------- Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for f8aa623 - Browse repository at this point
Copy the full SHA f8aa623View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f9977 - Browse repository at this point
Copy the full SHA 25f9977View commit details -
light: use atomic type (#27169)
* light: use atomic type * light: use a suitable name for the stopped switch in LightChain
Configuration menu - View commit details
-
Copy full SHA for 306d177 - Browse repository at this point
Copy the full SHA 306d177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66c0c4e - Browse repository at this point
Copy the full SHA 66c0c4eView commit details
Commits on Apr 27, 2023
-
cmd/geth: make account commands not require datadir lock (#27084)
Makes the `geth account ... ` commands usable even if a geth-process is already executing, since the account commands do not read the chaindata, it was not required for those to use the same locking mechanism. --- Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f37322 - Browse repository at this point
Copy the full SHA 8f37322View commit details
Commits on Apr 28, 2023
-
p2p/discover: concurrent TALKREQ handling (#27112)
This changes TALKREQ message processing to run the handler on separate goroutine, instead of running on the main discv5 dispatcher goroutine. It's better this way because it allows the handler to perform blocking actions. I'm also adding a new method TalkRequestToID here. The method allows implementing a request flow where one node A sends TALKREQ to another node B, and node B later sends a TALKREQ back. With TalkRequestToID, node B does not need the ENR of A to send its request.
Configuration menu - View commit details
-
Copy full SHA for 47cdea5 - Browse repository at this point
Copy the full SHA 47cdea5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c387186 - Browse repository at this point
Copy the full SHA c387186View commit details -
Configuration menu - View commit details
-
Copy full SHA for a865e28 - Browse repository at this point
Copy the full SHA a865e28View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 52c246f - Browse repository at this point
Copy the full SHA 52c246fView commit details -
internal/ethapi: add block overrides to eth_call (#26414)
Adds an optional config parameter to eth_call which allows users to override block context fields (same functionality that was added to traceCall in #24871) --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for ae66009 - Browse repository at this point
Copy the full SHA ae66009View commit details -
core/types: go generate (#27196)
Fixes a discrepancy between source and generated files, which was introduced when ExcessDataGas was added in ethereum/go-ethereum#27046.
Configuration menu - View commit details
-
Copy full SHA for a9d7cda - Browse repository at this point
Copy the full SHA a9d7cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1ebe5 - Browse repository at this point
Copy the full SHA 7d1ebe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6c045 - Browse repository at this point
Copy the full SHA 7f6c045View commit details -
graphql, internal: fix typos in comments (#27184)
* ✏️ Fix typos * ⏪️ Revert changes * Update internal/web3ext/web3ext.go --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 29c33d9 - Browse repository at this point
Copy the full SHA 29c33d9View commit details -
accounts/abi: resolve name conflict for methods starting with a numbe…
…r (#26999) This adds logic to prepend 'M' or 'E' to Solidity identifiers when they would otherwise violate Go identifier naming rules. Closes #26972 --------- Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ac3418d - Browse repository at this point
Copy the full SHA ac3418dView commit details
Commits on May 3, 2023
-
all: remove ethash pow, only retain shims needed for consensus and te…
…sts (#27178) * all: remove ethash pow, only retain shims needed for consensus and tests * all: thank you linter * all: disallow launching Geth in legacy PoW mode * cmd/env/internal/t8ntool: remove dangling ethash flag
Configuration menu - View commit details
-
Copy full SHA for dde2da0 - Browse repository at this point
Copy the full SHA dde2da0View commit details
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ffda2c6 - Browse repository at this point
Copy the full SHA ffda2c6View commit details
Commits on May 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 79a57d4 - Browse repository at this point
Copy the full SHA 79a57d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba09403 - Browse repository at this point
Copy the full SHA ba09403View commit details -
eth/tracers: add
txHash
field on txTraceResult (#27183)This PR modifies the interface for the results of `debug_traceBlock` and `debug_traceCall` by adding the `txHash`, allowing users to identify which transaction's trace result corresponds to. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 604e215 - Browse repository at this point
Copy the full SHA 604e215View commit details
Commits on May 8, 2023
-
core/state: initialize maps with known size (#27222)
* core/state : fix map size avoid resizing * core/state : fixed size
Configuration menu - View commit details
-
Copy full SHA for cc8d40c - Browse repository at this point
Copy the full SHA cc8d40cView commit details -
cmd/geth: rename variable 'extapi' (#27223)
rename parameter In this case, the naming of "extapi" might create some confusion. Although it represents an External Signer Backend, its name could be mistaken for an API. In reality, it is a backend instance used for communicating with external signers. A better naming choice could be "extBackend" or "externalBackend" to more accurately describe that it is a backend instance rather than an API.
Configuration menu - View commit details
-
Copy full SHA for 7ac08ba - Browse repository at this point
Copy the full SHA 7ac08baView commit details -
log: report error when ctx key is non-string (#27226)
* log/format.go : invalid string cast fix * log: some polish --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 81d328a - Browse repository at this point
Copy the full SHA 81d328aView commit details
Commits on May 9, 2023
-
all: port boring changes from pbss (#27176)
* all: port boring changes from pbss * core, trie: address comments from martin * trie: minor fixes * core/rawdb: update comment * core, eth, tests, trie: address comments * tests, trie: add extra check when update trie database * trie/triedb/hashdb: degrade the error to warning
Configuration menu - View commit details
-
Copy full SHA for 5021d36 - Browse repository at this point
Copy the full SHA 5021d36View commit details -
miner: initialize maps with capacity (#27228)
* miner : initialize maps with known size * miner:some reverts
Configuration menu - View commit details
-
Copy full SHA for c798507 - Browse repository at this point
Copy the full SHA c798507View commit details -
cmd/utils: report the blocknumber when block import fails (#27213)
When block import fails, the error displays the number of the first block past the import batch, not the number of the failing block. This change fixes this problem by identifying which blocks fails and reporting its number.
Configuration menu - View commit details
-
Copy full SHA for c62da24 - Browse repository at this point
Copy the full SHA c62da24View commit details -
event: initialize maps with known size (#27233)
event: initialize maps with known size
Configuration menu - View commit details
-
Copy full SHA for 0fb1be0 - Browse repository at this point
Copy the full SHA 0fb1be0View commit details
Commits on May 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a742943 - Browse repository at this point
Copy the full SHA a742943View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae7db28 - Browse repository at this point
Copy the full SHA ae7db28View commit details -
crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155)
* cryto/kzg4844: pull in the C and Go libs for KZG cryptography * go.mod: pull in the KZG libraries * crypto/kzg4844: add basic becnhmarks for ballpark numbers * cmd, crypto: integrate both CKZG and GoKZG all the time, add flag * cmd/utils, crypto/kzg4844: run library init on startup * crypto/kzg4844: make linter happy * crypto/kzg4844: push missing file * crypto/kzg4844: fully disable CKZG but leave in the sources * build, crypto/kzg4844, internal: link CKZG by default and with portable mode * crypto/kzg4844: drop verifying the trusted setup in gokzg * internal/build: yolo until it works? * cmd/utils: make flag description friendlier Co-authored-by: Martin Holst Swende <martin@swende.se> * crypto/ckzg: no need for double availability check * build: tiny flag cleanup nitpick --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 2169fa3 - Browse repository at this point
Copy the full SHA 2169fa3View commit details
Commits on May 11, 2023
-
ethclient: acquire the rpc.Client (#27246)
Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c8b0afb - Browse repository at this point
Copy the full SHA c8b0afbView commit details -
ethdb/memorydb: init map with known size (#27241)
ethdb:init map with known size
Configuration menu - View commit details
-
Copy full SHA for d17ec0e - Browse repository at this point
Copy the full SHA d17ec0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7577b9c - Browse repository at this point
Copy the full SHA 7577b9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a143018 - Browse repository at this point
Copy the full SHA a143018View commit details -
Configuration menu - View commit details
-
Copy full SHA for a340721 - Browse repository at this point
Copy the full SHA a340721View commit details -
internal/ethapi: make EstimateGas use
latest
block by default (#24363)* EstimateGas should use LatestBlockNumber by default * graphql: default to use latest for gas estimation --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 0b66d47 - Browse repository at this point
Copy the full SHA 0b66d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for dffd804 - Browse repository at this point
Copy the full SHA dffd804View commit details
Commits on May 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1982437 - Browse repository at this point
Copy the full SHA 1982437View commit details -
crypto/kzg4844: upgrade c-kzg-4844 to v0.2.0 (#27257)
Upgrade c-kzg-4844 to v0.2.0
Configuration menu - View commit details
-
Copy full SHA for 9ca84e6 - Browse repository at this point
Copy the full SHA 9ca84e6View commit details
Commits on May 15, 2023
-
rpc: websocket should respect the "HTTP_PROXY" by default (#27264)
rpc: the default dialer for websocket should respect the proxy environment variables like "HTTP_PROXY"
Configuration menu - View commit details
-
Copy full SHA for 7369752 - Browse repository at this point
Copy the full SHA 7369752View commit details
Commits on May 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c2148c6 - Browse repository at this point
Copy the full SHA c2148c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e3aa86 - Browse repository at this point
Copy the full SHA 6e3aa86View commit details -
tests/fuzzers/bn256: add PairingCheck fuzzer (#27252)
* tests/fuzzers/bn256: scale gnark result by constant * tests/fuzzers/bn256: scale gnark result by constant
Configuration menu - View commit details
-
Copy full SHA for d46f69d - Browse repository at this point
Copy the full SHA d46f69dView commit details -
core/state/snapshot: check difflayer staleness early (#27255)
This PR adds a staleness-check to AccountRLP, before checking the bloom-filter and potentially going directly into the disklayer. --------- Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eb83e7c - Browse repository at this point
Copy the full SHA eb83e7cView commit details
Commits on May 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f2959d - Browse repository at this point
Copy the full SHA 2f2959dView commit details -
internal/ethapi: make NewAccount return EIP-55 format (#26973)
This change implements returning the address as EIP-55 encoded when creating a new account.
Configuration menu - View commit details
-
Copy full SHA for ae1d90e - Browse repository at this point
Copy the full SHA ae1d90eView commit details -
rpc: more accurate checking of handler method signatures (#27287)
This changes the RPC server to ignore methods using *context.Context as parameter and *error as return value type. Methods with such types would crash the server when called.
Configuration menu - View commit details
-
Copy full SHA for 84c3799 - Browse repository at this point
Copy the full SHA 84c3799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fafa4 - Browse repository at this point
Copy the full SHA 41fafa4View commit details -
beacon/types: add beacon chain data types (#27292)
* beacon/types: add beacon chain data types * beacon/merkle: added comments * go.mod: cleanups --------- Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c08dc59 - Browse repository at this point
Copy the full SHA c08dc59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6318b - Browse repository at this point
Copy the full SHA 6a6318bView commit details
Commits on May 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 85a4b82 - Browse repository at this point
Copy the full SHA 85a4b82View commit details -
ethdb/pebble: prevent shutdown-panic (#27238)
One difference between pebble and leveldb is that the latter returns error when performing Get on a closed database, the former does a panic. This may be triggered during shutdown (see #27237) This PR changes the pebble driver so we check that the db is not closed already, for several operations. It also adds tests to the db test-suite, so the previously implicit assumption of "not panic:ing at ops on closed database" is covered by tests.
Configuration menu - View commit details
-
Copy full SHA for 99394ad - Browse repository at this point
Copy the full SHA 99394adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3223950 - Browse repository at this point
Copy the full SHA 3223950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944e1a0 - Browse repository at this point
Copy the full SHA 944e1a0View commit details
Commits on May 22, 2023
-
rpc, internal/cmdtest: increase timeout in tests (#27083)
This change gives the cmd-tests have a bit more time to finish before getting forcibly torn down.
Configuration menu - View commit details
-
Copy full SHA for 6fe0252 - Browse repository at this point
Copy the full SHA 6fe0252View commit details -
graphql: upgrade UI to v2 (#27294)
Upgrades graphiql to v2.4.4. The interface has become much nicer, and there are extra features like tabs, history, dark mode etc. This change also now uses golang embed to bundle the resources. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for b46d37e - Browse repository at this point
Copy the full SHA b46d37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b792e0 - Browse repository at this point
Copy the full SHA 5b792e0View commit details
Commits on May 23, 2023
-
eth/tracers: fix flatCallTracer crasher (#27304)
FlatCallTracer had a crasher when it was passed `onlyTopCall: true` as config. This PR ignores config fields inherited from the normal call tracer.
Configuration menu - View commit details
-
Copy full SHA for a190da9 - Browse repository at this point
Copy the full SHA a190da9View commit details -
core/state: do not ignore null addr while iterative dump (#27320)
fixes bug which caused the zero-address to be ignored during an iterative state-dump. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for bfded65 - Browse repository at this point
Copy the full SHA bfded65View commit details -
cmd/evm: make batched state-test execution possible (#27318)
implements the ability to run several state-tests in one instance. By not providing a statetest path to the `evm statetest` command, the path(s) will instead be read from `stdin`.
Configuration menu - View commit details
-
Copy full SHA for 1a18283 - Browse repository at this point
Copy the full SHA 1a18283View commit details -
rpc: change BlockNumber constant values to match ethclient (#27219)
ethclient accepts certain negative block number values as specifiers for the "pending", "safe" and "finalized" block. In case of "pending", the value accepted by ethclient (-1) did not match rpc.PendingBlockNumber (-2). This wasn't really a problem, but other values accepted by ethclient did match the definitions in package rpc, and it's weird to have this one special case where they don't. To fix it, we decided to change the values of the constants rather than changing ethclient. The constant values are not otherwise significant. This is a breaking API change, but we believe not a dangerous one. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 9231770 - Browse repository at this point
Copy the full SHA 9231770View commit details
Commits on May 24, 2023
-
cmd: use errrors.New instead of empty fmt.Errorf (#27329)
Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e9c3183 - Browse repository at this point
Copy the full SHA e9c3183View commit details -
ethclient,event: replace noarg fmt.Errorf with errors.New (#27334)
Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b0095ee - Browse repository at this point
Copy the full SHA b0095eeView commit details -
crypto: replace noarg fmt.Errorf with errors.New (#27333)
Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 21c87e0 - Browse repository at this point
Copy the full SHA 21c87e0View commit details
Commits on May 25, 2023
-
les, signer, light: replace noarg fmt.Errorf with errors.New (#27336)
Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dd25a4f - Browse repository at this point
Copy the full SHA dd25a4fView commit details -
internal,tests: replace noarg fmt.Errorf with errors.New (#27335)
* internal: replace noarg fmt.Errorf with errors.New Signed-off-by: jsvisa <delweng@gmail.com> * tests: replace noarg fmt.Errorf with errors.New Signed-off-by: jsvisa <delweng@gmail.com> * tests: go autoimport Signed-off-by: jsvisa <delweng@gmail.com> * tests: go autoimport Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b21ba66 - Browse repository at this point
Copy the full SHA b21ba66View commit details -
eth,consensus: replace noarg fmt.Errorf with errors.New (#27330)
* eth: replace noarg fmt.Errorf with errors.New Signed-off-by: jsvisa <delweng@gmail.com> * consensus: replace noarg fmt.Errorf with errors.New Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8a78a4f - Browse repository at this point
Copy the full SHA 8a78a4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33fdd03 - Browse repository at this point
Copy the full SHA 33fdd03View commit details -
Configuration menu - View commit details
-
Copy full SHA for e501b3b - Browse repository at this point
Copy the full SHA e501b3bView commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bd0c521 - Browse repository at this point
Copy the full SHA bd0c521View commit details -
Configuration menu - View commit details
-
Copy full SHA for c801bd7 - Browse repository at this point
Copy the full SHA c801bd7View commit details