Matilda Clerke
1c268b70cd
7311: Add additional metrics to PeerTaskExecutor
...
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
8becdb3ef5
7311: Redo getPeer again to include hasAvailableRequestCapacity check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5aa6b0be5f
7311: Return Optional<EthPeer> in PeerSelector.getPeer and utilise existing peer selection behavior in EthPeers
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c047f428bf
7311: Remove unused async methods in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Justin Florentine
3e7e4d88fd
Sonar cloud build failure ( #7739 )
...
* don't try to import to an existing db
* deprecated task
* testutil subproject hit a sonar bug
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
kingnhcomcast
1ce28daca5
7632 - add sync-min-peers to log and config overview ( #7732 )
...
add sync-min-peers to log and config overview
Signed-off-by: Kevin King <kevin.king@consensys.net>
2 months ago
kingnhcomcast
a7e1f6ace0
7536 use head for snap sync ( #7718 )
...
* Add support to sync to head instead of safe block during snapsync
Signed-off-by: Kevin King <kevin.king@consensys.net>
Signed-off-by: kingnhcomcast <114761064+kingnhcomcast@users.noreply.github.com>
2 months ago
Matilda Clerke
0896e31de7
7311: Rework PeerTaskExecutor retry system to be 0-based
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d84520ab83
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6d2cb95678
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Sally MacFarlane
21e95a9efb
add correct default to rpcHost ( #7725 )
...
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Danno Ferrin
81f9fc9c33
Change evmtool eof-test handling of empty code ( #7675 )
...
In EOFTest, treat empty code as invalid.
Signed-off-by: Danno Ferrin <danno@numisight.com>
2 months ago
Fabio Di Fabio
5fd87d61f1
Support chainId in CallParameters ( #7720 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Justin Florentine
911f12efa0
Repackage options ( #7688 )
...
Updates MetricsOptions to implement CLIOptions, and to contain its unstable options.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Matilda Clerke
e63f4730c6
7311: Make changes as discussed in walkthrough meeting
...
Remove DefaultPeerSelector, make EthPeers implement PeerSelector interface, and add PeerTask.getPeerRequirementFilter
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Suyash Nayan
49c6cbd1c3
return list in engine_getClientVersionV1 response ( #7663 )
...
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Justin Florentine
f4dc48d94d
Simplifying BesuCommand step 1 ( #7682 )
...
Simplifying BesuCommand
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Karim Taam
9310e1031d
Fix storage range issue during snapsync ( #7624 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Bhanu Pulluri
db1899c227
Expose revert reason field through GraphQL ( #7677 )
...
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
Fabio Di Fabio
7af03b7295
Align gas cap for transaction simulation to Geth approach ( #7703 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Usman Saleem
d081c1754c
fix: Fix DNSDaemonTest - remove flaky assertion ( #7701 )
...
* fix: Fix DNSDaemonTest - remove flaky assertion
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
2 months ago
Stefan Pingel
9c80c9bf42
Improve finding peers ( #7626 )
...
* add check before adding peer to peer table
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Matilda Clerke
50c26f138b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
7d845b327b
7311: Move peer selection logic to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Fabio Di Fabio
ffef4d5844
Fix for zombie invalid and penalized txs ( #7659 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Preeti
f541710c65
Chore:Resolved EnginerGetClientVersionV1 fails for local build ( #7687 )
...
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
720f94ef50
7311: Rename PeerTaskBehavior to PeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Fabio Di Fabio
f9695c18c0
Interrupt candidate tx execution on block creation timeout ( #7673 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
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