Commit Graph

4849 Commits

Author SHA1 Message Date
Fabio Di Fabio
02dd244233 Support running executable Gradle tasks on Windows with WSL (#6803)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-26 09:04:41 +00:00
Simon Dudley
2222bb197b Set noisy TransactionLogBloomCacher debug log to trace (#6808)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-26 07:03:20 +00:00
Simon Dudley
6fe547a3be Remove draft config from develop release action (#6807)
Trying to get develop tag to be a pre-release

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-26 16:31:59 +10:00
Jason Frame
15d54afdf9 Reduce receipt size (#6602)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2024-03-26 01:00:05 +00:00
Simon Dudley
bb9ba13cf8 Refactor BackwardsSyncAlgorithm.pickNextStep for readability (#6775)
* Refactor BackwardsSyncAlgorithm.pickNextStep for readability

...mostly extracting methods

- Result null check
- Remove redundant BannedMethod suppressions
- Add sonar config back in that was removed by mistake

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-25 04:45:19 +00:00
Lucas Saldanha
2eca4d5a4e Adding engine_getPayloadV4 and engine_newPayloadV4 (#6783)
Moved engine_newPayload6110 and engine_getPayload6110 to V4

Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
2024-03-24 11:39:46 +13:00
Fabio Di Fabio
7abb29cdc8 Improve PluginRpcEndpointException log (#6789)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-22 15:25:19 -07:00
Usman Saleem
c9c237e57d ci: Fix Publish GH workflow Artifactory secrets (#6788)
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-03-22 15:26:46 +00:00
Stefan Pingel
42f4748ab9 Fix "Backward sync stuck in a loop" #6749 (#6756)
* minimal change to fix BWS

Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-23 00:08:49 +10:00
Sally MacFarlane
3455ddf3fb updated PR template (#6773)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-22 13:54:06 +10:00
Sally MacFarlane
6fcac7bd45 extra check for syncing (#6771)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-22 01:50:52 +00:00
Justin Florentine
bee0e5e807 Cleanup dev releases (#6782)
* delete develop release before creating new one

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 23:26:40 +00:00
Sally MacFarlane
380c0c93f7 for fcu v2 use correct invalid params error code (#6766)
* fcu v2 use invalid params error code per spec

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-22 08:57:22 +10:00
Justin Florentine
6337689e09 typo in env var (#6780)
* get value for sonar options from vars

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-22 07:32:47 +10:00
Justin Florentine
97d88d1365 Artifactory publish (#6781)
* correcting env vars
* removes conditionals which result in skipped tasks being considered success
* spotless fix

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 13:41:19 -04:00
Danno Ferrin
da4be733e3 GraphQL serializes BlobVersionedHashes (#6769)
Fix error where GraphQL fails to serialize the versioned hash of a
blob transaction.

Signed-off-by: Danno Ferrin (shemnon) <danno.ferrin@shemnon.com>
2024-03-21 12:57:22 +00:00
Fabio Di Fabio
010f947836 Fix for Method input parameters must be final compilation error (#6778)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-21 11:58:25 +00:00
Justin Florentine
c564fcd919 get value for sonar options from vars (#6767)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 12:41:04 +10:00
Fabio Di Fabio
86cc6cb19e Extend error handling of plugin RPC methods (#6759)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-20 20:31:29 +00:00
Danno Ferrin
2bfd510785 Log blob count (#6761)
Current blog logging shows blob transaction count.  The blob count is
more relevant and reflects the label better.

Signed-off-by: Danno Ferrin (shemnon) <danno.ferrin@shemnon.com>
2024-03-19 09:51:43 -07:00
Matt Whitehead
42b32d2531 Log an info message on startup to indicate if IPv6 peer connectivity is possible (#6750)
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
2024-03-19 08:57:51 +00:00
Sally MacFarlane
cc201691f9 allow empty maxFeePerBlobGas for eth_call (#6731)
* allow empty blob gas for eth_call

* handle empty maxFeePerBlobGas by setting to blobBaseFee if empty

* set allowExceedingBalance if blobGas not specified

* added a test case for strict with zero blob gas

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-03-19 13:31:07 +10:00
Justin Florentine
578d14ec26 uprevved kzg library dependency, aligns version num with upstream (#6745)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-19 01:05:48 +00:00
Sally MacFarlane
391d670026 disable not ignore (#6754)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-18 22:53:35 +00:00
Usman Saleem
5c1e1e1879 Suppress ComparisonOutOfRange error-prone warning in AbstractGasLimitSpecification (#6727)
* Add suppression for ComparisonOutOfRange
* test: Add unit test to cover max gas limit

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-03-18 18:52:38 +10:00
Andrew Davis
4bd8733367 fix(build): docker git ref (#6744)
Signed-off-by: Andrew Davis <1709934+Savid@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-18 12:03:44 +10:00
standstaff
9439a1cb60 chore: fix some typos (#6741)
Signed-off-by: standstaff <zhengxingru@yeah.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-18 11:24:26 +10:00
Sally MacFarlane
34bd2032a0 ignore flaky test (#6748)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-18 00:51:12 +00:00
Justin Florentine
8c41e7c44d Artifactory publish (#6746)
* 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>
2024-03-15 21:32:39 -04:00
Suraneti
feb1764199 feat: add fixed basefee options (#6562)
* feat: add fixed basefee options

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>

* Refactor zero base fee to be extension of fixed base fee

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

* feat: use MiningParameters to fixed base fee

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>

* feat: add mining parameters arg on protocol schedule builder

* feat: add miningParameters on gray glacier and prague

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>

* feat: add miningParameters on gray glacier and prague

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>

* feat: add miningParameters on paris,shanghai,future,experimental

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>

---------

Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Suraneti <suraneti.rod@gmail.com>
Co-authored-by: Matthew Whitehead <matthew1001@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-16 00:42:53 +00:00
Justin Florentine
de0704afbf PR Annotations removed (#6735)
* pull_req instead of target
* updates template to put description first
* compensate for changes to versioning on interim builds

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-15 12:59:35 -07:00
Gabriel-Trintinalia
9881e201df Fix permissioning plugin test (#6737)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-03-15 06:27:38 +00:00
Usman Saleem
22daf346ee Refactor StorageRangeDataRequest to fix nodes saved variable (#6726)
* Refactor StorageRangeDataRequest

 -- Remove ununsed nbNodesSaved

Signed-off-by: Usman Saleem <usman@usmans.info>

* Fix import

Signed-off-by: Usman Saleem <usman@usmans.info>

* fix: Increment nodes saved variable

Signed-off-by: Usman Saleem <usman@usmans.info>

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-03-15 13:55:39 +10:00
Matt Whitehead
b239fb6099 Add comments to a couple of the the EthPeer methods to clarify their behaviour (#6733)
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-15 01:22:13 +00:00
wellweek
2ce2a5546e chore: remove repetitive words (#6730)
Signed-off-by: wellweek <xiezitai@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-15 00:17:44 +00:00
MASDXI
9bf542732b Changetxpool_beusPendingTransactions:numResults from a required parameter to an optional parameter (#6708)
Signed-off-by: MASDXI <sirawitt42@gmail.com>
2024-03-14 09:40:05 +00:00
Simon Dudley
6dd3c84052 Move potentially spammy peer discovery warn log to debug (#6728)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-14 05:48:07 +00:00
Usman Saleem
3db07568ae Refactor PluginPrivacyController (#6725)
fix parameter name to match overridden method

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-03-14 12:24:06 +10:00
garyschulte
39a356f824 proposed "develop" build versions (#6699)
* proposed "develop" build versions

Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-03-13 17:52:41 +00:00
Fabio Di Fabio
4cc6b744cf Transaction simulation service (#6686)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-13 15:54:38 +00:00
Fabio Di Fabio
efd1bc7070 Fix txpool dump/restore race condition (#6665)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-13 10:48:18 +00:00
Sally MacFarlane
e56a37da11 verify syncing false (#6720)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-13 14:26:48 +10:00
Usman Saleem
602999f4cf Refactor BadBlockReason enum out of BadBlockCause (#6716)
* Refactor BadBlockReason enum out of BadBlockCause

Signed-off-by: Usman Saleem <usman@usmans.info>

* Deleting ununsed enum value

Signed-off-by: Usman Saleem <usman@usmans.info>

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-13 03:01:00 +00:00
Sally MacFarlane
501d169db5 edits to changelog for 24.3.0 (#6712)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-13 02:08:24 +00:00
garyschulte
c39ca6d44f Support pruned chain history in peer validators (#6698)
* dao fork block presence is optional in peer validator to support peers with pruned chain history

Signed-off-by: garyschulte <garyschulte@gmail.com>

* Update ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/peervalidation/AbstractPeerBlockValidator.java

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

---------

Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-13 11:19:37 +10:00
Justin Florentine
934e43558b Gha updates (#6705)
* make artifacts more snapshot friendly
* break out new workflows for snapshots, and a develop releease
* removes checking for approval, runs on pr update
* adds concurrency so updated refs cancel prior runs if still running
* explicitly disable caching on gradle setup tasks
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-12 22:24:22 +00:00
Matt Whitehead
8dba298108 Don't start the BFT mining coordinator when it is created, just enable it (#6675)
* Don't start a BFT mining coordinator when it is created, just enable it

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

* Update change log

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-03-12 10:26:33 +00:00
Fabio Di Fabio
65f8880fb7 Make block txs selection max time aware of PoA transitions (#6676)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-12 09:56:46 +00:00
Sally MacFarlane
246cce41e1 eth_call with blobs - added more spec tests (#6687)
* added more spec tests

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

* fixed typo

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

* fixed error message

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-12 03:00:54 +00:00
Friedemann Fürst
8becd5a3a8 Transaction call object to accept both input and data field if equal (#6702)
* relax JsonCallParameter constructor to allow for both input and data being set if equal

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

* fix: format

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

* add changelog entry

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

---------

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-12 02:17:06 +00:00