- 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
-
- 08 Feb, 2023 4 commits
-
-
jwasinger authored
Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
rjl493456442 authored
This change ports some changes from the main PBSS PR: - get rid of callback function in `trie.Database.Commit` which is not required anymore - rework the `nodeResolver` in `trie.Iterator` to make it compatible with multiple state scheme - some other shallow changes in tests and typo-fixes
-
Felix Lange authored
* log: allow tabs in log messages This fixes a regression where panic reports in RPC handlers were quoted because they contain tab characters. * Update format.go
-
halilylm authored
Co-authored-by:
Halil Yildirim <halilgolang@gmail.com>
-
- 07 Feb, 2023 3 commits
-
-
Marius van der Wijden authored
According to the spec the payloadID needs to be random or dependent on all arguments, to prevent two payloads from clashing. This change adds withdrawals into the payload derivation. --------- Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
It's the same as math.HexOrDecimal64, which has more uses across the codebase.
-
zhiqiangxu authored
This PR fixes this abi encoder/decoder to be more stringent.
-
- 06 Feb, 2023 9 commits
-
-
Martin Holst Swende authored
This updates the reference tests to the latest version. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
-
Felföldi Zsolt authored
This PR moves core/beacon to beacon/engine so that beacon-chain related code has its own top level package which also can house the the beacon lightclient-code.
-
Martin Holst Swende authored
This PR moves some trie-related db accessor methods to a different file, and also removes the schema type. Instead of the schema type, a string is used to distinguish between hashbased/pathbased db accessors. This also moves some code from trie package to rawdb package. This PR is intended to be a no-functionality-change prep PR for #25963 . --------- Co-authored-by:
Gary Rong <garyrong0905@gmail.com>
-
Marius Kjærstad authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
raulk authored
EIP-196 allows a zero value in the scalar argument to precompile `0x07`. This change adds a test for that case.
-
Martin Holst Swende authored
This change fixes a minor flaw in the check for ipc endpoint length. The max_path_size is the max path that an ipc endpoint can have, which is 208. However, that size concerns the null-terminated pathname, so we need to account for an extra null-character too.
-
delihiros authored
-
Marius van der Wijden authored
This change implements engine_getPayloadBodiesByHash and engine_getPayloadBodiesByRange, according to the specification at https://github.com/ethereum/execution-apis/blob/main/src/engine/shanghai.md#specification-4 . Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 05 Feb, 2023 1 commit
-
-
lmittmann authored
This change improves reusability of the EVM struct. Two methods are added: - SetBlockContext(...) - SetTracer(...) Other attributes like the TransactionContext and the StateDB can already be updated. BlockContext and Tracer are partially not updateable right now. This change fixes it and opens the potential to reuse an EVM struct in more ways. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 03 Feb, 2023 2 commits
-
-
Péter Szilágyi authored
accounts, build, mobile: remove Android and iOS support
-
Péter Szilágyi authored
-
- 02 Feb, 2023 2 commits
-
-
Marius van der Wijden authored
* eth: cmd: deprecate personal namespace * eth: cmd: move deprecation to node * node: disable toml of enablepersonal * node: disable personal on ipc as well * Update node/node.go Co-authored-by:
Martin Holst Swende <martin@swende.se> * console: error -> warn * node: less roulette --------- Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
-