- 27 Jun, 2023 8 commits
-
-
hero5512 authored
-
Guillaume Ballet authored
* trie, core/state: revert error removal in (*state.Trie).Commit * Gary's nitpick :) Co-Authored-By:
rjl493456442 <garyrong0905@gmail.com> --------- Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
aaronbuchwald authored
This error will never happen, but if it ever does happen, we will at least see it.
-
Sanghee Choi authored
-
Marius van der Wijden authored
* core/vm: move TSTORE,TLOAD to correct opcode nums * core/vm: cleanup
-
rjl493456442 authored
-
puhtaytow authored
error message should not be capitalized / consistency
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com>
-
- 25 Jun, 2023 1 commit
-
-
Sanghee Choi authored
-
- 23 Jun, 2023 1 commit
-
-
Francisco de Borja Aranda Castillejo authored
-
- 22 Jun, 2023 2 commits
-
-
Guillaume Ballet authored
Verkle trees store the code inside the trie. This PR changes the interface to pass the code, as well as the dirty flag to tell the trie package if the code is dirty and needs to be updated. This is a no-op for the MPT and the odr trie.
-
Exca-DK authored
In all other UDPv4 methods, the deadline is checked first. It seems weird to me that ping is an exception. Deadline comparison is also less resource intensive. Co-authored-by:
Exca-DK <Exca-DK@users.noreply.github.com>
-
- 21 Jun, 2023 2 commits
-
-
James Prestwich authored
This changes the eth_getProof method implementation to re-encode the requested storage keys, canonicalizing them in the response. For backwards-compatibility reasons, go-ethereum accepts non-canonical hex keys. Accepting them is fine, but we should not mirror invalid inputs into the output. Closes #27306 --------- Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
This is likely the culprit behind several data corruption issues, e.g. where data has been written to the freezer, but the deletion from pebble does not go through due to process crash.
-
- 20 Jun, 2023 5 commits
-
-
rjl493456442 authored
The state availability is checked during the creation of a state reader. - In hash-based database, if the specified root node does not exist on disk disk, then the state reader won't be created and an error will be returned. - In path-based database, if the specified state layer is not available, then the state reader won't be created and an error will be returned. This change also contains a stricter semantics regarding the `Commit` operation: once it has been performed, the trie is no longer usable, and certain operations will return an error.
-
jwasinger authored
EstimateGas repeatedly executes a transaction, performing a binary search with multiple gas prices to determine proper pricing. Each call retrieves a new copy of the state (https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/api.go#L1017) . Because the pending/latest state can change during the execution of EstimateGas, this can potentially cause strange behavior (as noted here: https://github.com/ethereum/go-ethereum/pull/27502#issue-1761957009). This PR modifies EstimateGas to retrieve the state once and use a copy of it for every call invocation it does.
-
Felix Lange authored
his function was added in Go 1.20, but our compatibility target is Go 1.19.
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Delweng authored
-
- 19 Jun, 2023 18 commits
-
-
Dan Laine authored
Also adds Hash.Less method for sorting purposes. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
hero5512 authored
Variables discarded, included can be defined closer to their usage. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
rjl493456442 authored
This removes the feature where top nodes of the proof can be elided. It was intended to be used by the LES server, to save bandwidth when the client had already fetched parts of the state and only needed some extra nodes to complete the proof. Alas, it never got implemented in the client.
-
Marius van der Wijden authored
* go.mod: update kzg libraries to use big-endian * go.sum: ran go mod tidy * core/testdata/precompiles: fix blob verification test * core/testdata/precompiles: fix blob verification test
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Dan Laine authored
Also adds Address.Less for sorting use in other packages. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Sanghee Choi authored
-
John Chase authored
-
Dan Laine authored
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Koichi Shiraishi authored
Package rpc uses cgo to find the maximum UNIX domain socket path length. If exceeded, a warning is printed. This is the only use of cgo in this package. It seems excessive to depend on cgo just for this warning, so we now hard-code the usual limit for Linux instead. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
Fixes #27301, a crash that could occur during txpool reorg handling.
-
hero5512 authored
floatingRatio is a constant and always non-zero. So there is no need to check for == 0.
-
John Chase authored
-
Dan Laine authored
-
Dan Laine authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 18 Jun, 2023 2 commits
- 16 Jun, 2023 1 commit
-
-
Péter Szilágyi authored
* all: move main transaction pool into a subpool * go.mod: remove superfluous updates * core/txpool: review fixes, handle txs rejected by all subpools * core/txpool: typos
-