daniellehrner
54aaf3d2fc
Add Hoodi as named network ( #8428 )
...
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
2025-03-17 13:47:14 -07:00
Karim Taam
552cb283f9
rename diffbased bonsai prefix ( #8424 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2025-03-17 14:08:35 +00:00
Simon Dudley
789542f76d
Pull in Consensys/tuweni v2.7.0 ( #8330 )
...
This replaces io.tmio/tuweni with the Consensys fork.
Also Includes:
- reduce check argument args allocations - https://github.com/Consensys/tuweni/pull/10
which should reduce Integer and int[] and therefore gc pressure
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
2025-03-17 19:42:25 +10:00
Jason Frame
9fc0e40eb2
Remove unused method getValidatorsAtHead from QbftValidatorProvider ( #8422 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-03-16 23:02:24 +00:00
Matt Whitehead
a190be3f3c
Use protocol schedule to determine mining beneficiary ( #8387 )
...
* Use protocol schedule to determine mining beneficiary
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Add entry to changelog
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Update isolation test
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Fix for zero addresses
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Test compile fix
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Use next header, not current header
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
2025-03-14 10:10:41 +00:00
Jason Frame
b7a0b91f84
Expose static method that can be used for qbft proposal selection ( #8421 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-03-14 17:34:55 +10:00
Bhanu Pulluri
2db46e964c
Enable Quorum/IBFT1 to Besu migration ( #8262 )
...
* Enable Quorum/IBFT1 to Besu migration
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Fix BftMining acceptance test
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Introduce delay after London fork update in BFT mining test to prevent timing issues
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Update besu/src/main/java/org/hyperledger/besu/controller/IbftLegacyBesuControllerBuilder.java
Co-authored-by: Matt Whitehead <matthew1001@hotmail.com >
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com >
* Review changes
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* update creating additional JSON RPC methods for all controllerbuidlers in consensus schedule
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Create ethprotocol manager and plugin factory for both consensus controllers in migration
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Refactor resource files
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* fix verification metadata
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* fix regression
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* update changelog
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Fix controller selection at the transition block
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Review changes
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Revert BftExtraData changes
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: Matt Whitehead <matthew1001@hotmail.com >
Co-authored-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2025-03-12 14:08:51 +00:00
Matt Whitehead
083b1d3986
Ensure block height manager is restarted when BFT coordinator is ( #8308 )
...
* Ensure block height manager is restarted when BFT coordinator is
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor and add runtime exception if an attempt is made to restart without calling reset
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update BFT adaptor
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Uupdate changelog
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add QBFT implementation and tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update IBFT tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Rename reset() -> stop()
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
* Replace the height manager with a no-op height manager while it's stopped
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Javadoc
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
2025-03-12 10:16:12 +00:00
Jason Frame
d8844a6a29
Remove some unneeded types from the QBFT core ( #8371 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-03-06 00:19:20 +00:00
Fabio Di Fabio
74a1d8a1ea
Support pending transaction score when saving and restoring txpool ( #8363 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2025-03-04 09:24:30 +01:00
Jason Frame
7fbf97ba71
Remove QBFT hashmode in qbft core ( #8351 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-27 01:30:11 +00:00
daniellehrner
18e3917f37
increase mainnet & Sepolia gas limit to 36M ( #8249 )
...
* increase mainnet gas limit to 36M, remove unused gas limit calculator from BesuControllerBuilder
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* gas limit in SystemCallProcessor is independent of the block gas limit
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* update test to reflect gas limit increase from 30M -> 36M
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* remove unused gas limit check from previous commit
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* moved the target gas limit constant for testnets to the same class as the one for mainnet
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix tests
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
2025-02-18 14:15:00 +00:00
Jason Frame
0db6ebc4d7
Remove unused qbft core dependencies ( #8319 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-18 19:25:20 +10:00
Jason Frame
efcefad475
Remove QbftBlockHashing as this is provided by the block hash ( #8311 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-17 12:57:05 +10:00
Jason Frame
a021feae03
Change Qbft to use its own QbftBlockHeader type ( #8244 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-07 02:37:32 +00:00
Jason Frame
b24ff90311
Remove PostMergeContext singleton ( #8253 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-06 00:24:28 +00:00
Jason Frame
4dbb72330f
Qbft block type ( #8142 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2025-02-04 05:40:40 +00:00
Bhanu Pulluri
81e1ab9bf4
Round change upon f+1 RC messages (experimental option) ( #7838 )
...
* Fix incorrect duration for THREE_MINUTES from 1 minute to 3 minutes
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Round change upon f+1 RC messages (experimental option)
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Update besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java
Co-authored-by: Matt Whitehead <matthew1001@hotmail.com >
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com >
* revert an unrelated fix already merged to main
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* update return value description
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* fix logging level for couple of logs
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Review changes , added tests
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Merge and fix controller builder test context
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* minor fix to import missing class after merging main
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
* Add missing function header comments
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: Matt Whitehead <matthew1001@hotmail.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Jason Frame <jason.frame@consensys.net >
Co-authored-by: Matt Whitehead <matthew.whitehead@kaleido.io >
2025-01-31 16:41:19 +00:00
Karim Taam
b3192a5960
Refactor the methods for getting mutable states in the WorldState provider ( #8113 )
...
Refactor the methods for retrieving mutable states in the WorldState provider and make additional improvements to clean up the code.
---------
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2025-01-27 16:59:54 +00:00
daniellehrner
a98e950eac
Add baseFeeUpdateFraction to blobSchedule genesis config ( #8128 )
...
* Add baseFeeUpdateFraction to blobSchedule genesis config
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* added genesis file for CodeDelegationTransactionAcceptanceTest
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* remove hard coded baseFeeUpdateFraction from CancunFeeMarket & PragueFeeMarket
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* make FeeMarket constructors package private
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
2025-01-17 12:09:39 +00: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
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
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
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
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
Bhanu Pulluri
f64c147c4a
QBFT: Fix validation of proposal based on older round's prepared block ( #7875 )
...
* QBFT: Fix validation of proposal based on older round's prepared block
* Add round numbers to new blocks and prepared based proposals
* QBFT fix around proposal validation by proposer and testcase updates
- Check the result of proposer's self proposal validation before sending prepare message
- Update roundchange testcases to include round numbers in blocks
* Update changelog with qbft fix
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io >
---------
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 >
2024-11-25 20:55:22 +00:00
Jason Frame
a0fa599f95
remove unused dependencies from qbft ( #7915 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2024-11-25 16:28:05 +10: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
Fabio Di Fabio
833a5ce5dd
Simplify ProtocolContext creation ( #7792 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-19 14:51:04 +00:00
Fabio Di Fabio
1c75afbab9
Remove the Synchronizer from ProtocolContext ( #7863 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-08 14:40:02 +00:00
Justin Florentine
8fce5aa6ff
IntelliJ do not fail me ( #7846 )
...
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-04 09:12:00 +10:00
Justin Florentine
7eb7b870c3
Refactoring around MiningParameters ( #7798 )
...
decoupled parent block header from block creators
optionalized some fields of ProtocolSchedule constructor, which will allow us to reduce number of constructors later.
Refactored JsonBlockImporterTest so it can provide a BesuComponent
ProtocolScheduleBuilder optionalizes the default chainid
Blocks SubCommand is now Dagger aware
Creates but rarely uses ProtocolSpec and ProtocolSchedule modules. Deeper adoption pending.
Adds a Coinbase module with fixed values for use in testing.
Introduces an EthereumCoreComponent, to be used as a subcomponent of BesuComponent in the future.
Introduces a MiningParameters module with common static values used by tests. Removes MiningParameters static constructor.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-01 09:26:41 +10:00
Jason Frame
f16d3526db
Change execution requests to use flat encoding ( #7771 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2024-10-24 09:02:43 +00:00
Fabio Di Fabio
516559fadc
Cleanup: Synchronizer is always present in protocol context ( #7791 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-10-24 08:36:21 +00:00
Matt Whitehead
03a0cfad4b
Support BFT mining coordinator being temporarily stopped while syncing ( #7657 )
...
* Support BFT mining coordinator being temporarily stopped while syncing happens
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Apply same change to IbftBesuControllerBuilder
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add changelog entry
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add event queue start/stop test
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add BFT mining coordinator tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Typo
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftEventQueue.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com >
* Update consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftProcessor.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-10-09 12:07:20 +01:00
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 >
2024-10-04 11:17:46 +10:00
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 >
2024-09-24 11:35:08 +00:00
Matt Whitehead
19d3ca84b2
Dev/test option for short BFT block periods ( #7588 )
...
* Dev mode for short BFT block periods
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactoring
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Fix comment
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor to make BFT block milliseconds an experimental QBFT config option
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update Json BFT config options
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
2024-09-20 10:12:11 +01:00
Matt Whitehead
e721237c26
Don't persist IBFT2 proposal blocks, just validate them ( #7631 )
...
* Don't persist IBFT2 proposal blocks, just validate them
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Tidy up changelog
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
2024-09-20 09:38:57 +01:00
Justin Florentine
9a570d415e
Decouple block creators ( #7468 )
...
* wip decoupled parent block header from block creators
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us >
2024-09-09 13:25:37 +00:00
Stefan Pingel
cf592c48d1
implement engine_getBlobsV1 ( #7553 )
...
* implement engine_getBlobsV1
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-09-06 09:37:36 +02:00
Matilda-Clerke
da98fa5541
Reintroduce engine get client version v1 with commit in manifest ( #7548 )
...
* Include Commit-Hash in manifests
* Add commit method in BesuInfo
* Use 8 character hash in EngineGetClientVersionV1 and revert calculateVersion back to original spec
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
Co-authored-by: garyschulte <garyschulte@gmail.com >
2024-08-30 18:13:53 +00:00
Suyash Nayan
892846aeab
Add qbft_getRequestTimeoutSeconds RPC Method ( #7521 )
...
* Add qbft_getRequestTimeoutSeconds RPC Method
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com >
2024-08-30 15:08:34 +10:00
Matilda-Clerke
0182252523
5098 branch 24 throw checked exception to remove todos ( #7481 )
...
* 5098: Add RpcErrorTypes
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-08-20 14:54:00 +10:00
Matilda-Clerke
ef8aa7c9ec
5098 branch 22 update more invalid params ( #7472 )
...
* 5098: Add RpcErrorTypes
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-08-19 11:35:58 +10:00
Danno Ferrin
51335954c2
Reuse HardforkId in EvmSpecVersion ( #7448 )
...
* Reuse HardforkId in EvmSpecVersion
Move the HardforkId into datatypes and re-use the data in
EvmSpecVersion, keeping evm specific details in the evm and merging the
rest into datatypes.
Signed-off-by: Danno Ferrin <danno@numisight.com >
* Update evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com >
---------
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-08-16 04:02:26 +00:00
Matilda-Clerke
c61cf0b5af
5098 branch 12 update invalid block index and number ( #7440 )
...
* 5098: Add RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Modify InvalidJsonRpcParameters and InvalidJsonRpcRequestException, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Modify InvalidJsonRpcParameters and InvalidJsonRpcRequestException, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Add JsonRpcParameterException for later use
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update locations for RpcErrorType.INVALID_ACCOUNTS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Address review comments, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with changes from branch 1
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_HASH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update plugin-api gradle hash
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Add comment on INVALID_PARAMS_ERROR_CODE
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Apply spotless on latest changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_COUNT
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Add index to exception messages
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apoply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update BaseJsonRpcProcessor to utilise RpcErrorType from InvalidJsonRpcParameters
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Include parameter index in INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Include parameter index in INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Include parameter index in INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Rename INVALID_AUTH_PARAMS to INVALID_PROPOSAL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update INVALID_BLOCK_HASH_PARAMS locations
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update RpcErrorType.INVALID_BLOCK_INDEX
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update RpcErrorType.INVALID_BLOCK_NUMBER
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Remove TODO by wrapping unexpected exception and rethrowing
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-08-13 15:38:20 +10:00
daniellehrner
2158a68296
Fix protocol schedule for devnets ( #7429 )
...
* add `ProtocolSchedule::milestoneFor` to retrieve milestones for every hardfork in the genesis file
* add `setMilestones` and `milestoneFor` to TransitionProtocolSchedule
* refactored all checks for hardforks in the engine API to use hard fork ids
* added tests to test that the engine API v2 endpoints return UNSUPPORTED_FORK past Cancun
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
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 >
2024-08-12 19:38:59 +10:00
Matilda-Clerke
fab239341d
5098 branch 11 update invalid block hash params ( #7421 )
...
* 5098: Add RpcErrorTypes
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-08-12 05:39:35 +00:00