Matilda-Clerke
e0aa4f6d4a
add engine_getClientVersionV1 ( #7512 )
...
* add engine_getClientVersionV1
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
Danno Ferrin
b57310ffac
EOF testing error codes for layout ( #7522 )
...
Update the eof layout error codes to match codes in reference tests.
This includes support for multiple possible errors for a specific test.
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
Chaminda Divitotawela
725dcf1c87
Release checklist update ( #7494 )
...
* Release checklist update
More details on homebrew and docs releases in release checklist issue template
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Chaminda Divitotawela <cdivitotawela@users.noreply.github.com>
* Remove release creation for besu-docs from checklist
It has been agreed there is no value creating releases in the hyperledger/besu-docs repo. Remove the related instruction from checklist
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
---------
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Signed-off-by: Chaminda Divitotawela <cdivitotawela@users.noreply.github.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
3 months ago
Danno Ferrin
4f51d4d696
Fix fuzzing dependencies ( #7519 )
...
The fuzzAll task depended on targets that didn't exist.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Danno Ferrin
a851507cb3
evmtool was not respecting the --genesis option ( #7518 )
...
* EVMTool should respect --genesis option
Update the code so that the genesis file option will be respected when
set. Also, default --fork options should set a rational base fee.
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
garyschulte
d87650b944
Fleet-mode safe behavior for fcU in SynchronizationService ( #7517 )
...
* fleet-mode safe behavior for fcU in SynchronizationService
Signed-off-by: garyschulte <garyschulte@gmail.com>
* spotless
Signed-off-by: garyschulte <garyschulte@gmail.com>
---------
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 months ago
neowangreal
58bb931efe
update link ( #7506 )
...
Signed-off-by: Neo <neowang725@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
shubham kesri
4801106674
Fixed | Initialising the encodedPubKey with empty String in case userInfo is null ( #7508 )
...
Signed-off-by: kesrishubham2510 <shubhamkeshari90@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Ade Lucas
c3f455c691
Fix ClassCastException in DebugMetrics nested structures [ #7383 ] ( #7499 )
...
* Fix ClassCastException in DebugMetrics nested structures
This commit resolves an issue where Double values in nested metric
structures were incorrectly cast to Map objects, causing a
ClassCastException. The fix allows for proper handling of both
direct values and nested structures at the same level.
A comprehensive test case has been added to reproduce the bug and
verify the fix, ensuring that complex, dynamically nested metric
structures can be handled without errors.
Resolves : #7383
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
---------
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Snazzy <snazzysam933@gmail.com>
Signed-off-by: Danno Ferrin <danno@numisight.com>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: gringsam <snazzysam933@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Matilda-Clerke <matilda.clerke@consensys.net>
3 months ago
Danno Ferrin
1598e6be67
EOF Differential Layout Fuzzer ( #7488 )
...
Differential EOF Layout Fuzzer guided by Besu's layout parser.
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
Matt Whitehead
0ec335fbf1
BFT soak test - use both db modes ( #7496 )
...
* For test node runners use provided data storage config
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Make the BFT soak mining tests use both Forest and Bonsai DBs
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
3 months ago
Matt Whitehead
d7656b9899
For test node runners use provided data storage config ( #7495 )
...
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
3 months ago
Simon Dudley
5b8764d648
Add new lodestar bootnode for holesky ( #7500 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
3 months ago
Sally MacFarlane
c555775c1f
Refactor how genesis file overrides are applied ( #7489 )
...
* added tests that fail
* separate getConfigOptions() logic from applying overrides
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Fabio Di Fabio
fd077a7273
Revert "Dagger controller tests ( #7341 )" ( #7497 )
...
This reverts commit 38a025b870
.
# Conflicts:
# acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/ThreadBesuNodeRunner.java
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Fabio Di Fabio
aaf74a60f7
Update parameterized acceptance tests so they enumerate with --dry-run ( #7498 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Sally MacFarlane
bfeb74864a
update error message in test files ( #7493 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
0182252523
5098 branch 24 throw checked exception to remove todos ( #7481 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Danno Ferrin
4c0d7b5dbb
Update EOF validation error strings ( #7487 )
...
Update the EOF validation error strings so that they can validate
against expected exceptions in reference tests.
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
gringsam
96f04a726c
fix wiki ( #7480 )
...
Signed-off-by: Snazzy <snazzysam933@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
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>
3 months ago
garyschulte
c24dea8474
preprocess release name for release workflow ( #7486 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 months ago
Fabio Di Fabio
0dffe63c13
Fix BlockchainQueries::gasPrice when chain head block body still not fully persisted ( #7482 )
...
* Fix BlockchainQueries::gasPrice when chain head block body still not fully persisted
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Matilda-Clerke
f9048cf3e2
5098 branch 23 rename is complete transaction ( #7479 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Jason Frame
4acd7f120c
Change default for receipt compaction to be enabled ( #7450 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
3 months ago
Matilda-Clerke
ef8aa7c9ec
5098 branch 22 update more invalid params ( #7472 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
garyschulte
f50f7c09d8
Bump changelog ahead of 24.8.0 ( #7476 )
...
* bump changelog
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 months ago
Fabio Di Fabio
12576d7705
Correctly release txpool save and restore lock in case of exceptions ( #7473 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Karim Taam
dff99f7c17
Implement getNearest methods ( #7258 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
3 months ago
Matilda-Clerke
8523ed0e43
5098 branch 21 update more invalid params ( #7467 )
...
* 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: Update locations for RpcErrorType.INVALID_ACCOUNTS_PARAMS
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 with changes from branch 1
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_HASH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: 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>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_COUNT
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Add index to exception messages
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apoply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update BaseJsonRpcProcessor to utilise RpcErrorType from InvalidJsonRpcParameters
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Rename INVALID_AUTH_PARAMS to INVALID_PROPOSAL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update INVALID_BLOCK_HASH_PARAMS locations
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_INDEX
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_NUMBER
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CALL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CONSOLIDATION_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CREATE_PRIVACY_GROUP_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DATA_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DEPOSIT_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_EXCHANGE_TRANSITION_CONFIGURATION_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_FORKCHOICE_UPDATED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_ATTRIBUTES_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PREPARE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENODE_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_EXCESS_BLOB_GAS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_EXTRA_DATA_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_FILTER_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update several RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Hopefully fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Hopefully fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update several more RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_PARAM_COUNT
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_PAYLOAD_ID_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_PENDING_TRANSACTIONS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVAlID_PLUGIN_NAME_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* Update ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/privacy/methods/priv/PrivGetEeaTransactionCount.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Gabriel-Trintinalia
d7041d4221
CLI option for disabling auto-registration of external plugins ( #7470 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
3 months ago
Danno Ferrin
51335954c2
Reuse HardforkId in EvmSpecVersion ( #7448 )
...
* Reuse HardforkId in EvmSpecVersion
Move the HardforkId into datatypes and re-use the data in
EvmSpecVersion, keeping evm specific details in the evm and merging the
rest into datatypes.
Signed-off-by: Danno Ferrin <danno@numisight.com>
* Update evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
35faf06b92
5098 branch 20 update invalid param count ( #7466 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
68d7bd0bd1
5098 branch 19 update more invalid params ( #7460 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Sally MacFarlane
cafe82d2d5
clarification for release steps ( #7400 )
...
* clarification for release steps
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* PR feedback
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* burn-in signoff
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* added items
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
3 months ago
Suyash Nayan
b2b55a54fb
Add 'inbound' field to admin_peers JSON-RPC Call ( #7461 )
...
* Add 'inbound' field to admin_peers JSON-RPC Call
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* added changelog entry
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
cca2f7554a
5098 branch 18 update more invalid params ( #7459 )
...
* 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: Update locations for RpcErrorType.INVALID_ACCOUNTS_PARAMS
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 with changes from branch 1
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_HASH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: 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>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_COUNT
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Add index to exception messages
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apoply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update BaseJsonRpcProcessor to utilise RpcErrorType from InvalidJsonRpcParameters
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Rename INVALID_AUTH_PARAMS to INVALID_PROPOSAL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update INVALID_BLOCK_HASH_PARAMS locations
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_INDEX
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_NUMBER
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CALL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CONSOLIDATION_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CREATE_PRIVACY_GROUP_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DATA_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DEPOSIT_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_EXCHANGE_TRANSITION_CONFIGURATION_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_FORKCHOICE_UPDATED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_ATTRIBUTES_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PREPARE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENODE_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_EXCESS_BLOB_GAS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_EXTRA_DATA_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_FILTER_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update several RpcErrorTypes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Hopefully fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Hopefully fix broken integration test
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
f5d6e7237c
5098 branch 17 update extra data and filter params ( #7458 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
137515de44
5098 branch 16 update invalid enode and excess blob gas params ( #7457 )
...
* 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: Update locations for RpcErrorType.INVALID_ACCOUNTS_PARAMS
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 with changes from branch 1
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_HASH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: 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>
* 5098: Update code to use RpcErrorType.INVALID_ADDRESS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_COUNT
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update with usage of RpcErrorType.INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Add index to exception messages
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apoply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update BaseJsonRpcProcessor to utilise RpcErrorType from InvalidJsonRpcParameters
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_AUTH_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Include parameter index in INVALID_BLOCK_COUNT_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken integration test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Rename INVALID_AUTH_PARAMS to INVALID_PROPOSAL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update INVALID_BLOCK_HASH_PARAMS locations
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_INDEX
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_BLOCK_NUMBER
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CALL_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CONSOLIDATION_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_CREATE_PRIVACY_GROUP_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DATA_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_DEPOSIT_REQUEST_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_EXCHANGE_TRANSITION_CONFIGURATION_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_FORKCHOICE_UPDATED_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_ATTRIBUTES_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENGINE_PREPARE_PAYLOAD_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply spotless
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_ENODE_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Update RpcErrorType.INVALID_EXCESS_BLOB_GAS_PARAMS
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Apply 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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Sally MacFarlane
b4869e7b86
remove vestigial whitelist methods ( #7449 )
...
* remove vestigial whitelist methods
* rename param and method
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Justin Florentine
ad19d4c7ff
isolates MetricsOptionGroup for future reusability, minor renaming ( #7464 )
...
* isolates MetricsOptionGroup for future reusability, minor renaming
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
3 months ago
Luis Pinto
b99cdf6273
Precompile calls were not traced when insuficient gas ( #7462 )
...
* Precompile calls were not traced when insuficient gas
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
* fixup! Precompile calls were not traced when insuficient gas
revert RuntimeException in StateDiffGenerator
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
---------
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
3 months ago
Suyash Nayan
adf19afb1a
Correct default `--help` values ( #7454 )
...
* Fix #7367 : Correct default value display for --rpc-max-trace-filter-range along with a test
* Fix #7369 : Show default value for --genesis-state-hash-cache-enabled
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
3 months ago
Matilda-Clerke
a3b6fd5402
5098 branch 15 update remaining invalid engine params ( #7443 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
3 months ago
garyschulte
ac9f8bbd91
Bump besu-native dependency ( #7456 )
...
* bump besu-native ahead of next release
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 months ago
Danno Ferrin
94f7c7d24d
EIP-3155 Last Call Nitpicks ( #7455 )
...
A lot of small nitpicks for standard tracing conformance
* Change evmtool run defaults to mirror go-ethereum's choices
* Add fields to run summary
* Make EOF PC zero to section
* Correct EXT*CALL min gas
* fix section depth
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
Jason Frame
dc336f48e9
Snap sync server StorageRange message limit to apply limit hash as post check ( #7399 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
3 months ago
Danno Ferrin
a55c331e21
Add test coverage for java precompiles ( #7446 )
...
For tests that have a native/java switch ensure that the java path gets
the same tests native paths do.
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Danno Ferrin <danno@numisight.com>
3 months ago
Matilda-Clerke
1a9154586f
5098 branch 14 update invalid data deposit and engine exchange ( #7442 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
b8c062cdcb
5098 branch 13 update invalid call consolidation and privacy group ( #7441 )
...
* 5098: Add RpcErrorTypes
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago