Rodion
03cdd45916
Drop messages that exceeds local message size limit ( #7507 )
...
Signed-off-by: Rodion Lim <rodion.lim@hotmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
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>
3 months ago
Danno Ferrin
c0e0103b2b
Add slow parsing detection to EOF layout fuzzing ( #7516 )
...
* Add slow parsing validation
Add CLI flags and fuzzing logic to enable "slow" parsing to be a
loggable error.
* picocli final field issue
* fix some array boundary issues in pretty print and testing
Signed-off-by: Danno Ferrin <danno@numisight.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
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
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
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
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
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
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
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
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
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
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
Matilda-Clerke
a3b6fd5402
5098 branch 15 update remaining invalid engine params ( #7443 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
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
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
Matilda-Clerke
c61cf0b5af
5098 branch 12 update invalid block index and number ( #7440 )
...
* 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: Fix broken test
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: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Remove TODO by wrapping unexpected exception and rethrowing
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
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>
3 months ago
daniellehrner
b53db47dab
Wrapped WorldUpdater into `EVMWorldupdater` ( #7434 )
...
* wrapped WorldUpdater into `EVMWorldupdater` to remove the authority code injection from the implementation of the actual world updaters
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* add CHANGELOG entry
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
daniellehrner
2158a68296
Fix protocol schedule for devnets ( #7429 )
...
* add `ProtocolSchedule::milestoneFor` to retrieve milestones for every hardfork in the genesis file
* add `setMilestones` and `milestoneFor` to TransitionProtocolSchedule
* refactored all checks for hardforks in the engine API to use hard fork ids
* added tests to test that the engine API v2 endpoints return UNSUPPORTED_FORK past Cancun
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
fab239341d
5098 branch 11 update invalid block hash params ( #7421 )
...
* 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
47fff38cf6
5098 branch 9 update invalid block count params ( #7410 )
...
* 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
bca34cb61f
5098 branch 8 update invalid block params ( #7409 )
...
* 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: 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: 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: Fix broken unit test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Fix broken tests
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
067be8cccc
5098 branch 7 update invalid blob gas used params ( #7408 )
...
* 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
sirawt
8fc80ade8d
chore: fix some typos ( #7438 )
...
Signed-off-by: MASDXI <sirawitt42@gmail.com>
3 months ago
Danno Ferrin
a92fdbb44c
EVMTool Docker Support ( #7430 )
...
A few fixes that re-enable docker support for evm tool
* evmtool is the entrypoint
* turn off some noisy logging
* ensure EOF respects the create flag
Signed-off-by: Danno Ferrin <danno@numisight.com>
4 months ago
Danno Ferrin
7433c8c25a
Update newling handling in fuzzing CLI tools ( #7428 )
...
* Fuzzing initcode fix
Make sure each response has a newline
Signed-off-by: Danno Ferrin <danno@numisight.com>
* correct blank line handling
Signed-off-by: Danno Ferrin <danno@numisight.com>
* correct blank line handling
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
4 months ago
Justin Florentine
38a025b870
Dagger controller tests ( #7341 )
...
* daggerize PrivacyReorgTest
* inline as many dagger bits into tests as possible
* refactored to use inner classes
* BesuComponent can now be provided
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
4 months ago
Matilda-Clerke
2ddfc2cbfb
5098 branch 6 update invalid blob count ( #7407 )
...
* 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>
4 months ago
Matilda-Clerke
1958df9651
5098 branch 5 update invalid auth params ( #7406 )
...
* 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: 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: Rename INVALID_AUTH_PARAMS to INVALID_PROPOSAL_PARAMS
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>
4 months ago
Matilda-Clerke
419995248b
5098: Update already merged RpcErrorTypes to include index in exception message ( #7420 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
4 months ago
Danno Ferrin
a6a0271ae2
EOF validation updates ( #7419 )
...
* Ensure forward calls stack height range is preserved.
* add subcontainer and top container size checks
Signed-off-by: Danno Ferrin <danno@numisight.com>
4 months ago