- 26 Oct, 2021 1 commit
-
-
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 5 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
-
Felix Lange authored
This update adds support for some more ES6 functionality, notably arrow functions.
-
- 12 Oct, 2021 2 commits
-
-
noam-alchemy authored
* eth,rpc: allow for flag configured timeouts for eth_call * lint: account for package-local import order * cr: rename `rpc.calltimeout` to `rpc.evmtimeout`
-
z89 authored
-
- 11 Oct, 2021 8 commits
-
-
Martin Holst Swende authored
This removes some code: - The clique engine calculated the snapshot twice when verifying headers/blocks. - The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It is now removed from the API. - The method GetTdByHash internally looked up the number before calling GetTd(hash, num). In many cases, callers already had the number, and used this method just because it has a shorter name. I have removed the method to make the API surface smaller.
-
Marius van der Wijden authored
-
Miro authored
* Update tests to showcase that forked blocks can still be looked up by their hash
-
rjl493456442 authored
* les/vflux/server: fix metrics * les/vflux/server: fix metrics
-
Marius van der Wijden authored
* params: changed CatalystBlock to TerminalTotalDifficulty * eth/catalyst: comment out unused code
-
Guillaume Ballet authored
* build: increase thread stack size when running alpine linux * review feedback: force a stack size of 8M on all linux distribs * fix missing extldflags
-
Martin Holst Swende authored
* cmd/evm: t9n: validate transaction intrinsic gas * cmd/evm: t9n: stricter tx validation
-
Zachinquarantine authored
-