- 30 Mar, 2023 2 commits
-
-
s7v7nislands authored
-
Guillaume Ballet authored
-
- 28 Mar, 2023 6 commits
-
-
David Murdoch authored
-
Adrian Sutton authored
-
jwasinger authored
This PR fixes OOM panic in the callTracer as well as panicing on opcode validation errors (e.g. stack underflow) in callTracer and prestateTracer. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Sina Mahmoodi authored
Fixes multiple data races caused by the fact that resolving fields are done concurrently by the graphql library. It also enforces caching at the stateobject level for account fields.
-
s7v7nislands authored
-
s7v7nislands authored
-
- 27 Mar, 2023 3 commits
-
-
s7v7nislands authored
Make use of new atomic types --------- Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Delweng authored
This change ensures that we call Close on a http response body, in various places in the source code (mostly tests)
-
Guillaume Ballet authored
This change renames StateTrie methods to remove the Try* prefix. We added the Trie methods with prefix 'Try' a long time ago, working around the problem that most existing methods of Trie did not return the database error. This weird naming convention has persisted until now. Co-authored-by:
Gary Rong <garyrong0905@gmail.com>
-
- 25 Mar, 2023 1 commit
-
-
norwnd authored
-
- 24 Mar, 2023 2 commits
-
-
ucwong authored
Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
Martin Holst Swende authored
-
- 23 Mar, 2023 6 commits
-
-
aaronbuchwald authored
Change input param type from int to uint64
-
Martin Holst Swende authored
This change switches to use the smaller influxdata/influxdb1-client package instead of depending on the whole infuxdb package. The new smaller client is very similar to the influxdb-v2 client, which made it possible to refactor the two reporters to reuse code a lot more.
-
turboboost55 authored
This PR adds counter metrics for the CPU system and the Geth process. Currently the only metrics available for these items are gauges. Gauges are fine when the consumer scrapes metrics data at the same interval as Geth produces new values (every 3 seconds), but it is likely that most consumers will not scrape that often. Intervals of 10, 15, or maybe even 30 seconds are probably more common. So the problem is, how does the consumer estimate what the CPU was doing in between scrapes. With a counter, it's easy ... you just subtract two successive values and divide by the time to get a nice, accurate average. But with a gauge, you can't do that. A gauge reading is an instantaneous picture of what was happening at that moment, but it gives you no idea about what was going on between scrapes. Taking an average of values is meaningless.
-
Guillaume Ballet authored
This changes the Trie interface to add the plain account address as a parameter to all storage-related methods. After the introduction of the TryAccount* functions, TryGet, TryUpdate and TryDelete are now only meant to read an account's storage. In their current form, they assume that an account storage is stored in a separate trie, and that the hashing of the slot is independent of its account's address. The proposed structure for a stateless storage breaks these two assumptions: the hashing of a slot key requires the address and all slots and accounts are stored in a single trie. This PR therefore adds an address parameter to the interface. It is ignored in the MPT version, so this change has no functional impact, however it will reduce the diff size when merging verkle trees.
-
lightclient authored
With #25287 we made it so that preimages were not recorded by default. This had the side effect that the evm command is no longer able to dump state since it does a preimage lookup to determine the address represented by a key. This change enables the recording of preimages when the dump command is given.
-
Delweng authored
The meter for "for measuring the effective amount of data read" within the freezertable was never updated. This change remedies that. --------- Signed-off-by:
jsvisa <delweng@gmail.com>
-
- 22 Mar, 2023 1 commit
-
-
Marius van der Wijden authored
-
- 21 Mar, 2023 6 commits
-
-
Martin Holst Swende authored
When interacting with geth as a library to e.g. produce state tests, it is desirable to obtain the consensus-correct jumptable definition for a given fork. This changes adds accessors so the instructionset can be obtained and characteristics about opcodes can be inspected.
-
s7v7nislands authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
- 20 Mar, 2023 4 commits
-
-
Marius van der Wijden authored
Local transactions should not be subject to the "future shouldn't churn pending txs" rule
-
Marius van der Wijden authored
Schedules the shanghai hardfork on timestamp 1681338455 as discussed on ACDE 157: https://github.com/ethereum/execution-specs/pull/727
-
s7v7nislands authored
Makes use of atomic.Uint64 instead of atomic by pointer
-
Marius van der Wijden authored
-
- 17 Mar, 2023 3 commits
-
-
Darioush Jalali authored
* api: Use 0700 file permissions for ExportChain * change perm to 0644 * Update api.go --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
This adds built-in support in package rlp for encoding, decoding and generating code dealing with uint256.Int. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Darioush Jalali authored
-
- 16 Mar, 2023 4 commits
-
-
Darioush Jalali authored
-
Marius van der Wijden authored
Increases the time between consensus updates that we give the CL before we start warning the user.
-
rjl493456442 authored
Makes clear the distinction between Finalize and FinalizedAndAssemble: - In Finalize function, a series of state operations are applied according to consensus rules. The statedb is mutated and the root hash can be checked and compared afterwards. This function should be used in block processing(receive afrom network and apply it locally) but not block generation. - In FinalizeAndAssemble function, after applying state mutations, the block is also to be assembled with the latest state root computed, updating the header. This function should be used in block generation only.
-
rjl493456442 authored
When a database failure occurs, bubble it up a into statedb, and report it in suitable places, such as during a 'bad block' report.
-
- 15 Mar, 2023 1 commit
-
-
Felix Lange authored
Not sure why this was removed, it's pretty useful to see the version also in --help.
-
- 14 Mar, 2023 1 commit
-
-
Jonathan Otto authored
This increases the maximum allowed message size to 32MB. Originally submitted at https://github.com/ledgerwatch/erigon/pull/2739 example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal
-