Matilda Clerke
a357ecf331
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
26476ae351
7311: Move check for empty trie hash into GetReceiptsFromPeerTask and update unit test to test for this functionality
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
d827e68d11
7311: apply spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
1b9922f8b8
7311: Wrap peer task system usage in ethScheduler call to match other usages
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
c2205c4768
7311: Rename parseResponse to processResponse
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Sally MacFarlane
76060a0416
[TESTING] remove junit4 dependency ( #7793 )
...
* migrate to junit5
* remove junit4 dep
* remove vintage dep
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Sally MacFarlane
d8d1237252
[TESTING] remove junit4 assumeThat ( #7788 )
...
* use junit5 assumeTrue/false
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Stefan Pingel
7e61f74ff7
Add requests root to empty block check ( #7785 )
...
* add requests root to empty block check and move it to BlockHeader
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
1 month ago
Fabio Di Fabio
9a7744763a
Create and publish Besu BOM (Bill of Materials) ( #7615 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Matilda-Clerke
111aadcb0c
7311: Remove unused constructor from AbstractPeerBlockValidator ( #7782 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
2169985ee2
7311: add peertask foundation code ( #7628 )
...
* 7311: Add PeerTask system for use in future PRs
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b075a917df
7311: Fix broken unit test
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Fabio Di Fabio
dfbfb96f28
Fine tune already seen txs tracker when a tx is removed from the pool ( #7755 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Sally MacFarlane
5469b52eb5
remove unnecessary casts and verify ( #7776 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
c396fb5ad9
7311: Update GetReceiptsFromPeerTask with partialSuccess changes
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ed2594169d
7311: rework partial success handling
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
750353585f
7311: Use _total metric name suffix
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ac1c4ed9d4
7311: Use snake_case for metric names
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
44fd3a8870
7311: Use taskName instead of className for labelNames
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6800cdd2ed
7311: Complete merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
716874e160
7311: Remove code only used in test, update test to use code used in production code ( #7775 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
acfbc82aa5
7311: Remove unused code, update tests to use used code ( #7772 )
...
* 7311: Remove unused code, update tests to use used code
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7311: Disable invalid test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
FlorianHuc
e720d8f670
add info related to tx validity ( #7773 )
...
* add info related to tx validity
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
---------
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
e664a51c00
7311: Handle headers with no receipts as a special case in DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Sally MacFarlane
f0e9f409e6
Copyright Besu ( #7768 )
...
* update copyright for new files only if not matching existing patterns
* scripts too
* scripts all use Besu copyright
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Simon Dudley
b6a09cd136
revert "7536 use head for snap sync ( #7718 )" ( #7767 )
...
This reverts commit a7e1f6ace0
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Simon Dudley
5330e5ae6d
Disable --Xsnapsync-to-head-enabled by default ( #7764 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
garyschulte
6c49c734ef
Add eip-2537 functions to evmtool benchmark subcommand ( #7708 )
...
* add bls12 g1/g2 to evmtool benchmark subcommand
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 months ago
Fabio Di Fabio
d5ee9b7bb1
Fix eth_feeHistory rewards when bounded by configuration ( #7750 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Matilda Clerke
3a68980088
7311: Fix up inflight requests gauge in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Bhanu Pulluri
174d4281da
Add null pointer check and testcase for snapsync tasks ( #7724 )
...
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Stefan Pingel
f9bed5930c
don't do too much work when transaction pool is disabled ( #7753 )
...
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Matilda Clerke
a3f5d4ac68
7311: Also filter by whether a peer is fully validated
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d66dd3a4cd
7311: Add partialSuccessCounter and inflightRequestGauge in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Danno Ferrin
efb6906e13
Move EOF to the Osaka Fork ( #7719 )
...
* Move EOF to the Osaka Fork
* Ensure Osaka activations are working
* Remove CancunEOF and PragueEOF forks
* Move EOF tools to default to Osaka
Signed-off-by: Danno Ferrin <danno@numisight.com>
* remove eof tests that fail only because of fork
Signed-off-by: Danno Ferrin <danno@numisight.com>
* Restore CancunEOF
* Update unit tests to use "Cancun" as pre-eof fork
* Make PC in trace zeroed to start of code section 0
* Update extcall to consider precompiles warm
* Add stack checking to CALLF operation
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Preeti
e723b622c8
Chore:Resolved java Util NoSuchElementException ( #7730 )
...
* Chore:Resolved java Util NoSuchElementException
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
3b8b7d5938
7311: Implement isPartialSuccess and add unit tests
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
3c12d3d8c3
7311: Fix incorrect name on isPartialSuccessTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b06f38b260
7311: Add Predicate to PeerTask to check for partial success
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1c268b70cd
7311: Add additional metrics to PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
20478d32df
7311: clean up after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e9d08f3f55
7311: clean up after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
545fd5c29d
7311: Change to specifying retry counts in PeerTask instead of behavior enums
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Simon Dudley
e4c1b5991c
Fix RocksDBException: Busy during snapsync ( #7746 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
2 months ago
Stefan Pingel
0cd51065d1
Keep track of blobs that are part of multiple transactions ( #7723 )
...
* keep track of blobs that are part of multiple transactions
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
Stefan Pingel
11a62a0720
Fix unhandled exception ( #7743 )
...
* clean up and use thread safe cache
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Matilda Clerke
37b0ec2659
7311: Import PeerNotConnected class instead of using fully qualified class name
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8186a77d70
7311: Rework getPeer again to use LEAST_TO_MOST_BUSY comparator
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
86a1f0bf51
7311: Add protocol spec supplier to GetReceiptsFromPeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8becdb3ef5
7311: Redo getPeer again to include hasAvailableRequestCapacity check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago