* 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>
* 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>
* 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>
* 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>
* 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>
* Add Spotless Fail Fast to the build process
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Usman Saleem <usman@usmans.info>
* 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>
* 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>
* build: Update jacoco version to 0.8.11
* build: Enforce Java 21 and above check for build
* CI: Use Java 21 in Github CI workflows
* CI: Use Java 21 in circleci workflows
* build: Update gradle verification metadata for jacoco 0.8.11
* refactor: Fix javadoc related warnings which are applicable to Java 21
* fix(test): BackwardSyncAlgSpec slightly increase timeout to pass it in CI
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
grooyGradle to use greclipse 4.31 version. Refactor format properties files into gradle/spotless
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Publish to dockerhub on merge to the main branch
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Upgrade spotless to 1.22.0 and reformat.
This is required for Java21 support.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* build: Remove incomplete artifactory task
The top level artifactory task was used to upload dists to artifactory which has been moved to GH
* build: Adding back top level publishing task
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Move Besu custom error-prone checks into its own repository and use it as an external dependency. This allows to move to a newer version of Google errorprone checks as well while cleaning up build.gradle file.
Key changes resulted due to this change:
* String toLowerCase and toUpperCase to use Locale.ROOT as argument
* Use interface such as List,Map or NavigatableMap instead of concrete class where appropriate.
* Simplify StringBuilder to plain String
* Suppress warnings where appropriate.
-----
Signed-off-by: Usman Saleem <usman@usmans.info>
* resumes publishing jars, but not distros to artifactory
* checkMavenCoordinateCollisions needs a publication with an explicitly set version, does not inherit project.version
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: garyschulte <garyschulte@gmail.com>
* wildcard in place of task name in path, in case it gets changed.
* test splitting action is unreliable at these numbers of tests
* pin to new gradle action, increase runners
* found the missing tests, back to parity
* rename to avoid consolidation status collision with workflow name
* fixes javadoc checks at build time
* overrides project version on release, so embeds (startup info) will match release artifacts
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: RoboCopsGoneSock <158174948+RoboCopsGoneSock@users.noreply.github.com>