- 03 Dec, 2021 7 commits
-
-
nala authored
Previous link leads to incorrect (more recent) version of web3.js docs. go-ethereum uses v0.20.1. The docs for 0.2x.x have been archived at this Github link.
-
Péter Szilágyi authored
core, eth, les, trie: remove the sync bloom, used by fast sync
-
Péter Szilágyi authored
-
Andrei Maiboroda authored
* core/vm: Remove interpreter loop interruption check * core/vm: Unit test for interpreter loop interruption * core/vm: Check for interpreter loop abort on every jump
-
Paweł Bylica authored
-
Alex Beregszaszi authored
-
Péter Szilágyi authored
eth: pre-process downloader responses on the peer reader thread
-
- 02 Dec, 2021 3 commits
-
-
Taeik Lim authored
-
divergencetech authored
The `structs` map is populated by iterating over all methods except the constructor, which results in a nil-pointer dereference. I've first reproduced the problem with a new test and then implemented the fix. Co-authored-by:
Arran Schlosberg <me@arranschlosberg.com>
-
Evolution404 authored
-
- 01 Dec, 2021 5 commits
-
-
Péter Szilágyi authored
-
Alex Beregszaszi authored
* eth/tracers: Add support for REVERT in evmdis_tracer * evm/tracers: Fix evmdis_tracer to use SELFDESTRUCT instead of SUICIDE * eth/tracers: Regenerate tracer library
-
Alex Beregszaszi authored
The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
-
Alex Beregszaszi authored
* core/vm: Move interpreter.ReadOnly check into the opcode implementations Also remove the same check from the interpreter inner loop. * core/vm: Remove obsolete operation.writes flag * core/vm: Capture fault states in logger Co-authored-by:
Martin Holst Swende <martin@swende.se> * core/vm: Remove panic added for testing Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
-
- 30 Nov, 2021 2 commits
-
-
Andrei Maiboroda authored
-
Alex Beregszaszi authored
This was proposed in 2016, Solidity uses this since 2017, and evmone and other VMs use the keccak256 name. This brings geth in line with those.
-
- 29 Nov, 2021 2 commits
-
-
Paweł Bylica authored
* core/vm: break loop on any error * core/vm: move ErrExecutionReverted to opRevert() * core/vm: use "stop token" to stop the loop * core/vm: unconditionally pc++ in the loop * core/vm: set return data in instruction impls
-
Paweł Bylica authored
Trim the search key from head as it's being pushed deeper into the trie. Previously the search key was never modified but each node kept information how to slice and compare it in keyOffset. Now the keyOffset is not needed as this information is included in the slice of the search key. This way the keyOffset can be removed and key manipulation simplified.
-
- 26 Nov, 2021 2 commits
-
-
Péter Szilágyi authored
* eth: request ID based message dispatcher * eth: fix dispatcher cancellation, rework fetchers idleness tracker * eth/downloader: drop peers who refuse to serve advertised chains
-
Marius van der Wijden authored
* all: work for eth1/2 transtition * consensus/beacon, eth: change beacon difficulty to 0 * eth: updates * all: add terminalBlockDifficulty config, fix rebasing issues * eth: implemented merge interop spec * internal/ethapi: update to v1.0.0.alpha.2 This commit updates the code to the new spec, moving payloadId into it's own object. It also fixes an issue with finalizing an empty blockhash. It also properly sets the basefee * all: sync polishes, other fixes + refactors * core, eth: correct semantics for LeavePoW, EnterPoS * core: fixed rebasing artifacts * core: light: performance improvements * core: use keyed field (f) * core: eth: fix compilation issues + tests * eth/catalyst: dbetter error codes * all: move Merger to consensus/, remove reliance on it in bc * all: renamed EnterPoS and LeavePoW to ReachTDD and FinalizePoS * core: make mergelogs a function * core: use InsertChain instead of InsertBlock * les: drop merger from lightchain object * consensus: add merger * core: recoverAncestors in catalyst mode * core: fix nitpick * all: removed merger from beacon, use TTD, nitpicks * consensus: eth: add docstring, removed unnecessary code duplication * consensus/beacon: better comment * all: easy to fix nitpicks by karalabe * consensus/beacon: verify known headers to be sure * core: comments * core: eth: don't drop peers who advertise blocks, nitpicks * core: never add beacon blocks to the future queue * core: fixed nitpicks * consensus/beacon: simplify IsTTDReached check * consensus/beacon: correct IsTTDReached check Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- 25 Nov, 2021 4 commits
-
-
Andrei Maiboroda authored
-
Péter Szilágyi authored
core/vm: use proper JumpTable type
-
Sina Mahmoodi authored
* all: mv loggers to eth/tracers * core/vm: minor * eth/tracers: tmp comment out testStoreCapture * eth/tracers: uncomment and fix logger test * eth/tracers: simplify test * core/vm: re-add license * core/vm: minor * rename LogConfig to Config
-
Martin Holst Swende authored
* core/state/snapshot: remove wiper functionality * core/vm: remove unused 'unofficial' opcodes
-
- 24 Nov, 2021 6 commits
-
-
Martin Holst Swende authored
This PR fixes two problems in devp2p tests (and through them, hive). - Make the output more detailed about what is returned (always print packet kind). - Allow Ping response to unsolicited findnode. Without this PR, nethermind fails a hive protocol test, and I misinterpreted the result (NethermindEth/nethermind#3617). Ergo, the output was not fool-proof.
-
Paweł Bylica authored
-
Sina Mahmoodi authored
* clique: fix block number unmarshal * clique: rename
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
lightclient authored
* cmd/evm: rename t8n args to improve clarity when tracing * cmd/evm: add back removed tracing flags and note that they are deprecated * cmd/evm: add warning when using deprecated flag
-
- 23 Nov, 2021 6 commits
-
-
Péter Szilágyi authored
trie: reject deletions when verifying range proofs
-
Péter Szilágyi authored
-
Serhat Şevki Dinçer authored
-
Martin Holst Swende authored
* core/rawdb: utilize AncientRange when initiating from freezer * core/rawdb: remove debug sanity check
-
Péter Szilágyi authored
core/vm: don't use iota for opcode definitions
-
lightclient authored
* cmd/evm: add support for signing transactions in the unprotected format * cmd/evm: simplify signing of unprotected txs
-
- 22 Nov, 2021 3 commits
-
-
Péter Szilágyi authored
core, eth/downloader: fix resetting below freezer threshold
-
Péter Szilágyi authored
-
lightclient authored
evm block-builder (a.k.a b11r) is a utility to help assemble blocks, for use during the test-creation process.
-