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
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
Matilda-Clerke
290f21c227
5098: Disable txpoolForcePriceBumpToZeroWhenZeroBaseFeeMarket test and add comment explaining why ( #7452 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
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
Luis Pinto
6623b2d693
Move creator address warmup from targetContractAddress generation method to createe frame ( #7415 )
...
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
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
Lucas Saldanha
745d353027
Restore previous behaviour for preMergeBesuControllerBuilder ( #7431 )
4 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
leeli
541aacd200
redirect the path in readme ( #7422 )
...
Signed-off-by: Lee <Leeliren@proton.me>
Co-authored-by: daniellehrner <daniel.lehrner@consensys.net>
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
Matilda-Clerke
e3bc248990
5098 branch 4 update invalid address params ( #7405 )
...
* 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: 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>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
4 months ago
Guido Vranken
14d2809860
Small fuzzing fixes ( #7418 )
...
* Addresses an issue in the Fluent API where certain EVM bytecode could
lead to executions that mismatch canonical execution.
* Uses LOG.debug instead of System.out.println to prevent console spam
during fuzzing.
Signed-off-by: Guido Vranken <guidovranken@gmail.com>
4 months ago
ahamlat
9cb8b06e4b
Add integration tests on block processing ( #7378 )
...
Add a block processing integration test to verify that sequential and parallel execution have the same behaviour
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
4 months ago
Gaurav Ahuja
b727c958bf
Make GeneralStateTestCaseEipSpec constructor public for use in linea-tracer/arithmetization ( #7411 )
...
Signed-off-by: Gaurav Ahuja <gauravahuja9@gmail.com>
4 months ago
François Bojarski
b5552e5137
fix(doc): tiny typo ( #7388 )
...
Signed-off-by: Francois Bojarski <francois.bojarski@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
4 months ago
Simon Dudley
53f8ff9389
Add comments to make deprecated trie log pruning option names clear ( #7416 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
4 months ago
Fabio Di Fabio
a7ab1773e4
In process RPC service ( #7395 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 months ago
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>
4 months ago
Matt Whitehead
b634b9c66c
Update deps for CVEs ( #7412 )
...
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
4 months ago
Matilda-Clerke
a844684701
5098 branch 3 update invalid address hash params ( #7403 )
...
* 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: 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>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
4 months ago
Sally MacFarlane
4e79c810a6
removed permissioning methods referencing whitelist ( #7401 )
...
* removed whitelist permissioning methods
* removed actual RPC methods
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
4 months ago
Matilda-Clerke
de957aaa1f
5098 branch 2 update invalid accounts params ( #7402 )
...
* 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: 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: 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>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
4 months ago
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>
4 months ago
Danno Ferrin
9592b64310
Lock evmtool code-validate into runtime mode ( #7397 )
...
To conform to fuzzing practices, `code-validate` expects all code to be
runtime code.
Signed-off-by: Danno Ferrin <danno@numisight.com>
4 months ago
Danno Ferrin
6b1ae691e6
Change EOF Parsing to be non-recursive ( #7396 )
...
EOF subcontainer parsing was recursive, potentially opening up stack
attacks.
Replace subcontainer parsing with a flat iterative solution.
Signed-off-by: Danno Ferrin <danno@numisight.com>
4 months ago
Simon Dudley
ec8429f800
Refactor TrieLogPruner preload timeout to be more testable ( #7393 )
...
Also update logging
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
4 months ago
daniellehrner
4ace9e42c0
7702 bugfixes for devnet-1 ( #7394 )
...
* process the authority list before increasing the sender nonce, make sure that the updated balance of the sender is calculated correctly if they sign an authorization as well
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
4 months ago
Fabio Di Fabio
ab77523814
Move `JsonRpcResponseType` to `RpcResponseType` in the plugin API module ( #7392 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 months ago
Matilda-Clerke
94b497e261
7288: include WithdrawalRequestPredeployAddress in genesis configuration ( #7356 )
...
* 7288: include WithdrawalRequestPredeployAddress in genesis configuration
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7288: Update changelog
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7288: Fix typo in new variable
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7288: Rename withdrawalRequestPredeployAddress to withdrawalRequestContractAddress
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7288: Update changelog to match recent changes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 5098: Move changelog item to next release
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>
4 months ago
Simon Dudley
f8edb7332c
Rotate changelog for 24.7.1 ( #7385 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
4 months ago
Jason Frame
d6f8645ae5
Snap server GetTrieNodes to return empty bytes when trienode doesn't exist ( #7305 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
4 months ago