Justin Florentine
911f12efa0
Repackage options ( #7688 )
...
Updates MetricsOptions to implement CLIOptions, and to contain its unstable options.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Justin Florentine
9a570d415e
Decouple block creators ( #7468 )
...
* wip decoupled parent block header from block creators
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
3 months ago
Stefan Pingel
cf592c48d1
implement engine_getBlobsV1 ( #7553 )
...
* implement engine_getBlobsV1
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: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
Matilda-Clerke
da98fa5541
Reintroduce engine get client version v1 with commit in manifest ( #7548 )
...
* Include Commit-Hash in manifests
* Add commit method in BesuInfo
* Use 8 character hash in EngineGetClientVersionV1 and revert calculateVersion back to original spec
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
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
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
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>
4 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>
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
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
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
Karim Taam
30c96c7a1d
Optimistic parallelization of transactions to improve performance ( #7296 )
...
Optimistic transaction parallelization execution during block processing to improve the performances. This feature can enabled with a flag --Xbonsai-parallel-tx-processing-enabled=true
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
4 months ago
Danno Ferrin
17f4dc9a8a
Update unit test ( #7317 )
...
* Update parameterized unit tests so the enumerate with --dry-run
* Update the prague-withdrawal.json unit test to handle current code
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
4 months ago
Fabio Di Fabio
8df6bcaddd
Make `eth_gasPrice` aware of the base fee market ( #7102 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
6 months ago
Gabriel-Trintinalia
f9a61a0b83
EIP-7685 ( #7068 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
6 months ago
Fabio Di Fabio
40cfc800f7
New RPC methods `miner_setExtraData` and `miner_getExtraData` ( #7078 )
...
* New RPC methods to set and get block extra data
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove redundant methods to set the extra data
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* miner_getExtraData unit tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Usman Saleem
0b58f30799
build: Add default constructor and javadoc ( #7062 )
...
* javadoc - Adding default constructor and javadoc for :config
* javadoc - Adding default constructor and javadoc for :consensus:clique
* javadoc - Adding default constructor and javadoc for :consensus:common
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Usman Saleem
f0cb26eb31
Enable spotless license header check ( #7040 )
...
* Enable spotless license header
Signed-off-by: Usman Saleem <usman@usmans.info>
* Apply spotless license header
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
07765b57a8
build - Update license headers formatting (2) ( #7016 )
...
* Preparing spotless license header option and adding license templates
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Danno Ferrin
001080a72b
Upgrade spotless to 1.22.0 ( #6898 )
...
Upgrade spotless to 1.22.0 and reformat.
This is required for Java21 support.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
8064da0217
Log detailed timing of block creation steps ( #6880 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Suraneti
feb1764199
feat: add fixed basefee options ( #6562 )
...
* feat: add fixed basefee options
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
* Refactor zero base fee to be extension of fixed base fee
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* feat: use MiningParameters to fixed base fee
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
* feat: add mining parameters arg on protocol schedule builder
* feat: add miningParameters on gray glacier and prague
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
* feat: add miningParameters on gray glacier and prague
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
* feat: add miningParameters on paris,shanghai,future,experimental
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
---------
Signed-off-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Suraneti <suraneti.rod@gmail.com>
Co-authored-by: Matthew Whitehead <matthew1001@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
65f8880fb7
Make block txs selection max time aware of PoA transitions ( #6676 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Fabio Di Fabio
2b8d44ec77
Refactor and extend PluginTransactionPoolValidatorService ( #6636 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Simon Dudley
dbc128f100
Clique createemptyblocks transition ( #6608 )
...
Support clique transitions for createemptyblocks boolean
---------
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
9 months ago
Simon Dudley
0e3d2f47d7
Clique block period transition ( #6596 )
...
Add BFT-style transitions to Clique, modelled with ForksSchedule<CliqueConfigOptions>
Add ability to transition the blockperiodseconds config.
---------
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
9 months ago
Fabio Di Fabio
2c1733c8f7
Refactor `TransactionSelectionService` ( #6595 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
mbaxter
5adad6a1be
[Issue 6301] Refactor BadBlockManager ( #6559 )
...
Signed-off-by: mbaxter <mbaxter.dev@gmail.com>
9 months ago
Sally MacFarlane
0c122732c6
removed vintage junit dependency ( #6296 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
12 months ago
Fabio Di Fabio
eaf56820f5
New option tx-pool-min-gas-price to set a lower bound when accepting txs to the pool ( #6098 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Fabio Di Fabio
8319fae725
Time limited block creation ( #6044 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Jason Frame
6a2d41fccc
Add config option to clique to allow not creating empty blocks ( #6082 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
1 year ago
Fabio Di Fabio
20a82d4548
Mining options refactor ( #6027 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Stefan Pingel
1c261db30f
add plugin API to enable plugins to validate transaction before they are added to the transaction pool ( #5891 )
...
* add plugin API to enable plugins to validate transaction before they are added to the transaction pool
Signed-off-by: Stefan <stefan.pingel@consensys.net>
* updated plugin version
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
George Tebrean
47a61ddb11
Decouple JsonRpcError enum from the data field ( #5629 )
...
Signed-off-by: George Tebrean <george@web3labs.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Fabio Di Fabio
86b2b600a0
Do not leak references to PendingTransactions ( #5693 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Antoine Toulme
901661cb4f
Update tuweni2.4.2 ( #5684 )
...
* Revert "Revert "Update Tuweni to 2.4.1 (#5513 )" (#5585 )"
This reverts commit 6111e1bbc3
.
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* update Tuweni to 2.4.2
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
---------
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
1 year ago
naviechan
0ceeaf3180
EIP-6110: Add deposit validation and apis ( #5295 )
...
Completes the implementation of EIP-6110
* Decode and extract deposit from transaction receipt log
* Introduce depositContractAddress field in genesis file
* Validate deposits in a block against the transaction receipt logs
* Update engine_newPayloadV2 and engine_getPayloadV2 according to the spec. Some of the non-functional components were partially implemented in the previous PR
Signed-off-by: naviechan <naviechan@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Sally MacFarlane
6111e1bbc3
Revert "Update Tuweni to 2.4.1 ( #5513 )" ( #5585 )
...
This reverts commit b96418143c
.
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Antoine Toulme
b96418143c
Update Tuweni to 2.4.1 ( #5513 )
...
* update to 2.4.1
* update use of DNS daemon with Vertx
* fix issue with Bytes.repeat
* update antlr version
* fix dns tests
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
---------
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Fabio Di Fabio
c1cfaf462a
Remove deprecated Rinkeby network ( #5540 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Stefan Pingel
b97c9350b4
Revert the revert of the tx selection commit ( #5507 )
...
* Revert "Revert "Add plugin API to select Transactions (#5396 )" (#5499 )"
This reverts commit a0c6052778
.
* fix receipt root bug
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Usman Saleem <usman@usmans.info>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Usman Saleem <usman@usmans.info>
2 years ago
Simon Dudley
a0c6052778
Revert "Add plugin API to select Transactions ( #5396 )" ( #5499 )
...
* Revert "Add plugin API to select Transactions (#5396 )"
This reverts commit 65bcc557e4
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 years ago
Stefan Pingel
65bcc557e4
Add plugin API to select Transactions ( #5396 )
...
This API fulfils the basic requirements, but will probably be extended in the near future.
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Sally MacFarlane
067a263374
[23.4] Remove GoQuorum privacy ( #5303 )
...
* removed separate decoding logic
* run non-mainnet ATs to make sure
* remove goQuorum flag from everywhere
* remove GOQUORUM api group
* remove GoQuorum enclave, privacy params, RPCs and other related config
* removed Goquorum related error codes, rpcMethod codes, privateBloom
* removed v from transaction
* removed private GoQuorum storage provider
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Danno Ferrin
ebbc0df773
Reduce EVM module dependencies ( #5285 )
...
Refactor crypto, datatypes, and plugin-api to reduce plugin APIs in the EVM.
Split crypto into crypto services and crypto algorithms
Reverse the dependency between datatyps and plugin-api.
Remove plugin Hash and Address types (use datatypes)
Move PublicKey and Quantity into datatypes.
Lots of changes to imports and build files, and some fromPlugin calls removed.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Gabriel Fukushima
0e36f661e8
getByBlockNumber replaced by getByBlockHeader on tests ( #5259 )
...
* Replace getByBlockNumber by getByBlockHeader
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace getByBlockNumber by getByBlockHeader
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace BlockDataGenerator by BlockHeaderTestFixture
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace BlockDataGenerator by BlockHeaderTestFixture
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Add final to method param
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace BlockDataGEnerator by BlockHeaderTestFixture
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace BlockDataGenerator by BlockHeaderTestFixture
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Remove BlockDataGenerator
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
---------
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
2 years ago
Gabriel Fukushima
bf0198103f
Replace getByBlockNumber by getByBlockHeader ( #5127 )
...
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
38d666d8b1
Revert "Replace getByBlockNumber by getByBlockHeader ( #5020 )" ( #5063 )
...
This reverts commit 9ceebc4a57
.
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Gabriel Fukushima
9ceebc4a57
Replace getByBlockNumber by getByBlockHeader ( #5020 )
...
* Replace getByBlockNumber by getByBlockHeader where trivial
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Fix tests
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Fix tests
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Rolledback change since tests will need non trivial changes
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Rollback replace
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Change other 2 trivial tests
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* spotless
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Pass ProcessableBlockHeader to the mocks
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Replace getByBlockNumber by getByBlockHeader
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Add mock of blockHeader
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Use any() for the tests
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* Add unit test for headBlockHeader()
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
---------
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago