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
Matt Whitehead
47f455887a
Add getBlockByHash to plugins API ( #8413 )
...
* Add getBlockByHash to plugins API
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Plugin hash
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 >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2025-03-17 01:08:11 +00:00
Cristiano Aguzzi
72ac7bdbe4
[Follow up] Add Transaction Permissioning Hook to PermissioningService Interface ( #8365 )
...
* fixing the issue of implementing the permission service class in pr when it already exists
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com >
* wiring transaction filtering for Permissioning Plugins
* revert modify deprated code for TransactionSmartContractPermissioning
* Improve logging for AccountPermissioningController
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Cristiano Aguzzi <relu91@users.noreply.github.com >
* Improve logging messages for AccountPermissioningController
* Allign AccountPermissioningControllerFactoryTest with the latest api
Signed-off-by: reluc <relu.cri@gmail.com >
---------
Signed-off-by: Vaidik <vaidikbhardwaj00@gmail.com >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: reluc <relu.cri@gmail.com >
Signed-off-by: Cristiano Aguzzi <relu91@users.noreply.github.com >
Co-authored-by: vaidikcode <vaidikbhardwaj00@gmail.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2025-03-12 07:41:09 +00:00
Sally MacFarlane
35d12070db
Plugin API - add methods returning actual RPC host/port values ( #8127 )
...
* deprecate methods returning optionals since we know these will always have a value
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2025-03-12 05:52:25 +00:00
Gabriel-Trintinalia
f92780859d
eth_simulateV1 - Fill gaps between block calls ( #8375 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-03-06 04:13:51 +00:00
Fabio Di Fabio
bdc6423779
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/pre-review.yml
# .github/workflows/reference-tests.yml
2025-02-12 16:05:20 +01: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
Gabriel-Trintinalia
11d33075a2
Merge branch 'main' into zkbesu
2025-02-08 19:09:02 +11: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
Fabio Di Fabio
271edbb97d
Merge branch 'main' into zkbesu
2025-02-05 21:34:59 +01: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
Fabio Di Fabio
ba66ba4b1f
Merge branch 'main' into zkbesu
2025-02-04 10:54:31 +01: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
Fabio Di Fabio
1d875cfa0e
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/pull_request_template.md
# .github/workflows/sonarcloud.yml
2025-02-03 14:15:40 +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
Fabio Di Fabio
921c726922
Merge branch 'main' into zkbesu
2025-01-28 19:04:58 +01:00
Fabio Di Fabio
b5d507d659
Extend simulate transaction on pending block plugin API ( #8174 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2025-01-28 19:03:59 +01:00
Karim Taam
b3192a5960
Refactor the methods for getting mutable states in the WorldState provider ( #8113 )
...
Refactor the methods for retrieving mutable states in the WorldState provider and make additional improvements to clean up the code.
---------
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2025-01-27 16:59:54 +00:00
Fabio Di Fabio
448d1a97ee
Merge branch 'main' into zkbesu
2025-01-20 11:20:00 +01:00
Luis Pinto
74d22a082b
Revert "Add back deprecated traceStartBlock methods to the tracer API ( #8112 )" ( #8137 )
...
This reverts commit 1f67cb511c .
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
2025-01-18 01:25:00 +00:00
Fabio Di Fabio
0b17320927
Merge branch 'main' into zkbesu
2025-01-13 17:28:36 +01:00
Luis Pinto
1f67cb511c
Add back deprecated traceStartBlock methods to the tracer API ( #8112 )
...
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
2025-01-13 16:21:56 +00:00
Gabriel-Trintinalia
4eb6fb07b7
Rename accountOverride to stateOverride to match spec ( #8111 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-01-13 03:48:43 +00:00
Luis Pinto
8cddcfd955
Pass miningBeneficiary address to BlockAwareOperationTracer::traceStartBlock calls ( #8096 )
...
Signed-off-by: Luis Pinto <luis.pinto@consensys.net >
2025-01-10 11:37:12 +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
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
Gabriel-Trintinalia
a03c98bf9e
eth_simulateV1 - Add BlockSimulator feature ( #7941 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-19 05:01:07 +00:00
Fabio Di Fabio
cf5047911e
Merge branch 'main' into zkbesu
2024-12-06 13:51:27 +01:00
Fabio Di Fabio
f8e93bf544
Support rpc pending block tag when estimating gas ( #7951 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-12-06 12:50:38 +00: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
74929eb215
Revert "revert to unchanged plugin interface signature ( #7938 )" ( #7977 )
...
This reverts commit f08147acef .
# Conflicts:
# plugin-api/build.gradle
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2024-12-03 19:13:10 +00:00
Fabio Di Fabio
551b4d1697
Merge branch 'main' into zkbesu
...
# Conflicts:
# plugin-api/build.gradle
2024-11-29 12:35:18 +01:00
Sally MacFarlane
792c6569cd
PoW mining - deprecation ( #7905 )
2024-11-29 05:09:15 +00:00
Sally MacFarlane
979ea5de74
[MINOR] (privacy deprecation) correct target to 24.12.0 ( #7953 )
2024-11-29 04:43:30 +00:00
Fabio Di Fabio
44d0f9d0a2
Revert "revert to unchanged plugin interface signature ( #7938 )"
...
This reverts commit f08147acef .
# Conflicts:
# plugin-api/build.gradle
2024-11-28 09:48:30 +01:00
Fabio Di Fabio
607e48a19b
Merge branch 'main' into zkbesu
...
# Conflicts:
# metrics/core/src/main/java/org/hyperledger/besu/metrics/noop/NoOpMetricsSystem.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/opentelemetry/OpenTelemetrySystem.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusHistogram.java
# metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java
# metrics/core/src/test-support/java/org/hyperledger/besu/metrics/StubMetricsSystem.java
# plugin-api/build.gradle
# plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/Histogram.java
2024-11-27 16:09:57 +01:00
Fabio Di Fabio
14dec7b775
Add histogram to metrics system ( #7944 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-27 14:54:02 +00:00
Fabio Di Fabio
5b2da5a068
Migrate to Prometheus lib 1.x ( #7880 )
...
* Upgrade to Promethus java client 1.x and adapt the code to the new version
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Update CHANGELOG.md
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-27 11:04:31 +00:00
Gabriel-Trintinalia
27592b5299
Expose start and stop synchronization to plugin aPI ( #7940 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-26 23:08:17 +00:00
Justin Florentine
f08147acef
revert to unchanged plugin interface signature ( #7938 )
...
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-26 17:16:09 -05:00
Gabriel-Trintinalia
40648511cb
Add mining service ( #7913 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-25 01:59:14 +00:00
Gabriel-Trintinalia
660a354237
Merge branch 'main' into zkbesu
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-25 11:22:47 +11:00
Sally MacFarlane
302999aa18
Privacy deprecation warnings on CLI ( #7897 )
...
* add deprecation notice to help descriptions for all privacy options
* log deprecation warning for privacy enabled options
* added @Deprecation annotations to privacy plugin classes
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-22 02:08:04 +00:00
Sally MacFarlane
55920e002a
add Tx simulate method that accepts state override ( #7892 )
...
* move AccountOverrides into plugin datatypes; add simulate method that accepts this param
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-21 08:53:54 +10:00
Justin Florentine
c127f9c1d7
naming things is important ( #7895 )
...
BesuContext was not a helpful name for an interface that only manipulates services to be used by plugins.
---------
Signed-off-by: jflo <justin+github@florentine.us >
2024-11-20 22:23:49 +00:00
Fabio Di Fabio
fe462896d2
Add support for counter metric with external supplied value ( #7894 )
...
* Add support for counter metric with external supplied value
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Update CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-20 18:42:36 +01:00
Sally MacFarlane
96e9ed853f
merge main
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-20 12:27:09 +10:00
Fabio Di Fabio
02722bcd8a
Consolidate all metric collectors into the metrics system ( #7877 )
...
* Consolidate all metric collectors into the metrics system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Fixes
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Do not recreate the Prometheus metric system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-11-19 16:10:03 +00:00