- 08 Apr, 2022 5 commits
-
-
aaronbuchwald authored
This modifies the order of Lock() defer Unlock() to follow the more typically used pattern.
-
rjl493456442 authored
-
Eng Zer Jun authored
This commit replaces ioutil.TempDir with t.TempDir in tests. The directory created by t.TempDir is automatically removed when the test and all its subtests complete. Prior to this commit, temporary directory created using ioutil.TempDir had to be removed manually by calling os.RemoveAll, which is omitted in some tests. The error handling boilerplate e.g. defer func() { if err := os.RemoveAll(dir); err != nil { t.Fatal(err) } } is also tedious, but t.TempDir handles this for us nicely. Reference: https://pkg.go.dev/testing#T.TempDirSigned-off-by:
Eng Zer Jun <engzerjun@gmail.com>
-
Tangui Clairet authored
Closes #24571
-
Martin Holst Swende authored
* cmd/geth: inspect snapshot dangling storage * cmd/geth: make verify-state invoke verify-dangling
-
- 07 Apr, 2022 3 commits
-
-
Péter Szilágyi authored
core/state/snapshot: remove noop map item assignment
-
Péter Szilágyi authored
-
Tbnoapi authored
Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
- 06 Apr, 2022 3 commits
-
-
Péter Szilágyi authored
eth/fetcher: if peers never respond, drop them
-
Sina Mahmoodi authored
* eth/tracers: refactor traceTx to separate out struct logging review fix Update eth/tracers/api.go Co-authored-by:
Martin Holst Swende <martin@swende.se> Mv ExecutionResult type to logger package review fix impl GetResult for StructLogger make formatLogs private confused exit and end.. account for intrinsicGas in structlogger, fix TraceCall test Add Stop method to logger Simplify traceTx Fix test rm logger from blockchain test account for refund in structLogger * use tx hooks in struct logger * minor * avoid executionResult in struct logger * revert blockchain test changes
-
Péter Szilágyi authored
-
- 05 Apr, 2022 2 commits
-
-
Tatsuya Shimoda authored
-
John Adler authored
-
- 04 Apr, 2022 1 commit
-
-
rjl493456442 authored
* eth/downloader: retrieve pivot header from local chain if necessary * eth/downloader: improve readability * eth/downloader: update fix * eth/downloader: add beacon sync tests * eth/downloader: remove duplicated code
-
- 31 Mar, 2022 3 commits
-
-
Martin Holst Swende authored
This PR makes the errors we spit out a bit more clear about what block is problematic.
-
Sina Mahmoodi authored
* core,eth: add empty tx logger hooks * core,eth: add initial and remaining gas to tx hooks * store tx gasLimit in js tracer * use gasLimit to compute intrinsic cost for js tracer * re-use rules in transitiondb * rm logs * rm logs * Mv some fields from Start to TxStart * simplify sender lookup in prestate tracer * mv env to TxStart * Revert "mv env to TxStart" This reverts commit 656939634b9aff19f55a1cd167345faf8b1ec310. * Revert "simplify sender lookup in prestate tracer" This reverts commit ab65bce48007cab99e68232e7aac2fe008338d50. * Revert "Mv some fields from Start to TxStart" This reverts commit aa50d3d9b2559addc80df966111ef5fb5d0c1b6b. * fix intrinsic gas for prestate tracer * add comments * refactor * fix test case * simplify consumedGas calc in prestate tracer
-
rjl493456442 authored
Trie tracer is an auxiliary tool to capture all deleted nodes which can't be captured by trie.Committer. The deleted nodes can be removed from the disk later.
-
- 30 Mar, 2022 2 commits
-
-
Nic Jansma authored
* core: Change Snapshot extension registration failed to Debug * Update eth/handler.go Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Guruprasad Kamath authored
* Add extra-data checks for clique genesis * Update genesis.go * Update genesis.go * core: simplify clique genesis check Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 29 Mar, 2022 13 commits
-
-
zhiqiangxu authored
This PR adds a ExtraAllowedPath field to Solidity and exposes two APIs: CompileSource and CompileFiles, which were hidden inside CompileSolidityString and CompileSolidity before.
-
Martin Holst Swende authored
Makes the evm json output less verbose: omitting output of `memory` and `returndata` in case they are empty.
-
Zhang Zhuo authored
* internal/ethapi: add refund to StructLogRes * Update internal/ethapi/api.go Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
ucwong authored
-
rjl493456442 authored
-
flowerofdream authored
Co-authored-by:
Yong Yang <yangyong775654@163.com>
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Marius van der Wijden authored
* eth/catalyst: only apply block if we actually have the state * add header to payload queue * Update cmd/geth/dbcmd.go Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
jwasinger authored
* cmd/geth: only check for presence of legacy receipts if developer mode is not enabled * cmd/geth: degrade log level * cmd/geth: fix format Co-authored-by:
Gary Rong <garyrong0905@gmail.com>
-
Péter Szilágyi authored
core: set ttd override on all chain variations
-
Zhang Zhuo authored
-
Péter Szilágyi authored
-
- 27 Mar, 2022 1 commit
-
-
Martin Holst Swende authored
-
- 25 Mar, 2022 4 commits
-
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-
- 24 Mar, 2022 1 commit
-
-
Marius van der Wijden authored
-
- 23 Mar, 2022 2 commits
-
-
Marius van der Wijden authored
-
Martin Holst Swende authored
-