rjl493456442
e5f5eaebc4
core/state: remove slot dirtyness if it's set back to origin value ( #29731 )
...
* core/state: remove slot dirtiness if it's set back to origin value
* core/state: suggestion from martin
6 months ago
Felix Lange
74edc93864
params: gofmt
6 months ago
Felix Lange
0e456d9eeb
.travis.yml: disable normal unit tests in cron job ( #29746 )
6 months ago
Felix Lange
6d51c1f5f4
params: begin v1.14.4 release cycle
6 months ago
Felix Lange
ab48ba42f4
params: release go-ethereum v1.14.3 stable
6 months ago
Felix Lange
804afb8faa
.travis.yml: restore PPA condition and bump timeouts ( #29742 )
6 months ago
Felix Lange
faff03c403
.travis.yml: enable PPA upload on push and fix apt-get command ( #29741 )
6 months ago
Felix Lange
1a79f8fe58
params: begin v1.14.3 release cycle
6 months ago
Felix Lange
35b2d07f4b
params: release go-ethereum v1.14.2 stable
6 months ago
Felix Lange
eeb22089fd
.travis.yml: fix package install on PPA builder
6 months ago
Felix Lange
14f4228472
params: begin v1.14.2 release cycle
6 months ago
Felix Lange
dd09f7e3fa
params: release go-ethereum v1.14.1 stable
6 months ago
Felix Lange
6154f87c33
.travis.yml: fix apt-get options ( #29734 )
6 months ago
Felix Lange
dd4afb9fec
.travis.yml: fix install of gcc-multilib ( #29733 )
6 months ago
rjl493456442
9ec50080eb
core: use in-memory freezer for tests ( #29720 )
...
* core: simplify chain tests
* core, eth, cmd: use in-memory freezer for tests
* core: restore tests
6 months ago
Felix Lange
e96de6489c
build: upgrade to go 1.22.3 ( #29725 )
6 months ago
Martin HS
71aa15c98f
travis: use ubuntu noble (24.04) instead of bionic (18.04) ( #29723 )
6 months ago
nand2
d6e91e2e05
eth/gasestimator: include blobs in virtual balance computation ( #29703 )
...
Fixes #29702
Co-authored-by: Felix Lange <fjl@twurst.com>
6 months ago
Nathan
e4b8058d5a
eth/gasprice: add query limit for FeeHistory to defend DDOS attack ( #29644 )
...
* eth/gasprice: add query limit for FeeHistory to defend DDOS attack
* fix return values after cherry-pick
---------
Co-authored-by: Eric <45141191+zlacfzy@users.noreply.github.com>
6 months ago
Maciej Kulawik
3e896c875a
ethdb/pebble: fix pebble metrics registration ( #29699 )
...
ethdb/pebble: use GetOrRegister instead of NewRegistered when creating metrics
6 months ago
Guillaume Ballet
43cbcd78ea
core, core/state: move TriesInMemory to state package ( #29701 )
6 months ago
Matthieu Vachon
a09a610384
core/tracing: add system call callback when performing `ProcessBeaconBlockRoot` ( #29355 )
...
Added a start/end system where tracer can be notified that processing of some Ethereum system calls is starting processing and also notifies it when the processing has completed.
Doing a start/end for system call will enable tracers to "route" incoming next tracing events to go to a separate bucket than other EVM calls. Those not interested by this fact can simply avoid registering the hooks.
The EVM call is going to be traced normally afterward between the signals provided by those 2 new hooks but outside of a transaction context OnTxStart/End. That something implementors of live tracers will need to be aware of (since only "trx tracers" are not concerned by ProcessBeaconRoot).
---------
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
6 months ago
Kiarash Hajian
905e325cd8
p2p/discover/v5wire: add tests for invalid handshake and auth data size ( #29708 )
6 months ago
rjl493456442
86a1f0c394
core/rawdb: fix ancient root folder ( #29697 )
6 months ago
maskpp
2c67fab0d7
trie/pathdb: preallocate map capacity ( #29690 )
...
* preallocated capacity for map's certain usege of memory
* preallocated capacity for map's certain usege of memory
6 months ago
Nathan
fbf6238ae9
params: fix misleading comments ( #29684 )
6 months ago
Aaron Chen
bc609e852a
core/vm: remove redundant error checks ( #29692 )
6 months ago
Péter Szilágyi
682ee820fa
core/state: parallelise parts of state commit ( #29681 )
...
* core/state, internal/workerpool: parallelize parts of state commit
* core, internal: move workerpool into syncx
* core/state: use errgroups, commit accounts concurrently
* core: resurrect detailed commit timers to almost-accuracy
6 months ago
rjl493456442
9f96e07c1c
core/rawdb, trie: improve db APIs for accessing trie nodes ( #29362 )
...
* core/rawdb, trie: improve db APIs for accessing trie nodes
* triedb/pathdb: fix
6 months ago
Bin
f8820f170c
accounts, cmd/geth, core: close opened files ( #29598 )
...
* fix: open file used up but not closed
* feat: more same case
* feat: accept conversation
6 months ago
jwasinger
45baf21111
eth/downloader: purge pre-merge sync code ( #29281 )
...
This PR removes pre-merge sync logic from the downloader. Now-irrelevant tests are removed and others have been updated.
6 months ago
lightclient
2e8e35f2ad
all: refactor so `NewBlock`, `WithBody` take `types.Body` ( #29482 )
...
* all: refactor so NewBlock(..) and WithBody(..) take a types.Body
* core: fixup comments, remove txs != receipts panic
* core/types: add empty withdrawls to body if len == 0
6 months ago
Martin HS
5e07054589
internal/ethapi: listen to ctx cancellation in access list ( #29686 )
6 months ago
Marius van der Wijden
bd6bc37eec
core/vm: add subgroup checks for mul/mulexp for G1/G2 ( #29637 )
6 months ago
Dragan Milic
7c7e3a77fc
eth/tracers/native: fix flatCallTracer Stop() bug ( #29623 )
...
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
6 months ago
Aaron Chen
ea89f9adf0
core/vm: remove a redundant zero check in opAddmod ( #29672 )
6 months ago
Martin HS
242b24af9f
trie/trienode: minor speedup in nodeset merging ( #29683 )
6 months ago
rjl493456442
f46c878441
core/rawdb: implement in-memory freezer ( #29135 )
6 months ago
felipe
c04b8e6d74
cmd/utils: require TTD and difficulty to be zero at genesis for dev mode ( #29579 )
6 months ago
Nathan
69f815f6f5
params: print time value instead of pointer in ConfigCompatError ( #29514 )
6 months ago
maskpp
fecc8a0f4a
cmd/evm/internal/t8ntool, core: prealloc map sizes where possible ( #29620 )
...
set cap for map in a certain scenario
6 months ago
Aaron Chen
8c3fc56d7f
p2p/simulations/adapters: use maps.Clone ( #29626 )
6 months ago
Roy Crihfield
4bdbaab471
params: clarify consensus engine config `String`s ( #29643 )
...
Define these on a value receiever so that nil is shown differently.
7 months ago
Péter Szilágyi
4253030ef6
core/state: move metrics out of state objects ( #29665 )
7 months ago
Péter Szilágyi
8d42e115b1
core/state: revert pending storage updates if they revert to original ( #29661 )
7 months ago
Péter Szilágyi
ad4fb2c729
build: drop trusty from PPA builds, EOL and incompatible ( #29651 )
...
* build: drop trusty from PPA builds, EOL and incompatible
* build: add Ubuntu Noble PPA build target
7 months ago
Péter Szilágyi
634d037937
travis: revert the PPA fix hot-build, it works ( #29649 )
7 months ago
Péter Szilágyi
a0282fc94f
travis: temporarilly enable PPA builds for testing ( #29648 )
7 months ago
Péter Szilágyi
1f628d842c
build: build all the builders to build all the builders ( #29647 )
...
* build: build all the builders to build all the builders
* build: tweak the indexes a bit to make them consistent
7 months ago
Martin HS
243cde0f54
core/state: better randomized testing (postcheck) on journalling ( #29627 )
...
This PR fixes some flaws with the existing tests.
The randomized testing (TestSnapshotRandom) executes a series of steps which modify the state and create journal-events. Later on, we compare the forward-going-states against the backwards-unrolling-journal-states, and check that they are identical.
The "identical" check is performed using various accessors. It turned out that we failed to check some things:
- the accesslist contents
- the transient storage contents
- the 'newContract' flag
- the dirty storage map
This change adds these new checks
7 months ago