300 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
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
Sally MacFarlane
7390519095 fix distDocker - revert gradle change to providers.exec (#8340)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-21 19:20:41 +10:00
Fabio Di Fabio
679e0dec1a Update Gradle plugins (#8334)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-20 23:12:14 +00:00
Fabio Di Fabio
0e54416026 Update Spotless Gradle plugin (#8333)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-20 14:44:56 +10:00
Sally MacFarlane
1508b5cba5 [build] update use of gradle deprecated features (#8295)
* gradle 8.11

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-17 06:17:41 +10:00
Fabio Di Fabio
19119f1e0f Fix BOM pom publication to Artifactory (#8021)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-12-12 18:16:23 +00:00
Fabio Di Fabio
eb7bb53d3a Merge branch 'main' into zkbesu 2024-11-05 12:27:36 +01:00
garyschulte
1da0e9f232 remove dangling retesteth references (#7856)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-11-05 07:16:36 +10:00
Fabio Di Fabio
0037615dc4 Merge branch 'main' into zkbesu
# Conflicts:
#	build.gradle
2024-10-24 12:01:44 +02:00
Fabio Di Fabio
8e3735fae5 Include platform (BOM) project when publishing (#7803)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-10-24 07:31:12 +00:00
Fabio Di Fabio
829db2320d Duplicate publishing conf for platform project
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-10-23 12:57:50 +02:00
Fabio Di Fabio
e2516352c8 Fix publishing of the BOM artifact
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-10-23 12:11:02 +02:00
Fabio Di Fabio
eda44d0d46 Merge branch 'main' into zkbesu 2024-10-22 13:52:26 +02:00
Fabio Di Fabio
937c25acdd Update Java dependencies (#7786)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-10-21 09:49:06 +00:00
Fabio Di Fabio
0de45cbb26 Merge branch 'main' into zkbesu 2024-10-18 17:01:56 +02:00
Fabio Di Fabio
9a7744763a Create and publish Besu BOM (Bill of Materials) (#7615)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-10-18 10:50:55 +00:00
Fabio Di Fabio
ce902dba43 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/BesuContainerVerify.sh
#	.github/workflows/splitList.sh
#	.github/workflows/splitTestsByTime.sh
#	gradle.properties
2024-10-16 11:41:19 +02:00
Sally MacFarlane
f0e9f409e6 Copyright Besu (#7768)
* update copyright for new files only if not matching existing patterns
* scripts too
* scripts all use Besu copyright

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-10-15 12:47:41 +10:00
Fabio Di Fabio
f303e0012a Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/sonarcloud.yml
#	build.gradle
2024-10-08 17:16:51 +02:00
Justin Florentine
3e7e4d88fd Sonar cloud build failure (#7739)
* don't try to import to an existing db
* deprecated task
* testutil subproject hit a sonar bug
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-10-07 22:29:38 +00:00
Fabio Di Fabio
475133177e Merge branch 'main' into zkbesu 2024-10-01 16:02:19 +02:00
Justin Florentine
e522b63bed dont' activate flight recorder dumps by default, RIP my ssd (#7692)
* dont' dump flight recorder captures by default, RIP my ssd
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-10-01 14:16:59 +02:00
Fabio Di Fabio
0e21ab06c1 Merge branch 'main' into zkbesu 2024-09-18 16:02:04 +02:00
Bhanu Pulluri
0d9fa16a1f [#4292] Fix mounted data path directory permissions for besu user (#7575)
* Fix mounted data path directory permissions for besu user

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

* Add besu CLI option to output dirs needing permission update

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

* run spotless apply to handle PR test failure

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

* Remove newly added --print-paths-and-exit option from config file test

This option doesn't have a corresponding config file entry as it's a
standalone option to be used with docker containers

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

* Add optional user argument to --print-paths-and-exit and fix directory permissions

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

* Correct build.gradle changes, remove a duplicate line and extra whitespaces

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

* Fix checking for user in path's group membership

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

* Add platform check to restrict --print-paths-and-exit option usage to Linux and Mac

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

* Apply suggestions from code review

Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>

---------

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-09-18 09:35:00 +00:00
Fabio Di Fabio
75a540175d Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	.github/workflows/pre-review.yml
#	build.gradle
2024-09-06 16:30:57 +02:00
Fabio Di Fabio
edd3c4f0a0 Update dependencies (#7571)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-05 13:10:49 +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
ac5e9af5e0 Set docker VCS_REF back to a 7 char hash (#7551)
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2024-09-02 12:28:46 +10:00
Danno Ferrin
fa73102097 Performance improvements to EOF layout fuzzing (#7545)
* Performance improvements to fuzzing

Turning off guidance speeds the rate of testing up by 10%.
Also, add other options to store new guided-discovered tests.

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

* bring in the whole javafuzz lib so we can tweak it.

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-09-01 23:01:04 +00: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
bff864b096 Merge branch 'main' into zkbesu 2024-08-30 17:23:25 +02:00
Matilda-Clerke
1ea1d4cede Revert engine getclientversionv1 changes (#7546)
* Revert "Check for commit hash before appending another in build.gradle caclulateVersion (#7537)"

This reverts commit a8bbcd5d8b.

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

* Revert engine_getClientVersionV1 changes

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

---------

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2024-08-30 06:01:43 +00:00
Fabio Di Fabio
039f0441c6 Alternative solution to execute spotlessCheck first during a build (#7541)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-08-30 00:14:49 +00:00
Matilda-Clerke
a8bbcd5d8b Check for commit hash before appending another in build.gradle caclulateVersion (#7537)
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2024-08-29 02:23:44 +00:00
Fabio Di Fabio
915fcb015d spotless
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-08-28 10:48:21 +02:00
Fabio Di Fabio
0e16693e1b Merge branch 'main' into zkbesu
# Conflicts:
#	build.gradle
2024-08-27 15:05:02 +02:00
Suyash Nayan
c656ece8fc build: Add Spotless Fail Fast to the build process (#7515)
* Add Spotless Fail Fast to the build process

---------

Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Usman Saleem <usman@usmans.info>
2024-08-27 10:17:47 +00:00
Matilda-Clerke
e0aa4f6d4a add engine_getClientVersionV1 (#7512)
* add engine_getClientVersionV1

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2024-08-27 04:49:12 +00:00
Danno Ferrin
1598e6be67 EOF Differential Layout Fuzzer (#7488)
Differential EOF Layout Fuzzer guided by Besu's layout parser.

Signed-off-by: Danno Ferrin <danno@numisight.com>
2024-08-21 20:01:35 +00:00
Fabio Di Fabio
b19ae8cd26 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/release.yml
#	besu/src/main/java/org/hyperledger/besu/controller/BesuController.java
#	ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthEstimateGas.java
#	ethereum/evmtool/build.gradle
#	evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
#	gradle/verification-metadata.xml
#	plugin-api/build.gradle
2024-07-16 17:22:21 +02:00
Usman Saleem
fa63fc45b4 javadoc - Add missing javadoc for evmtool module (#7277)
Signed-off-by: Usman Saleem <usman@usmans.info>
2024-06-28 16:55:47 +00:00
Usman Saleem
3c5ce8bb89 Fix javadoc for ethereum api module, graphql package (#7272)
* javadoc - Adding missing javadocs ethereum:api graphql package

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-06-28 10:40:55 +10:00
Usman Saleem
bcacbab467 Fix javadoc for ethereum:core top level package (#7270)
* javadoc - Apply javadoc to ethereum core top level package

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-06-27 14:03:25 +10:00
Usman Saleem
77183f6d60 javadoc: Adding javadoc for ethstats module (#7269)
* javadoc: Adding javadoc for ethstats module

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-06-27 03:09:00 +00:00
Matt Whitehead
609eb76ba0 Add build version option to prefix git hash with custom version property (#7222)
* Add build version option to prefix git hash with custom version property
* Refactor to make appending the git hash a boolean property. Include a commented-out example of how to use the properties in the gradle file

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
2024-06-21 11:55:10 -07:00
Fabio Di Fabio
0d0eaa944f Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/release.yml
2024-06-14 17:19:41 +02:00
ahamlat
a8621f4962 Enable JFR continuous profiling with default setting (#7006)
Enable JFR continuous profiling with default setting

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
2024-06-11 16:57:26 +02:00
Daniel Lehrner
162e308357 Merge branch 'main' into zkbesu 2024-06-11 14:49:46 +02:00
Matt Whitehead
b1ac5acd60 Add new acceptance test to soak test BFT chains (#7023)
* Add new acceptance test to soak test BFT chains

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Spotless

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Tidy up a little with re-usable start and stop functions with built in delays

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Add shanghai version of Simple Storage contract

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Put commented gradle code back in. Fix the web3j example commands in .sol files

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Spotless

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Set publication artifacts to avoid clash

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Exclude from regular acceptance tests

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Add shanghai fork to the test. Stall the chain for less time to reduce the time taken to mine new blocks

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Tidy up

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Update acceptance-tests/tests/shanghai/build.gradle

Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com>

* Tidy up var names

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Fix ports for IBFT2 as well as QBFT

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Remove maven publish spec, disable jar building for shanghai contract project

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* web3j version

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Make fixed port optional when creating a BFT node

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Only check artifact coordinates for those starting 'org.*'

Signed-off-by: Matthew Whitehead <matthew1001@gmail.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: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-06-11 11:46:36 +01:00