- 12 Oct, 2021 2 commits
-
-
noam-alchemy authored
* eth,rpc: allow for flag configured timeouts for eth_call * lint: account for package-local import order * cr: rename `rpc.calltimeout` to `rpc.evmtimeout`
-
z89 authored
-
- 11 Oct, 2021 8 commits
-
-
Martin Holst Swende authored
This removes some code: - The clique engine calculated the snapshot twice when verifying headers/blocks. - The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It is now removed from the API. - The method GetTdByHash internally looked up the number before calling GetTd(hash, num). In many cases, callers already had the number, and used this method just because it has a shorter name. I have removed the method to make the API surface smaller.
-
Marius van der Wijden authored
-
Miro authored
* Update tests to showcase that forked blocks can still be looked up by their hash
-
rjl493456442 authored
* les/vflux/server: fix metrics * les/vflux/server: fix metrics
-
Marius van der Wijden authored
* params: changed CatalystBlock to TerminalTotalDifficulty * eth/catalyst: comment out unused code
-
Guillaume Ballet authored
* build: increase thread stack size when running alpine linux * review feedback: force a stack size of 8M on all linux distribs * fix missing extldflags
-
Martin Holst Swende authored
* cmd/evm: t9n: validate transaction intrinsic gas * cmd/evm: t9n: stricter tx validation
-
Zachinquarantine authored
-
- 10 Oct, 2021 3 commits
-
-
aaronbuchwald authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
hsyodyssey authored
-
Aditya Arora authored
This prevents the console from crashing when auto-completing on a variable or property that is null or undefined. Fixes #23693
-
- 09 Oct, 2021 1 commit
-
-
Felix Lange authored
node.Node no longer registers any account manager backends by default, they need to be registered explicitly. For ethash-based tests, we actually don't need any accounts in the miner keystore. Just set the etherbase instead to make mining work. For clique, the signer account must be in the keystore. The change also adds interrupt handling in stress tests.
-
- 08 Oct, 2021 4 commits
-
-
Marius van der Wijden authored
This fixes a data race on worker.current by moving the call to StopPrefetcher into the main loop. The commit also contains fixes for two other races in unit tests of unrelated packages.
-
Martin Holst Swende authored
This ensures that all miner goroutines have exited before stopping the blockchain. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
Go 1.17.2 fixes some miscompilation issues on amd64 and a runtime issue with timers. While the upgrade is not strictly necessary for go-ethereum right now, it is still good to be up-to-date.
-
Sean authored
-
- 07 Oct, 2021 2 commits
-
-
Sina Mahmoodi authored
Fixes #23681 After the fix I get the address 0x6d6d02e83c4ced98204e20126acf27e9d87b8af2 for the tx mentioned in the ticket, which agrees with etherscan.
-
Martin Holst Swende authored
This change removes misuses of sync.WaitGroup in BlockChain. Before this change, block insertion modified the WaitGroup counter in order to ensure that Stop would wait for pending operations to complete. This was racy and could even lead to crashes if Stop was called at an unfortunate time. The issue is resolved by adding a specialized 'closable' mutex, which prevents chain modifications after stopping while also synchronizing writers with each other. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 06 Oct, 2021 1 commit
-
-
aaronbuchwald authored
This resolves a long-standing TODO. The point of copying the address is to ensure that all data referenced by types.Transaction is independent of the data passed into the constructor. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 05 Oct, 2021 2 commits
-
-
Felix Lange authored
This update includes fixes for the *BSD build and go module vendoring.
-
Martin Holst Swende authored
This PR adds a method to the debug namespace, to iterate over the blocks and check where we have the roots on disk.
-
- 04 Oct, 2021 3 commits
-
-
Ferran Borreguero authored
-
Miro authored
The test did not synchronize with per-case goroutines, and thus didn't notice that some tests were just hanging. This change adds missing synchronization and fixes the broken tests.
-
hsyodyssey authored
-
- 03 Oct, 2021 2 commits
-
-
Péter Szilágyi authored
internal/ethapi: make header/block rlp retrieval canonical
-
Péter Szilágyi authored
-
- 01 Oct, 2021 3 commits
-
-
Sina Mahmoodi authored
* eth/tracers: fix calltracer fault handling * eth/tracers: fix calltracer indentation
-
Péter Szilágyi authored
internal/ethapi: support retrieving header RLPs too
-
Péter Szilágyi authored
-
- 29 Sep, 2021 4 commits
-
-
Ikko Ashimine authored
-
Felix Lange authored
-
Felix Lange authored
-
Martin Holst Swende authored
-
- 28 Sep, 2021 5 commits
-
-
Martin Holst Swende authored
Fixes #23640
-
Ferran Borreguero authored
* Simplify peer known block/txns cache * Address minor changes * Add more minor comments * Minor changes from review
-
Martin Holst Swende authored
This PR fixes an issue in traceChain, where the statedb Commit operation was performed asynchronously with dereference-operations agains the underlying trie.Database instance. Due to how the reference counting works within the trie database (where parent count is recursively updated when new parents are added), doing dereferencing in the middle of Commit can cause the refcount to become wrong, leading to an inconsistent state. This was fixed by doing Commit/Deref from the same routine.
-
Yihau Chen authored
* accounts/abi/bind: check event signature before parsing * remove redundant break line
-
Sina Mahmoodi authored
* core/types: rm extranous check in test * core/rawdb: add lightweight types for block logs * core/rawdb,eth: use lightweight accessor for log filtering * core/rawdb: add bench for decoding into rlpLogs
-