- 02 Jun, 2023 1 commit
-
-
Péter Szilágyi authored
-
- 01 Jun, 2023 3 commits
-
-
rjl493456442 authored
This changes the journal logic to mark the state object dirty immediately when it is reset. We're mostly adding this change to appease the fuzzer. Marking it dirty immediately makes no difference in practice because accounts will always be modified by EVM right after creation.
-
jin authored
-
Guillaume Ballet authored
Continuing with a series of PRs to make the Trie interface more generic, this PR moves the RLP encoding of storage slots inside the StateTrie and light.Trie implementations, as other types of tries don't use RLP.
-
- 31 May, 2023 7 commits
-
-
Felix Lange authored
* p2p/discover: remove ReadRandomNodes Even though it's public, this method is not callable by code outside of package p2p/discover because one can't get a valid instance of Table. * p2p/discover: add Table.Nodes * p2p/discover: make Table settings configurable In unit tests and externally developed cmd/devp2p test runs, it can be useful to tune the timer intervals used by Table.
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
ucwong authored
go.mod:golang upgrade
-
rjl493456442 authored
Drop the notions of uncles, and disables activities while syncing - Disable activities (e.g. generate pending state) while node is syncing, - Disable empty block submission (but empty block is still kept for payload building), - Drop uncle notion since (ethash is already deprecated)
-
James Prestwich authored
Deserialize hex keys early to shortcut on invalid input, and re-use the account storageTrie for each proof for each proof in the account, preventing repeated deep-copying of the trie. Closes #27308 -------- Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
- 30 May, 2023 4 commits
-
-
Seungbae Yu authored
This is a minor optimization/refactoring of Feed. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
ucwong authored
-
jwasinger authored
eth: make StorageRangeAt take a block hash or number Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Sina Mahmoodi <itz.s1na@gmail.com>
-
Guillaume Ballet authored
-
- 29 May, 2023 2 commits
-
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com> Co-authored-by:
Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
-
Delweng authored
This change splits up the multiple API functions / namespaces currently defined in the eth package into different per-namespace files.
-
- 25 May, 2023 10 commits
-
-
Delweng authored
RPC methods `eth_getHeaderBy*` returned a size value which was meant for internal processes. Please instead use `size` field returned by `eth_getBlockBy*` if you're interested in the RLP encoded storage size of the block. Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
This change implements async log retrievals via feeding logs in channels, instead of returning slices. This is a first step to implement #15063. --------- Signed-off-by:
jsvisa <delweng@gmail.com> Co-authored-by:
Sina Mahmoodi <itz.s1na@gmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
-
Delweng authored
* accounts: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * accounts: go autoimport Signed-off-by:
jsvisa <delweng@gmail.com> --------- Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
* core: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * console: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * core: go autoimport Signed-off-by:
jsvisa <delweng@gmail.com> * core: dry Signed-off-by:
jsvisa <delweng@gmail.com> --------- Signed-off-by:
jsvisa <delweng@gmail.com>
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Delweng authored
* eth: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * consensus: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> --------- Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
* internal: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * tests: replace noarg fmt.Errorf with errors.New Signed-off-by:
jsvisa <delweng@gmail.com> * tests: go autoimport Signed-off-by:
jsvisa <delweng@gmail.com> * tests: go autoimport Signed-off-by:
jsvisa <delweng@gmail.com> --------- Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com>
-
- 24 May, 2023 3 commits
-
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com>
-
Delweng authored
Signed-off-by:
jsvisa <delweng@gmail.com>
-
- 23 May, 2023 4 commits
-
-
Martin Holst Swende authored
ethclient accepts certain negative block number values as specifiers for the "pending", "safe" and "finalized" block. In case of "pending", the value accepted by ethclient (-1) did not match rpc.PendingBlockNumber (-2). This wasn't really a problem, but other values accepted by ethclient did match the definitions in package rpc, and it's weird to have this one special case where they don't. To fix it, we decided to change the values of the constants rather than changing ethclient. The constant values are not otherwise significant. This is a breaking API change, but we believe not a dangerous one. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
implements the ability to run several state-tests in one instance. By not providing a statetest path to the `evm statetest` command, the path(s) will instead be read from `stdin`.
-
Park Changwan authored
fixes bug which caused the zero-address to be ignored during an iterative state-dump. --------- Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
minh-bq authored
FlatCallTracer had a crasher when it was passed `onlyTopCall: true` as config. This PR ignores config fields inherited from the normal call tracer.
-
- 22 May, 2023 3 commits
-
-
Chawin Aiemvaravutigul authored
Adds `ErrorById` lookup
-
Sina Mahmoodi authored
Upgrades graphiql to v2.4.4. The interface has become much nicer, and there are extra features like tabs, history, dark mode etc. This change also now uses golang embed to bundle the resources. --------- Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Delweng authored
This change gives the cmd-tests have a bit more time to finish before getting forcibly torn down.
-
- 19 May, 2023 3 commits
-
-
Felix Lange authored
-
Shude Li authored
-
Martin Holst Swende authored
One difference between pebble and leveldb is that the latter returns error when performing Get on a closed database, the former does a panic. This may be triggered during shutdown (see #27237) This PR changes the pebble driver so we check that the db is not closed already, for several operations. It also adds tests to the db test-suite, so the previously implicit assumption of "not panic:ing at ops on closed database" is covered by tests.
-