Commit Graph

5648 Commits

Author SHA1 Message Date
Sally MacFarlane
7e25c0072c [build] workflows to run for merge queue (#8302)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-14 00:15:51 +00:00
Sally MacFarlane
6791c5fea6 remove k8s NAT method (#8289)
* remove k8s NAT method

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

* changelog - update pr number in changelog

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-14 09:53:40 +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
c34e3967fd allow disabling of transaction indexing while syncing (#8181)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2025-02-13 16:45:08 +10:00
Gabriel-Trintinalia
6342f5d678 RPC - eth_getLogs: Return block not found instead of empty logs (#8290)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-02-13 03:28:06 +00:00
Matilda-Clerke
90015fca42 Refactor packet classes for dependency injection (#8271)
* Apply expiration checks in PacketData classes

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

* Fix broken unit tests

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

* spotless

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

* Fix failing test

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

* Refactor to use clock to validate expiry

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

* Refactor Packet and PacketData

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

* Move java.inject version to platform/build.gradle

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

* Update copyright notices on Packet and PacketData classes

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

* Update PeerDiscoveryControllerTest to avoid use of Thread.sleep

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

* Update copyright noticed on PeerDiscoveryControllerTest and MockPacketDataFactory

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

* Remove old PacketTest

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

* Reorder platform/build.gradle api platform dependencies to alphabetical order

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

---------

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2025-02-13 02:09:58 +00:00
Simon Dudley
fa19459bb2 Use dynamic gas calculator to calculate currentBlobGasLimit (#8257)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-13 01:24:25 +00:00
Fabio Di Fabio
9d33e95471 Revert "Hotfix for gradle compile issue by locking in json-smart version (#8282)" (#8286)
This reverts commit 0ad85ecada.

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-13 05:51:19 +10:00
Fabio Di Fabio
428a638569 Allow plugins to propose transactions during block creation (#8268)
* Allow plugins to propose transactions during block creation

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

* Apply suggestions from code review

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

* Document AbstractStatefulTransactionSelector

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

* Unit tests for BlockSizeTransactionSelectorTest

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

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-12 15:59:59 +01:00
Simon Dudley
0ad85ecada Hotfix for gradle compile issue by locking in json-smart version (#8282)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-12 10:40:29 +01:00
Sally MacFarlane
09a18c8e53 [CHANGELOG] fixed changelog errors (#8279)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-12 04:27:37 +00:00
Matilda-Clerke
af842eb760 Update to Consensys/discovery 25.2.0 (#8278)
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-12 03:40:06 +00:00
Bhanu Pulluri
f3bbb90cb0 Add TLS/mTLS options and configure the GraphQL HTTP service (#7910)
* Add TLS/mTLS options and configure the GraphQL HTTP service

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

* Update ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/graphql/GraphQLHttpsServiceTest.java

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

* moved changelog entry to unreleased

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

---------

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-12 02:28:09 +00:00
Gabriel-Trintinalia
3638944a6c Make prague evm spec ready (#8277)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-02-12 00:48:10 +00:00
Preeti
4519cd0121 chore: add missing RPC method debug_accountRange (#8274)
* chore: add missing RPC method debug_accountRange

Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>

* chore: Remove TODO from getName() method

Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>

* chore: Remove TODO from getName() method and add entry to CHANGELOG.md

Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>

* moved changelog entry to unreleased

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

---------

Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-12 00:12:09 +00:00
Fabio Di Fabio
4e152b00bf Split long running DetermineCommonAncestorTaskParameterizedTest in 2 tests (#8276)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-11 23:39:56 +00:00
Fabio Di Fabio
80a8662b62 Rebalance GHA runners (#8227)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-12 08:46:28 +10:00
Matt Whitehead
a45475d81d Update netty to 4.1.118 for CVE-2025-24970 (#8275)
* Update netty to 4.1.115 for CVE-2025-24970

Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io>

* Add entry to changelog

Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io>

---------

Signed-off-by: Matthew Whitehead <matthew.whitehead@kaleido.io>
2025-02-11 14:04:18 +00:00
Gabriel-Trintinalia
72a4e4a0a3 Simulation - Expose BlockHashLookup to BlockSimulatorService (#8267)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-02-08 12:43:13 +11:00
Simon Dudley
cbabf87766 Rotate changelog for 25.2.0 (#8266)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-07 04:57:27 +00:00
Simon Dudley
08e3427439 Serialize CodeDelegation in RPCs (#8265)
Supports eth_getTransactionByHash

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-07 04:15:10 +00: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
garyschulte
e835cd07d2 bump besu-native to 1.1.2 (#8264)
* bump besu-native to 1.1.2

Signed-off-by: garyschulte <garyschulte@gmail.com>
2025-02-07 00:50:32 +00: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
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
Simon Dudley
2680901cb9 Prague Engine API validation fixes (#8250)
- Prague newPayload validation fixes
- Testing the unsupported fork timestamp cases

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-06 02:02:29 +00: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
Jason Frame
b24ff90311 Remove PostMergeContext singleton (#8253)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2025-02-06 00:24:28 +00:00
Fabio Di Fabio
a81879370e Use PendingTransaction interface in block creation classes (#8254)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-05 21:31:09 +01:00
Gabriel-Trintinalia
630a8f7d0f EIP2935 - Use system call instead of direct storage modification (#8243)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-02-05 17:18:37 +10:00
Sally MacFarlane
1e5fb0051e update rpc gas cap default to 50M (#8251)
* update rpc gas cap default to 50M

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-05 14:32:06 +10:00
Sally MacFarlane
28dd49efaa [CHANGELOG] add upcoming breaking changes to unreleased (#8235)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-05 00:19:36 +00:00
Karim Taam
214673c026 Add transaction hash for debug trace responses (#8205)
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
2025-02-04 13:18:40 +00:00
phillip Yun
b74a7f2133 add Xchain-pruning-blocks-retained must be >= epochlength (#7963) (#8140)
Signed-off-by: philosup <philosup@gmail.com>
2025-02-04 10:19:45 +00:00
Fabio Di Fabio
90df5e5564 Not all invalid transient not selected txs should be penalized (#8231)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-04 09:52:34 +00:00
Sally MacFarlane
e006bbf62e [TESTING] disable flaky fast sync actions test (#8208)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-04 08:57:36 +00:00
Simon Dudley
cb5c223002 Use 9 for max blobs when sizing BlobCache (#8222)
Supports Pectra EIP-7691

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-04 08:21:04 +00:00
Simon Dudley
2924de01fe Invalidate engine_newPayloadV3 if it contains executionRequests (#8223)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-04 06:23:15 +00:00
Jason Frame
4dbb72330f Qbft block type (#8142)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2025-02-04 05:40:40 +00: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
Fabio Di Fabio
24e2895355 Fix the simulation of txs with future nonce (#8215)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-03 14:01:18 +01:00
Fabio Di Fabio
4fa9f0c9c4 Add a tx selector to skip txs from the same sender after the first not selected (#8216)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-03 12:06:16 +00:00
Simon Dudley
a94f3766e1 Treat timestamp as unsigned long in engine api fork validation (#8221)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2025-02-03 06:06:50 +00:00
Simon Dudley
47a5efce8d EIP-7702 Skip CodeDelegation processing for invalid recid (#8212)
In CodeDelegation.authorizer(), return empty to skip code delegation processing if recId outside native lib's bounds

---------

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
2025-02-03 04:44:13 +00:00
Matilda-Clerke
2412586d06 7582: Add naive RLP caching for BlockHeader, Transaction, and Withdrawal (#7988)
* 7582: Add naive RLP caching for BlockHeader, Transaction, and Withdrawal

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

* 7582: spotless

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

* 7582: Fix broken test after merge

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

* 7582: Back out withdrawal changes

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

* 7582: Fix up compile error after merge

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

* 7582: Apply naive RLP caching in transaction encoder/decoder classes

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

* 8053: Add RLPDecodingHelpers.Kind.EM
and handle empty lists in AbstractRLPInput

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

* 7582: Add trace logging to AbstractRLPInput

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

* Revert previous change, implement new fix

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

* Revert previous change, implement new fix

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

* 7582: Finish applying naive RLP caching to transaction encoder/decoder classes

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

* Remove unused LOG

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

* 7582: Make explicit the expectation that RLP.validate does not throw an exception in test

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

* 7582: SPOTLESS

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

* 7582: Remove redundant curly braces

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

* 7582: Remove Optional from rawRlp in Transaction.Builder

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

* 7582: Make new BlockHeader constructor private

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

* Refactor tranaction encoder classes

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

* Remove logging changes from RLP module

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

* spotless

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>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2025-02-03 14:51:58 +11:00
Gabriel-Trintinalia
8d360a3d0e Simulation: Add state to StateOverride (eth_call, eth_simulateV1). (#8166)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2025-02-02 23:50:47 +00:00
Sally MacFarlane
6d51821614 [MINOR] add newline to beginning of PR template (#8210)
* add newline to beginning of PR template

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

* fix initial typo

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

* fix tx typos

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-02 23:23:19 +00:00
daniellehrner
56e5b3c6c2 Init KZG precompile contract before importing blocks (#8219)
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2025-02-03 08:56:30 +10:00