Matilda Clerke
41923d3c40
7311: Convert PeerTaskExecutorResult to a record
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e31bb70037
7311: Use constants for number of retries
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
bc25b16dcd
7311: rename timing context to ignored to prevent intellij warnings
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
598b519c08
7311: Use SubProtocol instead of subprotocol name string in PeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b0f2ed024f
7311: Modify PeerTaskExecutor metric to include response time from peer
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
96c803030c
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ad26297963
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Karim Taam
bef897a162
Improve Log Message When Setting RPC Gas Cap for Transaction Simulation ( #7679 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
2 months ago
Matilda Clerke
2d0780055b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
608feceff4
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e2fda73192
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c9eb22e614
7311: Use a 1 second delay between retries in PeerTaskExecutor to match old implementation
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ce7d24582c
7311: Remove unused imports
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
da9cd438ae
7311: Reword trace log in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6de3fb366a
7311: Use ConcurrentHashMap in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
38f04ab5a1
7311: Reword PeerSelector javadoc to avoid implementation details
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ad86ae6e71
7311: Rename PeerManager to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
f077206c66
7311: Fix DownloadReceiptsStep when using peer task system
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
amsmota
aed6bb0044
Implementing support for emptyBlockPeriodSeconds in QBFT (Issue #3810 ) ( #6965 )
...
Implemented support for emptyBlockPeriodSeconds in QBFT (Issue #3810 )
Introduces experimental xemptyblockperiodseconds genesis config option for producing empty blocks at a specific interval independently of the value of the existing blockperiodseconds setting.
https://github.com/hyperledger/besu/issues/3810
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
2 months ago
Gabriel-Trintinalia
e0518c6d94
Force besu to stop on plugin initialization errors ( #7662 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago
Glory Agatevure
04ba15aa92
Add consolidationRequestContract in jsonGenesisConfig ( #7647 )
...
* Include consolidationRequestContract in jsonGenesisConfigOptions
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Update changelog and ran spotlessApply
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Rename consolidationRequestPredeployAddress to consolidationRequestContractAddress
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Create request contract addresses class
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Update method calls
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Refactor RequestContractAddresses class and update method calls and test
Signed-off-by: gconnect <agatevureglory@gmail.com>
---------
Signed-off-by: gconnect <agatevureglory@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago
Matilda-Clerke
4f07e76a6c
7311: Add feature toggle for enabling use of the peertask system where available ( #7633 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Sally MacFarlane
9d689b9401
remove integration tests related to privacy ( #7645 )
...
* remove integration tests related to privacy
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
daniellehrner
1751a77f98
7702 validation checks v2 ( #7653 )
...
* yParity is valid up to 2**256 as well
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 months ago
Matilda Clerke
ab21100042
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Jason Frame
e1f4489741
Disable body validation for POS networks during sync ( #7646 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
Matilda Clerke
84488980f5
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5c3a61ae77
7311: Fix up compile errors after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
049cae271c
7311: Refactor PeerManager to be an interface
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
08c66fd916
7311: Reduce timeout in PeerTaskRequestSender to 5s
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
fc9b3f2517
7311: Adjust to the removal of PeerTaskFeatureToggle and use SynchronizerConfiguration to get the toggle instead
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
daniellehrner
cb1e36a992
Fix 7702 signature bound checks ( #7641 )
...
* create separate signature class for code delegations as they have different bound checks
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* test if increasing xmx let's failing acceptance test pass
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* javadoc
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
6e734f95a8
7311: Remove PeerTaskFeatureToggle in favor of including isPeerTaskSystemEnabled in SynchronizerConfiguration
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e0f736d5cf
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
97e5918d67
7311: Move PeerTaskFeatureToggleTestHelper to TestUtil and fix RunnerTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Suyash Nayan
beaee59212
Add BlobMetrics ( #7622 )
...
* Add BlobMetrics
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* refactor
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* remove unused blob_storage
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* add .size() to BlobCache
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* Add to Changelog
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Matilda Clerke
b2a45c201e
7311: Add GetReceiptsFromPeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Justin Florentine
7d3e376771
shift creation of plugin context to BesuCommand for now ( #7625 )
...
* shift creation of plugin context to BesuCommand for now
* mock component will provide a no-op metrics sys
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Fabio Di Fabio
6df4149f2a
Fix logging the evaluation time when a tx is selected for block creation ( #7636 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Gabriel-Trintinalia
578104e222
Fix Snap Server Account Range tests ( #7552 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
3 months ago
Matilda Clerke
f2500dd4d8
7311: Move PeerTaskFeatureToggle to more appropriate location
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
Matilda Clerke
1ba51845e2
7311: add class
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
Matilda Clerke
a8d5a9f340
7311: Clean up some warnings
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
Matilda Clerke
4b80016587
7311: Add PeerTask system for use in future PRs
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
ITStarMan100
12caf7d83c
Added GraphQL Service Information in responese result NetServices ( #7580 )
...
Signed-off-by: ITStarMan100 <danhopeman@outlook.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Suyash Nayan
5df2a71a4d
Fix debug_traceCall to handle underpriced transactions ( #7510 )
...
* Fix debug_traceCall to handle underpriced transactions
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* remove unused methods
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* Add test case and changelog entry for debug_traceCall fix
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Luis Pinto
e0cd5084c7
Change test to tease NPEs during DefaultBlockchain.<init>() caused by initilization order ( #7607 )
...
* Change test to tease NPEs during DefaultBlockchain.<init>() caused by initilization order
* fixup! Change test to tease NPEs during DefaultBlockchain.<init>() caused by initilization order
* move counters into their own method
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
3 months ago
Luis Pinto
46636c7af2
block header cache not initialized before used ( #7601 )
...
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
daniellehrner
3d71254dfa
Mandatoy to field for 7702 transactions ( #7600 )
...
* fix 7702 tx validation in tx pool
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* check that 7702 transactions always have a mandatory to field
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
jonesho
500a98b6b6
feat: exported metrics for current finalized and safe block number ( #7592 )
...
* feat: exported metrics for current finalized and safe block number
Signed-off-by: Jones Ho <jones.ho@consensys.net>
* Update ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain/DefaultBlockchain.java
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: jonesho <81145364+jonesho@users.noreply.github.com>
* Update ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain/DefaultBlockchain.java
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: jonesho <81145364+jonesho@users.noreply.github.com>
* fix: spotless issue
Signed-off-by: Jones Ho <jones.ho@consensys.net>
---------
Signed-off-by: Jones Ho <jones.ho@consensys.net>
Signed-off-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago