Sally MacFarlane
870f3b7857
default target gas limit for holesky ( #8125 )
...
* default target gas limit for holesky
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2025-01-16 19:55:29 +00:00
Fabio Di Fabio
1bb7624325
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/draft-release.yml
2025-01-15 11:24:31 +01:00
ahamlat
11a43171fa
Improve debug_traceBlock calls performance ( #8103 )
...
- Change debug_traceBlockByNumber implementation by using a pipeline
- Change the defaults to match Geth and Nethermind defaults
- Improve general performance
- Add unit tests
Signed-off-by: Ameziane H. <ameziane.hamlat@consensys.net >
2025-01-14 13:24:40 +01:00
Sally MacFarlane
b797f2e346
log4j conf: replace status (deprecated) with level ( #8087 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2025-01-14 02:36:43 +00:00
Fabio Di Fabio
0b17320927
Merge branch 'main' into zkbesu
2025-01-13 17:28:36 +01:00
Gabriel-Trintinalia
4eb6fb07b7
Rename accountOverride to stateOverride to match spec ( #8111 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-01-13 03:48:43 +00:00
Karim Taam
85f85da3cd
add fallback for parallelization ( #8084 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2025-01-10 21:34:46 +01:00
Luis Pinto
8cddcfd955
Pass miningBeneficiary address to BlockAwareOperationTracer::traceStartBlock calls ( #8096 )
...
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
2025-01-10 11:37:12 +00:00
Simon Dudley
ffd593d72b
Remove EIP-7742 ( #8083 )
...
This EIP was removed and equivalent functionality replaced by EIP-7840.
---
Revert "Rename targetBlobCount to targetBlobsPerBlock (#7981 )"
This reverts commit 1671306749 .
Revert "EIP-7742: Add target_blob_count to block header (#7808 )"
This reverts commit f855d5b72f .
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
2025-01-07 01:19:26 +00:00
Luis Pinto
b3b33da540
eip-7709 implement BLOCKHASH opcode from system contract state ( #7971 )
...
* eip-7709 implement BLOCKHASH opcode from system contract state
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
* fixup! eip-7709 implement BLOCKHASH opcode from system contract state
reimplement blockhashlookup with MessageFrame instead of WorldUpdater
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
* fixup! eip-7709 implement BLOCKHASH opcode from system contract state
address review comments
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
* fixup! eip-7709 implement BLOCKHASH opcode from system contract state
add comment about unused BlockHashProcessor
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
---------
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
2024-12-20 10:29:25 +00:00
Jason Frame
ea8579d63a
Move the core of qbft into a qbft core module ( #8043 )
...
Move the core of QBFT into a qbft core module so it can be reused outside Besu
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2024-12-20 13:12:06 +10:00
Karim Taam
14c008d648
Revert "update trace logique to fix journal updater issue ( #7758 )" ( #8054 )
...
This reverts commit 6a546c5e6f .
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2024-12-19 10:54:53 +01:00
Gabriel-Trintinalia
2098dd243e
Fix merge error
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-19 18:43:57 +11:00
Gabriel-Trintinalia
1ddf1e2599
Merge branch 'main' into zkbesu
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-19 18:18:00 +11:00
Gabriel-Trintinalia
a03c98bf9e
eth_simulateV1 - Add BlockSimulator feature ( #7941 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-19 05:01:07 +00:00
Matilda-Clerke
320c4764ce
Replace waitforpeertask with ethpeers method ( #8009 )
...
* 7582: Add waitForPeer method to PeerSelector and EthPeers
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Replace all usages of WaitForPeer[s]Task with new EthPeers.waitForPeer method
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Fix PivotBlockConfirmerTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Fix broken PivotBlockRetrieverTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Fix broken FastSyncActionsTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Fix issues after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Put AbstractSyncTargetManager.waitForPeerAndThenSetSyncTarget code back separate thread to avoid infinite loop waiting for peers during acceptance tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Remove pivot block checks when waiting for peer in FastSyncActions
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Remove estimated chain height check from PivotBlockConfirmer when waiting for peers
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7582: Fix broken PivotBlockRetrieverTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* Use isSuitablePeer as peer selection criteria when waiting for a peer in AbstractRetryingPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* Remove MetricsSystem from PivotSelectorFromPeers
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
2024-12-18 23:39:59 +00:00
Justin Florentine
3b4136dac5
rename GenesisConfigFile because it's not a file at all ( #8050 )
...
Signed-off-by: jflo <justin+github@florentine.us >
2024-12-18 17:39:00 -05:00
Bhanu Pulluri
43c8a6a89b
Add RPC HTTP options to specify custom truststore and password ( #7978 )
...
* Add RPC HTTP options to specify custom truststore and it's password
* Update error logs to indicate options to use
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
---------
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com >
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-12-18 12:45:01 +10:00
Fabio Di Fabio
6e255ceb6c
Merge branch 'main' into zkbesu
...
# Conflicts:
# build.gradle
# gradle/verification-metadata.xml
2024-12-13 12:23:25 +01:00
Preeti
e2bd137202
Chore!: Removed Deprecated --host-whitelist option ( #8012 )
...
* Chore:Removed Deprecated --host-whitelist option
* chore: Update everything_config.toml and Updated upcoming Breaking Change in CHANGELOG.md file
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com >
---------
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-12-11 11:03:52 +00:00
Matilda-Clerke
657effffd4
7311 add get headers from peer task ( #7781 )
...
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken BesuCommandTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: add class
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move PeerTaskFeatureToggle to more appropriate location
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: add X prefix to peertask-system-enabled
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move --Xpeertask-system-enabled out of BesuCommand and make hidden
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add GetReceiptsFromPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move isPeerTaskSystemEnabled to SynchronizerOptions
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix javadoc issue
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix javadoc issue
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move PeerTaskFeatureToggleTestHelper to TestUtil and fix RunnerTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove PeerTaskFeatureToggle in favor of including isPeerTaskSystemEnabled in SynchronizerConfiguration
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Adjust to the removal of PeerTaskFeatureToggle and use SynchronizerConfiguration to get the toggle instead
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Reduce timeout in PeerTaskRequestSender to 5s
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Refactor PeerManager to be an interface
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up compile errors after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix MetricsAcceptanceTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix MetricsAcceptanceTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix DownloadReceiptsStep when using peer task system
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rename PeerManager to PeerSelector
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Reword PeerSelector javadoc to avoid implementation details
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use ConcurrentHashMap in DefaultPeerSelector
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Reword trace log in DefaultPeerSelector
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove unused imports
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use a 1 second delay between retries in PeerTaskExecutor to match old implementation
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix MetricsAcceptanceTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix MetricsAcceptanceTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Modify PeerTaskExecutor metric to include response time from peer
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use SubProtocol instead of subprotocol name string in PeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: rename timing context to ignored to prevent intellij warnings
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use constants for number of retries
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Convert PeerTaskExecutorResult to a record
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rename PeerTaskBehavior to PeerTaskRetryBehavior
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move peer selection logic to PeerSelector
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up everything broken after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Attempt to improve performance of peer task system in pipeline
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: fix compile check
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken workflow
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Reduce logging in JsonRpcExecutor to trace level
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: More changes in DownloadReceiptsStep
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rework DownloadReceiptsStep
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 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 >
* 7311: Update after merge and make discussed changes from walkthrough discussion
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Change to regular HashMap
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove runtime exception again
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rework PeerTaskExecutor retry system to be 0-based
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up compile errors after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken DownloadReceiptsStepTest test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move GetReceipts to services worker for parallelism
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Refactor peer task system usage in DownloadReceiptsStep to better match old system
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove unused async methods in PeerTaskExecutor
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Return Optional<EthPeer> in PeerSelector.getPeer and utilise existing peer selection behavior in EthPeers
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Redo getPeer again to include hasAvailableRequestCapacity check
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add protocol spec supplier to GetReceiptsFromPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rework getPeer again to use LEAST_TO_MOST_BUSY comparator
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Import PeerNotConnected class instead of using fully qualified class name
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Change to specifying retry counts in PeerTask instead of behavior enums
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: clean up after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: clean up after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up javadoc
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add additional metrics to PeerTaskExecutor
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add Predicate to PeerTask to check for partial success
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix incorrect name on isPartialSuccessTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement isPartialSuccess and add unit tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add partialSuccessCounter and inflightRequestGauge in PeerTaskExecutor
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Also filter by whether a peer is fully validated
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove unneeded throws in RunnerTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up inflight requests gauge in PeerTaskExecutor
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update plugin api hash
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update plugin api hash
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add javadoc to LabelledGauge.isLabelsObserved
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update plugin-api hash
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update changelog
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement GetHeadersFromPeerTask and use in DetermineCommonAncestorTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Handle headers with no receipts as a special case in DownloadReceiptsStep
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Complete merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Get DetermineCommonAncestorTask working with peer task system
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use taskName instead of className for labelNames
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use snake_case for metric names
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use _total metric name suffix
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: rework partial success handling
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update GetReceiptsFromPeerTask with partialSuccess changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update GetHeadersFromPeerTask with partialSuccess changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add default implementation to LabelledGauge.isLabelsObserved
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use Peer task systems GetHeadersFromPeerTask in GetBlockFromPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove unused constructor from AbstractPeerBlockValidator
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use GetHeadersFromPeerTask in AbstractPeerBlockValidator
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use peer task executor in SyncTargetManager
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix javadoc on BesuControllerBuilder
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove logs used to confirm operation
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement GetHeadersFromPeerTask in FastSyncActions and PivotBlockConfirmer
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Rename parseResponse to processResponse
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Wrap peer task system usage in ethScheduler call to match other usages
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 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 >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix compile issue after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix compile issue after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove BodyValidator and update code and test to match
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement GetHeadersForPeerTask usage in DownloadHeadersStep
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: remove unneeded logs
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up pre-fill and add test to test failure scenario
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use ProtocolSchedule.anyMatch to find if any ProtocolSpecs are PoS, remove new usages of currentProtocolSpecSupplier
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Only attempt to remove headers on successful requests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: clean up after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: clean up after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use peer task system in RangeHeadersFetcher
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use peer task system in DownloadHeaderSequenceTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix GetHeadersFromPeerTask mocking in CheckPointSyncChainDownloaderTest
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Extract peer task executor answer for getHeaders to separate class for reuse in tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement peer task system usage in BackwardSyncStep
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement peer task system usage in ChainHeadTracker
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement peer task system usage in PivotSelectorFromSafeBlock and improve logging
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Implement unit test for GetHeadersFromPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix up merge compile error
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Ensure FastSyncActions and PivotSelectorFromSafeBlock retry getting headers for all peers, matching RetryingGetHeaderFromPeerByHashTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Change PeerTaskExecutorResult.ethPeer to an Optional
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use CancellationException instead of InterruptedException in PivotBlockConfirmer
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use PivotBlockRetriever.MAX_QUERY_RETRIES_PER_PEER to set retries for GetHeadersFromPeerTask
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Add PeerTask.shouldDisconnectPeer and ensure functionality matches old code
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove old info logs
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken test by correctly including peer in PeerTaskExecutorResults in test classes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix incorrect equality tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move PeerTaskExecutor into EthContext to reduce plumbing changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Remove protocol check from GetHeadersFromPeerTask.getPeerRequirementFilter
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Refactor peer task validation
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Refactor peer task validation
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Use peer count for retry count when getting headers in BackwardSyncStep, FastSyncActions, and PivotSelectorFromSafeBlock
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Move chainstate update into GetHeadersFromPeerTask.postProcessResult
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Fix compile errors
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 7311: Update after merge
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-12-11 05:03:31 +00:00
Fabio Di Fabio
cf5047911e
Merge branch 'main' into zkbesu
2024-12-06 13:51:27 +01:00
Fabio Di Fabio
f8e93bf544
Support rpc pending block tag when estimating gas ( #7951 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-12-06 12:50:38 +00:00
Daniel Lehrner
a7322fc820
fixe LineaTest: BesuControllerBuilder needs to have the ApiConfigurations set
2024-12-04 20:22:44 +01:00
Bhanu Pulluri
1b7b6e8025
Add RPC WS options to specify password file for keystore and truststore ( #7970 )
...
* Add RPC WS options to specify password file for keystore and truststore
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* update changelog
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
---------
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com >
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-12-04 16:53:40 +00:00
Daniel Lehrner
a8c1c90176
Merge branch 'main' into zkbesu
...
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
2024-12-04 15:28:16 +01:00
Karim Taam
6a546c5e6f
update trace logique to fix journal updater issue ( #7758 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2024-12-04 09:36:54 +01:00
Fabio Di Fabio
74929eb215
Revert "revert to unchanged plugin interface signature ( #7938 )" ( #7977 )
...
This reverts commit f08147acef .
# Conflicts:
# plugin-api/build.gradle
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2024-12-03 19:13:10 +00:00
Fabio Di Fabio
c320724d29
TransactionSimulator can be a singleton ( #7925 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: daniellehrner <daniel.lehrner@consensys.net >
2024-11-29 13:52:24 +00:00
Fabio Di Fabio
551b4d1697
Merge branch 'main' into zkbesu
...
# Conflicts:
# plugin-api/build.gradle
2024-11-29 12:35:18 +01:00
Sally MacFarlane
afd4da1974
Fast sync - deprecation warning ( #7906 )
...
* fast sync log warnings for deprecation
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* minor text change in changelog
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-29 10:27:09 +00:00
Sally MacFarlane
63496dbc6c
Remove P2P TLS (experimental) feature ( #7942 )
2024-11-29 15:43:50 +10:00
Sally MacFarlane
792c6569cd
PoW mining - deprecation ( #7905 )
2024-11-29 05:09:15 +00:00
Sally MacFarlane
979ea5de74
[MINOR] (privacy deprecation) correct target to 24.12.0 ( #7953 )
2024-11-29 04:43:30 +00:00
Fabio Di Fabio
44d0f9d0a2
Revert "revert to unchanged plugin interface signature ( #7938 )"
...
This reverts commit f08147acef .
# Conflicts:
# plugin-api/build.gradle
2024-11-28 09:48:30 +01:00
Fabio Di Fabio
607e48a19b
Merge branch 'main' into zkbesu
...
# Conflicts:
# metrics/core/src/main/java/org/hyperledger/besu/metrics/noop/NoOpMetricsSystem.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/opentelemetry/OpenTelemetrySystem.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusHistogram.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java
# metrics/core/src/test-support/java/org/hyperledger/besu/metrics/StubMetricsSystem.java
# plugin-api/build.gradle
# plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/Histogram.java
2024-11-27 16:09:57 +01:00
Fabio Di Fabio
5b2da5a068
Migrate to Prometheus lib 1.x ( #7880 )
...
* Upgrade to Promethus java client 1.x and adapt the code to the new version
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Update CHANGELOG.md
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-27 11:04:31 +00:00
Stefan Pingel
126debbd92
remove protocol name ( #7922 )
...
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
2024-11-27 03:54:00 +00:00
Sally MacFarlane
58fbbe3c37
add deprecation warnings to help and log messages ( #7902 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-27 02:12:25 +00:00
Gabriel-Trintinalia
27592b5299
Expose start and stop synchronization to plugin aPI ( #7940 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-26 23:08:17 +00:00
Justin Florentine
f08147acef
revert to unchanged plugin interface signature ( #7938 )
...
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-26 17:16:09 -05:00
Karim Taam
46204773d3
renaming state trie account for verkle integration ( #7907 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2024-11-25 11:51:12 +01:00
Gabriel-Trintinalia
40648511cb
Add mining service ( #7913 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-25 01:59:14 +00:00
Gabriel-Trintinalia
660a354237
Merge branch 'main' into zkbesu
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-25 11:22:47 +11:00
Sally MacFarlane
302999aa18
Privacy deprecation warnings on CLI ( #7897 )
...
* add deprecation notice to help descriptions for all privacy options
* log deprecation warning for privacy enabled options
* added @Deprecation annotations to privacy plugin classes
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-22 02:08:04 +00:00
Sally MacFarlane
55920e002a
add Tx simulate method that accepts state override ( #7892 )
...
* move AccountOverrides into plugin datatypes; add simulate method that accepts this param
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-21 08:53:54 +10:00
Justin Florentine
c127f9c1d7
naming things is important ( #7895 )
...
BesuContext was not a helpful name for an interface that only manipulates services to be used by plugins.
---------
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-20 22:23:49 +00:00
Fabio Di Fabio
fe462896d2
Add support for counter metric with external supplied value ( #7894 )
...
* Add support for counter metric with external supplied value
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Update CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-20 18:42:36 +01:00
Fabio Di Fabio
73a1e5beee
Simplify difficulty calculator interface ( #7893 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-20 16:38:39 +00:00
Sally MacFarlane
96e9ed853f
merge main
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-20 12:27:09 +10:00