- 01 Nov, 2021 3 commits
-
-
Martin Holst Swende authored
-
Lee Bousfield authored
-
Sparty authored
Co-authored-by:
mrx <mrx@mrx.com>
-
- 31 Oct, 2021 1 commit
-
-
Don't bother fetching genesis Co-authored-by:
wuff1996 <33193253+wuff1996@users.noreply.github.com>
-
- 29 Oct, 2021 1 commit
-
-
Martin Holst Swende authored
Some benchmarks in eth/filters were not good: they weren't reproducible, relying on geth chaindata to be present. Another one was rejected because the receipt was lacking a backing transcation. The p2p simulation benchmark had a lot of the warnings below, due to the framework calling both Stop() and Close(). Apparently, the simulated adapter is the only implementation which has a Close(), and there is no need to call both Stop and Close on it.
-
- 28 Oct, 2021 2 commits
-
-
Martin Holst Swende authored
This PR adds support for ArrowGlacier, as defined by https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md https://eips.ethereum.org/EIPS/eip-4345 > Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number. This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
-
Marius van der Wijden authored
-
- 27 Oct, 2021 2 commits
-
-
Martin Holst Swende authored
* cmd/evm: handle rlp errors in t9n * cmd/evm/testdata: fix readme
-
Martin Holst Swende authored
Fixes crashes in various benchmarks in the core package
-
- 26 Oct, 2021 3 commits
-
-
Martin Holst Swende authored
-
rjl493456442 authored
This PR also counts the size of the key when calculating the size of a db batch
-
meowsbits authored
* core: write test showing that TD is not stored properly at genesis The ToBlock method applies a default value for an empty difficulty value. This default is not carried over through the Commit method because the TotalDifficulty database write writes the original difficulty value (nil) instead of the defaulty value present on the genesis Block. Date: 2021-10-22 08:25:32-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * core: write TD value from Block, not original genesis value This an issue where a default TD value was not written to the database, resulting in a 0 value TD at genesis. A test for this issue was provided at 90e3ffd393 Date: 2021-10-22 08:28:00-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * core: fix tests by adding GenesisDifficulty to expected result See prior two commits. Date: 2021-10-22 09:16:01-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * les: fix test with genesis change Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 25 Oct, 2021 2 commits
-
-
jwasinger authored
xgo is not maintained at this time, so none of these builds work. Closes #23784
-
Martin Holst Swende authored
This PR adds a new accessor method to the freezer database. This new view offers a consistent interface, guaranteeing that all individual tables (headers, bodies etc) are all on the same number, and that this number is not changes (added/truncated) while the operation is performing.
-
- 21 Oct, 2021 2 commits
- 20 Oct, 2021 6 commits
-
-
Harry Dutton authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Ziyuan Zhong authored
* core/state/snapshot: fix BAD BLOCK error when snapshot is generating * core/state/snapshot: alternative fix for the snapshot generator * add comments and minor update Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 19 Oct, 2021 1 commit
-
-
Guillaume Ballet authored
* core: fix warning flagging the use of DeepEqual on error * apply the same change everywhere possible * revert change that was committed by mistake * fix build error * Update config.go * revert changes to ConfigCompatError * review feedback Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 18 Oct, 2021 9 commits
-
-
Martin Holst Swende authored
* cmd/evm: add 256-bit field validations on transactions (t9n) * cmd/evm: validate gas*gasPrice, return intrinsic gas usage * cmd/evm: address review comment
-
Kawashima authored
* cmd/utils: update flag description * Update cmd/utils/flags.go Co-authored-by:
unkonwn-coder <unknown-coder@gmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Preston Van Loon authored
* eth/fetcher: fix nilness check https://github.com/ethereum/go-ethereum/issues/23738 * eth/fetcher: Use errors.Is. PR feedback from @holiman.
-
jwasinger authored
* cmd/puppeth: use geth's prompt to read input * remove wizard.in * cmd/puppeth: fix compilation errors * reset prompt (don't exit) on receiving ctrl-c * make promptInput spin until the user enters a value or interrupts (ctrl-d) * make promptInput use parameter Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Ha ĐANG authored
-
Marius van der Wijden authored
* internal/ethapi: fix recover sender of pending transaction * internal/ethapi: check if current exists
-
Martin Holst Swende authored
This PR adds support for the rlpdump tool to go from text format to RLP.
-
Maxim Zhiburt authored
Adds suppor for passing regular strings to db `put`/`get`/`delete`, to avoid having to hex-encode when operating on fixed-key items like `SnapshotSyncStatus`, `SnapshotRecovery` etc. Signed-off-by:
Maxim Zhiburt <zhiburt@gmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
-
- 15 Oct, 2021 3 commits
-
-
Felix Lange authored
-
Felix Lange authored
-
rjl493456442 authored
* core/state/snapshot: fix data race in layer flattening * core/state/snapshot: fix typo
-
- 14 Oct, 2021 1 commit
-
-
Marius van der Wijden authored
This is the initial step for support of Solidity errors in contract bindings. As of this change, errors can be decoded, but are not supported in bindings yet. Closes #23157
-
- 13 Oct, 2021 4 commits
-
-
jwasinger authored
-
Marius van der Wijden authored
This fixes a bug where gas-related fields of the TransactOpts passed to transaction methods would be modified, skipping gas estimation for subsequent transactions. Co-authored-by:
Yondon Fu <yondon.fu@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Iskander (Alex) Sharipov authored
This doesn't fix all go-critic warnings, just the most serious ones. Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Ian Norden authored
-