garyschulte
9b2fcde2b0
Panda print only when crossing TTD the first time ( #4194 )
...
* add oldState to MergeStateHandler, move Pandas to Transition watcher
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
Antoine Toulme
0d7eaf16d4
Upgrade gradle to 7.5, silence the welcome message ( #4196 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2 years ago
Antoine Toulme
049d234c0e
upgrade spotless to 6.8.0 ( #4195 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2 years ago
Danno Ferrin
962c805cae
Accept empty header set in range headers validation ( #4189 )
...
If a response to the get header P2P request only returns the header that
is the start of the range we may need to trim it to an empty response,
this is breaking the validation response. One client has started
returning only the range header start in some circumstances (which is a
valid response per spec). Because we sometimes request an overlapping
header this results in an empty stream once we cut the duplicates.
fixes #3336
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
Daniel Lehrner
3913174f00
Print warning for deprecated testnets ( #4173 )
...
* print warning for deprecated testnets
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
Fabio Di Fabio
93da04cf00
Allow to set any value for baseFeePerGas in the genesis file ( #4177 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Matt Nelson
b02653a053
Switching info to trace on several noisey logs during sync. ( #4185 )
...
Signed-off-by: matt-nelson-csi <matt.nelson@consensys.net>
2 years ago
garyschulte
d2418bf000
Prepare for version 22.7.1-SNAPSHOT ( #4181 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
604855e486
22.7.0-RC3 release ( #4180 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
Gabriel-Trintinalia
f05b45d4d2
Add mechanism to retrieve missing blocks ( #4175 )
...
* Add mechanism to retrieve missing blocks that caused BlockPropagationManager to get stuck on pending blocks
* Remove threshold and request the lowest block parent everytime a block is saved for future
Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Antoine Toulme
f838572ec8
separate dco from spotless, make dco only run for pull requests. Run on workflow dispatch on demand ( #4165 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Justin Florentine
1400646ebf
4169 dont recurse ( #4171 )
...
* reimplemented with simple loop instead of recursing
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Roman Vaseev
ebfdab1585
Fixed desired gas limit setting in the reference tests service ( #4170 )
...
Signed-off-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
garyschulte
eabbea604d
limit engine-api info logging ( #4156 )
...
* limit engine-api info logging
* use a common constant for engine api logging threshold
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
01d077bd65
add sepolia mergeNetSplit block ( #4158 )
...
* add sepolia paris / mergeNetSplit block
* fix test looking for old premerge fork alias, add sepolia terminal conditions test
* rename to mergeNetSplit, ditch the terminalBlockHash and terminalBlockNumber configs for sepolia
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
e0b4d88786
add goerli ttd ( #4160 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
Daniel Lehrner
0a2d80518f
Change expiration for JWT authentification of engine port to 60 seconds ( #4168 )
...
* change expiration for JWT authentification of engine port to 60 seconds
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
Daniel Lehrner
979988707b
Fix post merge chain reog with invalid block ( #4131 )
...
* fix infinite loop if a reorg contain a bad block
* add cache for latest valid ancestors for bad blocks
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
Antoine Toulme
b7cea68d65
move some easy build jobs (DCO, Spotless) over to github ( #4161 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2 years ago
Daniel Lehrner
059af013bd
filter out the periodic log message "Refreshing DNS records with ..." ( #4155 )
...
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
Stefan Pingel
be133b8d34
fix 1 byte long disconnect reason ( #4150 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
2 years ago
Stefan Pingel
de91d3122b
logging changes for peering ( #4145 )
...
* logging changes for peering
Signed-off-by: Stefan <stefan.pingel@consensys.net>
2 years ago
Sally MacFarlane
60895a8166
Peering logging ( #4142 )
...
* log connected/disconnected state of RemotelyInitiatedConnections
* separate class for logging process message
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Danno Ferrin
d0c71c3bdc
Remove Sonar Integration ( #4135 )
...
Sonar has been removed from the build workflow. This PR removes all
configuration and code markings that were used to facilitate it.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
Jiri Peinlich
1dd7357257
Allow creating the Trie Log Layer objects outside of its package ( #4096 )
...
* Allow creating Trie Log Layer objects outside of its package
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
* Make access public so that I can use the class outside of besu
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
2 years ago
Danno Ferrin
8eb22bbaa1
Prep 22.7.0 release ( #4139 )
...
Prep snapshot of 22.7.0
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
Danno Ferrin
02d834518c
22.7.0-RC2 release ( #4138 )
...
Release 22.7.0-RC2 of Hyperledger Besu
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
Danno Ferrin
359c6f2da0
22.7.0 CHANGELOG.md ( #4137 )
...
update changelog for release
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
garyschulte
e139860549
logging additions for better engine visibility ( #4136 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
Stefan Pingel
86197c449d
increase the default max message size for p2p messages ( #4120 )
...
* remove the limit for the incoming message size. The size is limited on the RLPx layer (16.7MB)
Signed-off-by: Stefan <stefan.pingel@consensys.net>
2 years ago
Stefan Pingel
b7877befdf
Useful response improves reputation ( #4130 )
...
* useful response improves reputation
Signed-off-by: Stefan <stefan.pingel@consensys.net>
2 years ago
garyschulte
0ca45f34b9
alternative malloc implementation - jemalloc ( #4126 )
...
* add malloc arena params to besu startup
* add jemalloc preload to besu startup
* add jemalloc lib download to docker jvm images
* use 5.* for jemalloc-dev version
* add jemalloc to circleci containers for acceptance tests
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
ahamlat
915854cfe1
Update RocksDB default block cache size ( #4132 )
...
* Update RocksDB default block cache size.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
2 years ago
Diego López León
a08ee362ac
Make JsonRpcHttpService to not attend requests in order ( #4099 )
...
Signed-off-by: Diego López León <dieguitoll@gmail.com>
2 years ago
matkt
3ce7f0ff7a
candidate fix for missing parent worldstate ( #4094 )
...
* candidate fix for missing parent worldstate
* add rollback if failure
* fix persist trie log issue
* add trielog manager
* fix inmemory issue for bonsai
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Daniel Lehrner
ac3e075ab3
Check status of block propagation manager before starting or stopping ( #4122 )
...
* check status of block propagation manager before starting or stopping
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
garyschulte
e48b73bb70
post-merge sync and peering fix ( #4116 )
...
* add a merge-specific definiton of bestPeer and the supporting plumbing
Signed-off-by: garyschulte <garyschulte@gmail.com>
* set reached TTD when finishing a fast sync if appropriate
Signed-off-by: garyschulte <garyschulte@gmail.com>
* spdx header
Signed-off-by: garyschulte <garyschulte@gmail.com>
* fix BetterSyncTargetEvaluatorTest tests
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
matkt
f885c46713
Update checkpoint sync for merge ( #4085 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
2 years ago
Fabio Di Fabio
45ce87e5b2
Create backward sync retries on demand ( #4095 )
...
* Create backward sync retries on demand
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Fabio Di Fabio
b25d6d8356
Remove hash to append from the queue only if the step succeeds ( #4105 )
...
* Remove hash to append from the queue only if the step succeeds
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Danno Ferrin
5f69d533e3
Move Taccat to Emeritus ( #4033 )
...
Move Taccat Isid from Active to Emeritus Maintainer.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Gabriel-Trintinalia
28273793d7
Add experimental config option to enable v5 discovery ( #4103 )
...
* Add experimental config option to enable v5 discovery
Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Justin Florentine
0d1d36afc0
log execution errors at right level, stops transition message propagation post-merge sync. ( #4104 )
...
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: garyschulte <garyschulte@gmail.com>
2 years ago
Fabio Di Fabio
94e6541ca1
Fix PR 4098 ( #4106 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Daniel Lehrner
2c26259348
Ignore 2 tests that assume that the system language is English, if that should not be the case ( #4102 )
...
* ignore 2 tests that assume that the system language is English, if that should not be the case
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 years ago
Fabio Di Fabio
823e6c819f
delegate all the block checks and validation to the block import phase ( #4098 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Jiri Peinlich
211015e11a
Finalised blocks should not prevent reorgs in BWS ( #4097 )
...
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
2 years ago
Fabio Di Fabio
a1af83b8de
Backward sync exception improvements ( #4092 )
...
* Remove backward sync exception recursive nesting
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Fabio Di Fabio
b85b39d307
Revert "Add terminal block hash and number to Ropsten genesis file ( #4026 )" ( #4093 )
...
This reverts commit 27fc468624
.
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Justin Florentine
e97ed8d944
host header parse error ( #4083 )
...
* adds test coverage for bug
* corrects root issue and covers the bug
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 years ago