- 23 Apr, 2022 3 commits
-
-
s7v7nislands authored
-
s7v7nislands authored
-
Felix Lange authored
-
- 21 Apr, 2022 2 commits
-
-
Koosha K authored
-
Emmanuel T Odeke authored
This change removes extraneous/unnecessary checks for equality when comparing 2 accessList values A and B. Given that we validate that their lengths of A and B are equal, if so and if every element in A is in B, reflexively every element in B is already in A. If that weren't the case and an element g existed in A but not in B, that would mean that there is an extra element and hence a mathematical contradiction. Fixes #24658
-
- 20 Apr, 2022 3 commits
-
-
Ikko Ashimine authored
synchornization -> synchronization
-
Enrique Ortiz authored
Was just browsing the code and found this.
-
Darioush Jalali authored
-
- 17 Apr, 2022 1 commit
-
-
Felix Lange authored
See ethereum/go-ethereum#24554 and btcsuite/btcd#1839 This is an attempt to resolve a Go module dependency issue that arises when both 'github.com/btcsuite/btcd/btcec/v2' and the older, non-v2 btcd module are required as dependencies.
-
- 14 Apr, 2022 2 commits
-
-
rjl493456442 authored
* eth/downlaoder: resolve local header by hash for beacon sync * eth/downloader: fix error message * eth/downloader: cap the reverse header resolving * eth/downloader: re-enable tests * eth/downloader: add warning logs
-
Marius Kjærstad authored
* build: upgrade -dlgo version to Go 1.18.1 * build: upgrade -dlgo version for macOS to Go 1.18.1
-
- 13 Apr, 2022 2 commits
-
-
Péter Szilágyi authored
* eth/downloader: remove stale beacon headers as backfilling progresses * eth/downloader: remove leftover from a previous design * eth/downloader: do partial beacon cleanups if chain is large * eth/downloader: linter != heart
-
Marius van der Wijden authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 12 Apr, 2022 5 commits
-
-
Sina Mahmoodi authored
-
ucwong authored
This adds a tools.go file to import all command packages used for go:generate. Doing so makes it possible to execute go-based code generators using 'go run', locking in the tool version using go.mod. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
JoeGruffins authored
If a pending contract call errors, return that error right away rather than ignoring it to allow an error somewhere else. This is helpful for callers to know if perhaps a call failed because of the context deadline being expired. This change mirrors the behavior of non-pending contract calls.
-
rjl493456442 authored
This PR fixes a few panics in the chain marker benchmarks. The root cause for panic is in chain marker the genesis header/block is not accessible, while it's expected to be obtained in tests. So this PR avoids touching genesis header at all to avoid panic.
-
Marius van der Wijden authored
* cmd: set DefaultGasLimit to 30M, rem deprec. Flag * cmd: revert flag deprecation
-
- 11 Apr, 2022 2 commits
-
-
Felix Lange authored
"miner" is not set for pending block responses in some cases. Fixes #24632
-
Vaibhaw authored
-
- 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 1 commit
-
-
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.
-