- 31 Mar, 2023 2 commits
-
-
aaronbuchwald authored
Adds error handling for the case that UnpackLog or UnpackLogIntoMap is called with a log that has zero topics. --------- Co-authored-by:
Sina Mahmoodi <itz.s1na@gmail.com>
-
s7v7nislands authored
Use the new typed atomics in the miner package
-
- 30 Mar, 2023 7 commits
-
-
openex authored
improve the heartbeat function that is no longer suitable in the current situation Co-authored-by:
“openex27” <“openexkevin@gmail.com”>
-
rjl493456442 authored
Fix the json marshaller of MixedcaseAddress
-
s7v7nislands authored
-
Adrian Sutton authored
Removes the new --log.logfmt directive and hides --log.json, replacing both with log.format=(json|logfmt|terminal). The hidden log.json option is still respected if log.format is not specified for backwards compatibility. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Sina Mahmoodi authored
-
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 2 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>
-