717 Commits

Author SHA1 Message Date
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
Bhanu Pulluri
f39b90bd25 Add condition checks to stabilize BFT soaking test (#8379)
* Add delays to stabilize BFT soaking test

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Enable specifying timeout for peer discovery in ATs

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>
2025-03-13 23:25:52 +00: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
Cristiano Aguzzi
72ac7bdbe4 [Follow up] Add Transaction Permissioning Hook to PermissioningService Interface (#8365)
* fixing the issue of implementing the permission service class in pr when it already exists
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>

* wiring transaction filtering for Permissioning Plugins

* revert modify deprated code for TransactionSmartContractPermissioning

* Improve logging for AccountPermissioningController

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Cristiano Aguzzi <relu91@users.noreply.github.com>

* Improve logging messages for AccountPermissioningController

* Allign AccountPermissioningControllerFactoryTest with the latest api

Signed-off-by: reluc <relu.cri@gmail.com>

---------

Signed-off-by: Vaidik <vaidikbhardwaj00@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: reluc <relu.cri@gmail.com>
Signed-off-by: Cristiano Aguzzi <relu91@users.noreply.github.com>
Co-authored-by: vaidikcode <vaidikbhardwaj00@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2025-03-12 07:41:09 +00:00
Matilda-Clerke
90db4872a4 7935: add era1 format to blocks importer (#8352)
* Refactor to use clock to validate expiry

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* 7935: Finish unit testing E2StoreReader

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Build out E2StoreReader and associated files

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Spotless

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Add javadoc to new util module classes

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Implement Era1 block import sub command

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Remove unnecessary e2 and era file stuff

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Rename files to be era1 specific

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Rename e2 package to era1

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Spotless

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Rename Era1StoreReaderListener to Era1ReaderListener

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Clean up after merge

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Set up Era1BlockImporter to enable FAST sync and variations upon besu running

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Use bouncycastle for little endian to long conversion

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Rename slot related variables to blockIndex

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Spotless

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Fix broken unit test

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Fix AT compilation

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Fix javadoc

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Rework Era1BlockImporter to use appropriate data directory. Add unit test

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Fix javadoc

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* changelog

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Add era1 files to .gitattributes as binary file type

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

* Remove pivot block header file creation from Era1BlockImporter

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>
2025-03-11 13:42:56 +11:00
Bhanu Pulluri
e0bad4660e Deprecate Xsnapsync-bft-enabled option , to be removed in future release (#7930)
* Move snapsync-bft-enabled to stable options

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Add deprecation comments:

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Changelog entry for deprecation

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* spotlessApply

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Update CHANGELOG.md

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>

* Removed option value checking to enable snapsync for bft networks. It's now supported by default

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Add acceptance tests for QBFT sync

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Update test

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* update CHANGELOG

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Update besu/src/main/java/org/hyperledger/besu/cli/options/SynchronizerOptions.java

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>

* add delay to let the new validator sync

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* update BFT sync AT to use conditions and timeouts

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>
2025-03-10 08:27:03 +00:00
Sally MacFarlane
6361ef5feb remove tests and associated classes for smart contract permissioning (#8372)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-03-05 02:58:14 +00:00
Sally MacFarlane
887e6d5101 remove unused wiremock dependency (#8318)
* remove unused wiremock dependency

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* updated metadata

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-25 08:49:47 +10:00
Fabio Di Fabio
f54e4555bb Fix and re-enable CliqueProposeRpcAcceptanceTest (#8324)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-20 05:36:21 +00:00
Sally MacFarlane
984173e134 update some deprecated references (#8314)
* update some deprecated references

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* change order of params to eliminate deprecation warning

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-18 22:24:39 +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
Sally MacFarlane
b4e7dbae25 upgrade web3j plugins (#8296)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-16 01:02:06 +00:00
Fabio Di Fabio
ccb23ab9a0 Fix the cleanup of subprocesses after each AT (#8306)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-16 09:58:24 +10:00
Fabio Di Fabio
46e74d1949 Stop all sub processes spawn by acceptance tests (#8284)
* Stop all sub processes spawn by acceptance tests

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Reduce memory used by Gradle

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-14 08:33:14 +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
Roman Vaseev
d65b525aef Configurable Storage Factory in ThreadBesuNodeRunner (#8259)
Co-authored-by: Jason Frame <jason.frame@consensys.net>
2025-02-06 19:11:43 +10:00
Sally MacFarlane
5534d650fd Revert "Stop all sub processes spawn by acceptance tests" (#8236)
This reverts commit d691f45b0e.

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-04 15:00:28 +10:00
Sally MacFarlane
a2ef71b425 disable flaky test classes (#8239)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-04 14:33:23 +10:00
Fabio Di Fabio
d691f45b0e Stop all sub processes spawn by acceptance tests (#8226)
* Stop all sub processes spawn by acceptance tests

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Split long running test in 3 parts

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Run ATs sequentially

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-04 08:36:49 +10:00
Karim Taam
68665db454 Fix code delegation issue found in pectra devnet (#8203)
* add acceptance tests to verify that code delegations are persisted even if the tx itself fails
* set node to use bonsai, set correct nonce for code delegation, make sure revert in contract has the 2 necessary items on the stack
* Hive test fix: only add account if authority nonce is valid (0)
---------

Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2025-01-31 05:42:13 +00:00
Sally MacFarlane
5ac3247d38 TransactionResult: add v for blob and pending tx (#8196)
* add v for blob and pending tx

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* add v for blob and pending tx in tests

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* add v for blob tx in test

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-01-30 16:11:00 +10:00
Gabriel-Trintinalia
b150b103e2 Check if discovery service is running before admin_addPeer (#8160)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-01-23 22:29:13 +00:00
daniellehrner
e9a94f3682 Devnet-5: bug fixes for 7702 (#8148)
* * fix code hash for delegated accounts in ExtCodeHashOperation
* move common code to AbstractExtCodeOperation class

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* * rename DelegatedCode -> CodeDelegation, for consistency

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* * rename authorization -> CodeDelegation, for consistency

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* rename method to start with lower case

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

---------

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2025-01-22 21:59:27 +01:00
Gabriel-Trintinalia
702ce74c3d Simulation: Add nonce to call parameter (#8139)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-01-20 15:31:52 +11: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
daniellehrner
8308650ef9 Exclude empty requests from requests hash (#8036)
* exclude empty requests from requests hash

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* Exclude empty requests and prepend request type byte in engine_getPayloadV4

Fixes https://github.com/ethereum/execution-apis/pull/599 change to EIP-7685

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

* fix test

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* fix prague tests: change request hash, reorder json elements

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* fix extracting of request for new payload

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* fix test by fixing request object creation

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* spotless

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* set request type to only one byte, fixed creation of request list in T8nExecutor

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* fix expected json output to exclude empty requests

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

---------

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2025-01-14 19:45:10 +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
Simon Dudley
fa9ca9c27f Update EIP-2935 (#8066)
* Update HISTORY_STORAGE_ADDRESS and HISTORY_SERVE_WINDOW for EIP-2935

https://github.com/hyperledger/besu/issues/8061

* Update HISTORY_STORAGE_ADDRESS and genesis code in tests.

Even for unrelated tests, this has a knock-on impact on the state root due to the history storage account being created when the BlockHashProcessor runs for block 1

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-01-07 16:25:02 +10: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
Simon Dudley
e830db7248 EIP-7840 Implementation (#8042)
Drive Cancun, Prague and Osaka target and max blobs per block from genesis config.
If blobSchedule is missing, use the mainnet default values.
Target is wired into appropriate *GasCalculator implementations.
Max is wired into appropriate *TargetingGasLimitCalculator implementations.

---------

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-12-20 00:14:35 +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
Sally MacFarlane
4aa89b2ee1 [FLAKE] disable CliqueProposeRpcAcceptanceTests x 2 (#8035)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-12-17 08:47:25 +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
Fabio Di Fabio
2be04cab71 Fix flaky Clique test waiting for nodes to be fully connected (#7993)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-12-06 07:04:31 +10: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
Sally MacFarlane
63496dbc6c Remove P2P TLS (experimental) feature (#7942) 2024-11-29 15:43:50 +10:00
Sally MacFarlane
979ea5de74 [MINOR] (privacy deprecation) correct target to 24.12.0 (#7953) 2024-11-29 04:43:30 +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
Gabriel-Trintinalia
40648511cb Add mining service (#7913)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-11-25 01:59:14 +00: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
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
58acfcea78 Add support for TransactionPoolService in acceptance tests (#7861)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-11-19 17:19:53 +00:00
Justin Florentine
dc81641c58 narrows dependencies of BlockchainService (#7882)
Signed-off-by: jflo <justin+github@florentine.us>
2024-11-19 13:15:09 +00:00
wangjingcun
3ebf50ea0b chore: fix some typos in comments (#7866)
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-08 09:00:29 +00:00
Fabio Di Fabio
a585f1f2f7 Fully initialize MetricCategoryRegistry for acceptance tests (#7860)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-11-06 06:04:54 +00:00
Justin Florentine
03a2b92f00 IntelliJ do not fail me (#7855)
Signed-off-by: jflo <justin+github@florentine.us>
2024-11-04 12:36:11 -08: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