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
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
Stefan Pingel
be8f4945b0
Metrics for sync phases ( #7390 )
...
* add metrics to measure the time for chain and world state sync
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-08-28 14:30:56 +00:00
Fabio Di Fabio
9dfb4344d5
Merge branch 'main' into zkbesu
2024-08-20 10:55:46 +02:00
Fabio Di Fabio
19e1a9aaf6
Add pending block header to TransactionEvaluationContext ( #7483 )
...
Add pending block header to TransactionEvaluationContext plugin API, so PluginTransactionSelector can access info of the pending block.
---
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Usman Saleem <usman@usmans.info >
2024-08-20 09:50:26 +10:00
Fabio Di Fabio
22fab53366
Merge branch 'main' into zkbesu
2024-08-19 10:48:23 +02:00
Karim Taam
dff99f7c17
Implement getNearest methods ( #7258 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
2024-08-16 13:58:24 +01:00
Fabio Di Fabio
dce796c782
Merge branch 'main' into zkbesu
...
# Conflicts:
# CHANGELOG.md
# acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/ThreadBesuNodeRunner.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/execution/TracedJsonRpcProcessor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/DebugAccountRange.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/permissioning/PermAddAccountsToAllowlist.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/permissioning/PermRemoveAccountsFromAllowlist.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/RpcErrorType.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/permissioning/PermAddAccountsToAllowlistTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/permissioning/PermRemoveAccountsFromAllowlistTest.java
# ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/AuthorityProcessor.java
# ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessor.java
# ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/ProtocolScheduleBuilder.java
# ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/code-validate/initcode.json
# evm/src/main/java/org/hyperledger/besu/evm/code/EOFLayout.java
# plugin-api/build.gradle
2024-08-13 11:23:51 +02:00
Nischal Sharma
50f8add052
Tracing private transactions feature ( #6161 )
...
* add private tx tracing feature
Signed-off-by: Nischal Sharma <nischal@web3labs.com >
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-08-13 04:52:53 +00:00
Fabio Di Fabio
c0029e66d7
Remove code differences with Besu upstream
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-31 19:48:39 +02:00
Fabio Di Fabio
a7ab1773e4
In process RPC service ( #7395 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-31 16:46:16 +00:00
Usman Saleem
9d92ae87df
feat: Expose set finalized/safe block in plugin-api BlockchainService ( #7382 )
...
* feat: Expose set finalized and safe block in plugin-api BlockchainService
* check for poa network before setting finalized block
* changelog
* Add BlockchainService set finalized acceptance test
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
2024-07-31 15:39:44 +00:00
Matilda-Clerke
9fe374a62b
5098 Branch 1: Groundwork for coming changes ( #7398 )
...
* 5098: Add RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Modify InvalidJsonRpcParameters and InvalidJsonRpcRequestException, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Modify InvalidJsonRpcParameters and InvalidJsonRpcRequestException, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Add JsonRpcParameterException for later use
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Address review comments, apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Update plugin-api gradle hash
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Add comment on INVALID_PARAMS_ERROR_CODE
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 5098: Apply spotless on latest changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
2024-07-31 09:27:37 +10:00
Fabio Di Fabio
562266677e
javadoc
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-29 16:58:59 +02:00
Fabio Di Fabio
149e34f997
Merge branch 'main' into zkbesu
...
# Conflicts:
# consensus/clique/src/test/java/org/hyperledger/besu/consensus/clique/jsonrpc/methods/DiscardTest.java
# consensus/clique/src/test/java/org/hyperledger/besu/consensus/clique/jsonrpc/methods/ProposeTest.java
# datatypes/src/main/java/org/hyperledger/besu/datatypes/rpc/JsonRpcResponse.java
# datatypes/src/main/java/org/hyperledger/besu/datatypes/rpc/JsonRpcResponseType.java
# ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/DebugTraceTransactionIntegrationTest.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/handlers/JsonRpcArrayExecutor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/handlers/JsonRpcObjectExecutor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/execution/TracedJsonRpcProcessor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcNoResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcResponseType.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcSuccessResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcUnauthorizedResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/ipc/JsonRpcIpcService.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/websocket/WebSocketMessageHandler.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetBlockByNumberTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineForkchoiceUpdatedTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineNewPayloadTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineExchangeCapabilitiesTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineExchangeTransitionConfigurationTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineGetPayloadBodiesByHashV1Test.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineGetPayloadBodiesByRangeV1Test.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/privacy/methods/MultiTenancyRpcMethodDecoratorTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/privacy/methods/priv/PrivDebugGetStateRootTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/MutableJsonRpcSuccessResponse.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/PrivacyApiGroupJsonRpcMethodsTest.java
# plugin-api/build.gradle
# plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponseType.java
2024-07-29 16:53:28 +02:00
Fabio Di Fabio
ab77523814
Move JsonRpcResponseType to RpcResponseType in the plugin API module ( #7392 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-29 13:42:05 +02:00
Fabio Di Fabio
f812936caa
Merge branch 'main' into zkbesu
...
# Conflicts:
# plugin-api/build.gradle
2024-07-26 10:53:52 +02:00
Fabio Di Fabio
30dfa66c1e
Penalize invalid transient pending transactions in the layered transaction pool ( #7359 )
...
* Introduce score for pending transactions
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Introduce score for pending transactions
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
* Update package javadoc
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-26 07:53:53 +10:00
Fabio Di Fabio
26f89ac505
Merge branch 'main' into zkbesu
...
# Conflicts:
# gradle/verification-metadata.xml
# plugin-api/build.gradle
2024-07-23 15:06:14 +02:00
Gabriel-Trintinalia
cee973d429
[minor] Remove redundant info from plugin summary ( #7339 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-07-18 00:28:29 +00:00
Fabio Di Fabio
99260fae96
Improve blob size transaction selector ( #7312 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-17 07:50:09 +10:00
Fabio Di Fabio
afd8d02ace
update API checksum
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-16 17:26:55 +02: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
Fabio Di Fabio
782553eb03
Stop transaction selection on TX_EVALUATION_TOO_LONG ( #7330 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-07-16 09:47:16 +00:00
Sally MacFarlane
223f1bc3bb
EIP-7251 add consolidation request type ( #7266 )
...
* add request type for consolidations, encoder, decoder and tests
* added raw tx for consolidation
* add consolidation reqs to EngineGetPayloadResultV4
* set storage slot value to 0 initially and value for tx
* updates plugin api
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2024-07-16 00:44:06 +00:00
gringsam
33f2ae2726
Fixed outdated tech redirect link. ( #7297 )
...
* fix wiki link
Signed-off-by: Snazzy <snazzysam933@gmail.com >
* fix format
Signed-off-by: Snazzy <snazzysam933@gmail.com >
* change knownHash
Signed-off-by: Snazzy <snazzysam933@gmail.com >
---------
Signed-off-by: Snazzy <snazzysam933@gmail.com >
2024-07-10 12:26:51 +10:00
Danno Ferrin
20b82a40c9
Rename ValidatorPublicKey to ValidatorPubKey ( #7280 )
...
Adapt to EIP-7002 name change for validator public key in all places.
Signed-off-by: Danno Ferrin <danno@numisight.com >
2024-06-28 23:07:26 +00:00
Fabio Di Fabio
0cfa46b14b
In process RPC service ( #40 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-05-30 11:53:25 +02:00
Fabio Di Fabio
62f4326613
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/acceptance-tests.yml
# .github/workflows/pre-review.yml
# .github/workflows/splitTestsByTime.sh
# build.gradle
# gradle/verification-metadata.xml
2024-05-29 10:01:00 +02:00
Gabriel-Trintinalia
2df721619a
[MINOR] Rename deposit to depositRequest ( #7145 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-05-29 03:39:44 +00:00
Gabriel-Trintinalia
5415463a33
Rename methods and variables to match json ( #7134 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-05-24 06:55:51 +12:00
garyschulte
ebb883075f
Feature/fleet mode rebase ( #6641 )
...
* fleet mode squash commit rebase
Signed-off-by: garyschulte <garyschulte@gmail.com >
2024-05-22 17:02:34 +00:00
Fabio Di Fabio
01bfed67cb
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/acceptance-tests.yml
# .github/workflows/pre-review.yml
# .github/workflows/splitTestsByTime.sh
2024-05-21 13:18:04 +03:00
Gabriel-Trintinalia
f9a61a0b83
EIP-7685 ( #7068 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com >
2024-05-15 10:47:43 +03:00
Fabio Di Fabio
496a183c04
Merge branch 'main' into zkbesu
2024-05-09 12:49:00 +02:00
Usman Saleem
8c596a5e35
javadoc - Adding default constructor and javadoc for :plugin-api ( #7072 )
...
Signed-off-by: Usman Saleem <usman@usmans.info >
2024-05-08 05:52:16 +00:00
Fabio Di Fabio
074fd1fe7d
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/reference-tests.yml
# .github/workflows/splitList.sh
2024-05-07 19:21:44 +02:00
Usman Saleem
b121a5dd6d
build - Fix gradle build for Java 21 ( #7058 )
...
* build - Fix gradle build for Java 21. Add compileOnly dependencies to allow gradle build to run against Java 21
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
2024-05-07 11:48:03 +10:00
Fabio Di Fabio
d4af85a94e
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/acceptance-tests.yml
# .github/workflows/artifacts.yml
# besu/src/main/java/org/hyperledger/besu/controller/BesuController.java
# build.gradle
# ethereum/evmtool/build.gradle
2024-05-03 14:50:21 +02:00
Usman Saleem
9d27c509be
Apply Hyperledger license header ( #7029 )
...
-- plugin-api/ util/
Signed-off-by: Usman Saleem <usman@usmans.info >
2024-05-02 20:12:43 +10:00
Usman Saleem
9a1f6842ef
build - Update license headers formatting (5) ( #7019 )
...
Apply license headers formatting under: plugin-api/ plugins/
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-05-01 01:50:05 +00:00
Lucas Saldanha
9cd50e1405
EIP-7220: Updates (Exit -> Withdrawal Request) ( #6967 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com >
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-05-01 08:03:54 +12:00
Gabriel-Trintinalia
a1f73d925e
Enhanced control over plugins registration ( #6700 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-04-19 16:38:35 +00:00
Fabio Di Fabio
be239b3917
Merge branch 'main' into zkbesu
2024-04-10 16:17:39 +02:00
mbaxter
66176c0619
[Issue-6301] Add bad block events ( #6848 )
...
Signed-off-by: mbaxter <mbaxter.dev@gmail.com >
2024-04-09 16:55:26 +00:00
Fabio Di Fabio
03dc8f5241
Merge branch 'main' into zkbesu
2024-04-09 18:34:48 +02:00
Danno Ferrin
001080a72b
Upgrade spotless to 1.22.0 ( #6898 )
...
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 >
2024-04-09 04:12:56 +00:00
Fabio Di Fabio
63da9c3e93
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/docker.yml
# build.gradle
2024-04-08 14:10:22 +02:00
Lucas Saldanha
1e77a6c419
EIP-7002: Add exits/exits_root to block/block_header ( #6801 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com >
2024-04-05 07:47:16 +13:00