Gabriel-Trintinalia
8f89580542
Fix ConcurrentModificationException on ReattemptPendingPeerRequests ( #4206 )
...
* Handle ConcurrentModificationException on ReattemptPendingPeerRequests
* Replace removeIf with Iterator
Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Diego López León
98dc2ace37
Upgrade Web3J ( #3752 )
...
* Upgrade web3j dependencies to latest versions
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
Co-authored-by: Antony Denyer <git@antonydenyer.co.uk>
Co-authored-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com>
Co-authored-by: Miguel Angel Rojo <freemanz1486@gmail.com>
2 years ago
Sally MacFarlane
80ab648927
typo ( #4217 )
...
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
Diego López León
ebdb19a958
Increase Gradle max heap size ( #4207 )
...
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2 years ago
ahamlat
49244791f0
Apply RocksDB LZ4 compression and compare the performance/resource metrics after sync. ( #4166 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Danno Ferrin
e87482ab6f
update for next release ( #4214 )
...
Ser versions for next release - 22.7.1-SNAPSHOT
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
Danno Ferrin
6eaa5b52d7
Release 22.7.0 ( #4213 )
...
Release Besu 22.7.0
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2 years ago
garyschulte
721638dc04
revert for now ( #4210 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
matkt
b1bff9ce1f
fix enr request order ( #4179 )
...
* fix enr request
* add tests
* removed errant debug
* adds pr feedback and test to ensure ENR responses never go out to incomplete ping/pong handshakes
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Stefan Pingel
42cfff0acb
DNS peers handled the same as boot nodes ( #4178 )
...
* DNS peers handled the same as boot nodes
* make sure that non bonded peers can be used as initial peers
* try to connect to DNS nodes
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Justin Florentine
e1c8eb7fb0
applies merge filtering to peers after 2 finalized ( #4124 )
...
* applies merge filtering to peers after 2 finalized
* fixes logical error in handling status messages
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 years ago
garyschulte
7c29709fe3
fix optional handling and mergeContext mock in unit test for EngineEx…changeTransitionConfiguration ( #4205 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
826648b2de
Feature/engine api override ( #4190 )
...
* initial impl of engine-api override:
* remove reliance on isMergeEnabled in pre-merge block header validation rules
* create a merge-specific block header validtion stack rather than leveraging mainnet
* re-add --engine-api-enabled cli param
* make engine api usable without a merge config.
leaves the door open to supporting the engine api with other MiningCoordinators, but disables all but engine_exchangeTransitionConfiguration in the absence of mergeCoordinator
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
Justin Florentine
992534e417
Only stop block propagation, not tx handling. ( #4186 )
...
* on block propagation stop, only kill the new block and new block hash handlers, leave all others (especially txs) alone
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 years ago
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