350 Commits

Author SHA1 Message Date
Fabio Di Fabio
8b5b40d21e Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	.github/workflows/codeql.yml
#	.github/workflows/integration-tests.yml
#	.github/workflows/pre-review.yml
#	.github/workflows/reference-tests.yml
#	build.gradle
2025-03-18 11:23:20 +01:00
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
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
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
Sally MacFarlane
d454d1287a [CHANGELOG] tidy up changelog et al (#8360)
* tidy up changelog

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

* typo defaut

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-27 15:36:01 +10:00
Simon Dudley
b425fbeb21 Correct deposit contract testnet addresses (#8346)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-24 23:51:49 +00:00
Vaidik
65baa304d4 Update to new version of jc-kzg-4844 lib (#7849)
* Updating Dependencies
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>

* Update CHANGELOG.md
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Vaidik <vaidikbhardwaj00@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-19 17:00:37 +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
Glory Agatevure
2c9446d30e ephemery genesis - cancun and prague blob config update (#8292)
Signed-off-by: gconnect <agatevureglory@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-18 00:39:28 +00:00
Fabio Di Fabio
2abc4b6491 Merge branch 'main' into zkbesu
# Conflicts:
#	gradle/verification-metadata.xml
2025-02-07 18:20:34 +01:00
daniellehrner
28c3df86f6 Update prague timestamps for Holesky and Sepolia (#8260)
* update prague timestamps for Holesky and Sepolia

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

* update test

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

---------

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2025-02-06 20:19:35 +01:00
Simon Dudley
952deb79e9 Prague times for holesky and sepolia (#8255)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-06 11:11:40 +10:00
Fabio Di Fabio
3485e296f3 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/verify_artifacts.py
2025-01-27 15:29:49 +01:00
Justin Florentine
09581eac20 Pectra testnet fork slots (#8163)
* adds Prague slot times

Signed-off-by: jflo <justin+github@florentine.us>

---------

Signed-off-by: jflo <justin+github@florentine.us>
2025-01-23 21:32:19 +00:00
Fabio Di Fabio
448d1a97ee Merge branch 'main' into zkbesu 2025-01-20 11:20:00 +01: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
Fabio Di Fabio
0b17320927 Merge branch 'main' into zkbesu 2025-01-13 17:28:36 +01:00
garyschulte
2aadbfcb0a implement the proposed gas changes for bls / eip-2537 (#8008)
* implement the proposed gas changes for bls / eip-2537 for pectra-devnet-5
* disable eip-2537 testing until we have new artifacts that reflect pectra gas costs

Signed-off-by: garyschulte <garyschulte@gmail.com>
2025-01-10 00:25:00 +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
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
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
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
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
Simon Dudley
1671306749 Rename targetBlobCount to targetBlobsPerBlock (#7981)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-12-04 16:18:47 +10:00
Fabio Di Fabio
640d3bac0a Merge branch 'main' into zkbesu 2024-11-06 09:16:45 +01:00
Vaidik
2054e12071 nonce as integer for preloaded contracts (#7850)
* fixes #7749
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>

* tests
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>

* spotless format fix
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>

---------

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-11-05 15:31:07 +00:00
Fabio Di Fabio
3ed3e9adf7 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/issue_template.md
2024-11-04 11:30:27 +01: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
Fabio Di Fabio
85c771628e Merge branch 'main' into zkbesu 2024-10-31 13:56:29 +01:00
Simon Dudley
f855d5b72f EIP-7742: Add target_blob_count to block header (#7808)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-10-29 00:30:33 +00:00
Fabio Di Fabio
1f5bd254c5 Merge branch 'main' into zkbesu 2024-10-11 10:33:47 +02:00
Danno Ferrin
efb6906e13 Move EOF to the Osaka Fork (#7719)
* Move EOF to the Osaka Fork

* Ensure Osaka activations are working
* Remove CancunEOF and PragueEOF forks
* Move EOF tools to default to Osaka

Signed-off-by: Danno Ferrin <danno@numisight.com>

* remove eof tests that fail only because of fork

Signed-off-by: Danno Ferrin <danno@numisight.com>

* Restore CancunEOF


* Update unit tests to use "Cancun" as pre-eof fork
* Make PC in trace zeroed to start of code section 0
* Update extcall to consider precompiles warm
* Add stack checking to CALLF operation

Signed-off-by: Danno Ferrin <danno@numisight.com>
---------

Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-10-11 09:43:17 +10:00
Fabio Di Fabio
ef199858b3 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/BesuContainerVerify.sh
#	.github/workflows/docker-promote.yml
#	.github/workflows/draft-release.yml
2024-10-04 11:17:22 +02:00
Glory Agatevure
67d738c8a1 Add ephemery network config (#7563)
* Add Ephemery genesis config file

Signed-off-by: gconnect <agatevureglory@gmail.com>

---------

Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: Glory Agatevure <agatevureglory@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-10-04 01:40:48 +00: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
Justin Florentine
f4dc48d94d Simplifying BesuCommand step 1 (#7682)
Simplifying BesuCommand
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-10-02 15:46:34 +00:00
Fabio Di Fabio
475133177e Merge branch 'main' into zkbesu 2024-10-01 16:02:19 +02:00
Wolmin
6fc75c000f feat: LUKSO Cancun Hardfork (#7686)
* Edit cancun timestamp

Signed-off-by: Wolmin <lamonos123@gmail.com>
2024-09-30 10:37:59 +00:00
Fabio Di Fabio
badb334812 Merge branch 'main' into zkbesu 2024-09-30 08:59:16 +02:00
Jason Frame
23ad2b58b1 Fix operator generator command excluding alloc field when generating config (#7684)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2024-09-30 10:05:24 +10:00
Fabio Di Fabio
98e09d11e5 Merge branch 'main' into zkbesu 2024-09-26 11:45:37 +02: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
Glory Agatevure
04ba15aa92 Add consolidationRequestContract in jsonGenesisConfig (#7647)
* Include consolidationRequestContract in jsonGenesisConfigOptions

Signed-off-by: gconnect <agatevureglory@gmail.com>

* Update changelog and ran spotlessApply

Signed-off-by: gconnect <agatevureglory@gmail.com>

* Rename consolidationRequestPredeployAddress to consolidationRequestContractAddress

Signed-off-by: gconnect <agatevureglory@gmail.com>

* Create request contract addresses class

Signed-off-by: gconnect <agatevureglory@gmail.com>

* Update method calls

Signed-off-by: gconnect <agatevureglory@gmail.com>

* Refactor RequestContractAddresses class and update method calls and test

Signed-off-by: gconnect <agatevureglory@gmail.com>

---------

Signed-off-by: gconnect <agatevureglory@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-09-24 15:06:16 +10:00
Fabio Di Fabio
b6d587f174 Merge branch 'main' into zkbesu 2024-09-23 17:11:35 +02: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
Gabriel Fukushima
637ebcb9c5 add Teku EL-bootnode to holesky genesis (#7648)
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
2024-09-20 02:25:16 +00:00
Fabio Di Fabio
af80dfbd86 Merge branch 'main' into zkbesu
# Conflicts:
#	crypto/algorithms/build.gradle
#	crypto/services/build.gradle
#	datatypes/build.gradle
#	ethereum/rlp/build.gradle
#	evm/build.gradle
#	plugin-api/build.gradle
#	util/build.gradle
2024-09-02 12:25:58 +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
Fabio Di Fabio
80c7e4db48 Merge branch 'main' into zkbesu
# Conflicts:
#	acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/ThreadBesuNodeRunner.java
2024-08-21 10:19:57 +02:00
Simon Dudley
5b8764d648 Add new lodestar bootnode for holesky (#7500)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-08-21 16:27:21 +10:00