- 20 Feb, 2023 5 commits
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- 19 Feb, 2023 2 commits
-
-
Felix Lange authored
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>
-
Martin Holst Swende authored
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>
-
- 17 Feb, 2023 2 commits
-
-
Roman Krasiuk authored
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>
-
Marius van der Wijden authored
This change will break one hive test, but pass another and it will be the better way going forward
-
- 16 Feb, 2023 8 commits
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
This PR is a (superior) alternative to https://github.com/ethereum/go-ethereum/pull/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.
-
ucwong authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
rjl493456442 authored
-
Péter Szilágyi authored
travis, build: update Go to 1.20
-
- 15 Feb, 2023 4 commits
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Marius van der Wijden authored
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.
-
Patrick O'Grady authored
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).
-
- 14 Feb, 2023 5 commits
-
-
Felix Lange authored
-
Sina Mahmoodi authored
* eth/filters: replace atomic.Pointer * fix * improve Co-authored-by:
Martin Holst Swende <martin@swende.se> --------- Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
This change updates the CHT entries for mainnet and rinkeby
-
Martin Holst Swende authored
Our discovery crawler spits out a huge amount of logs, most of which is pretty non-interesting. This change moves the very verbose output to Debug, and adds a 8-second status log message giving the general idea about what's going on.
- 13 Feb, 2023 3 commits
-
-
Martin Holst Swende authored
This change fixes a fuzzer which broke when we updated the gnark dependency earlier.
-
Darioush Jalali authored
This change allows all post-Berlin forks to be specified as overrides for futureForkBlock in the config parameter for traceBlockToFile.
-
Sina Mahmoodi authored
Logs stored on disk have minimal information. Contextual information such as block number, index of log in block, index of transaction in block are filled in upon request. We can fill in all these fields only having the block header and list of receipts. But determining the transaction hash of a log requires the block body. The goal of this PR is postponing this retrieval until we are sure we the transaction hash. It happens often that the header bloom filter signals there might be matches in a block, but after actually checking them reveals the logs do not match. We want to avoid fetching the body in this case. Note that this changes the semantics of Backend.GetLogs. Downstream callers of GetLogs now assume log context fields have not been derived, and need to call DeriveFields on the logs if necessary.
-
- 10 Feb, 2023 3 commits
-
-
Marius van der Wijden authored
* params: schedule shanghai fork on sepolia * params: u64 -> newUint64
-
rjl493456442 authored
-
Chris Ziogas authored
This is a breaking change in the tracing hooks API as well as semantics of the callTracer: - CaptureEnter hook provided a nil value argument in case of DELEGATECALL. However to stay consistent with how delegate calls behave in EVM this hook is changed to pass in the value of the parent call. - callTracer will return parent call's value for DELEGATECALL frames. --------- Co-authored-by:
Sina Mahmoodi <itz.s1na@gmail.com>
-
- 09 Feb, 2023 8 commits
-
-
Péter Szilágyi authored
-
Martin Holst Swende authored
-
Péter Szilágyi authored
* common/prque, eth/downloader: fix timeout resurrection panic * common/prque: revert -1 hack for les, temporaryly!
-
Péter Szilágyi authored
-
Péter Szilágyi authored
* common, core, eth, les, trie: make prque generic * les/vflux/server: fixed issues in priorityPool * common, core, eth, les, trie: make priority also generic in prque * les/flowcontrol: add test case for priority accumulator overflow * les/flowcontrol: avoid priority value overflow * common/prque: use int priority in some tests No need to convert to int64 when we can just change the type used by the queue. * common/prque: remove comment about int64 range --------- Co-authored-by:
Zsolt Felfoldi <zsfelfoldi@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Marius van der Wijden authored
-
Martin Holst Swende authored
* ethdb: use pebble Co-authored-by:
Gary Rong <garyrong0905@gmail.com> foo update * apply suggested changes * flags: go format node: fix ddir lookup mistake accounts/abi/bind: fix go.mod replacement for generated binding deps: update pebble + with fix 32-bit build * ethdb/pebble: respect max memtable size * core/rawdb, ethdb: enable pebble on non-32bit platforms only * core/rawdb: fix build tags, fix some review concerns * core/rawdb: refactor methods for database opening * core/rawdb: remove erroneous build tag * cmd/geth: fix the flag default handling + testcase * cmd/geth: improve testing regarding custom backends * ethdb/pebble, deps: update pebble dependency * core/rawdb: replace method with Open * ethdb/pebble: several updates for pebble (#49) * ethdb/pebble: fix size count in batch * ethdb/pebble: disable seek compaction * ethdb/pebble: more fixes * ethdb, core, cmd: polish and fixes (#50) * cmd/utils, core/rawdb, ethdb/pebble: address some review concerns * Update flags.go * ethdb/pebble: minor refactors * ethdb/pebble: avoid copy on batch replay * ethdb: fix compilation flaw * cmd: fix test fail due to mismatching error message * cmd/geth, node: rename backingdb to db.engine --------- Co-authored-by:
Jared Wasinger <j-wasinger@hotmail.com> Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
Péter Szilágyi authored
-