Jason Frame
f16d3526db
Change execution requests to use flat encoding ( #7771 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
1 month ago
Fabio Di Fabio
516559fadc
Cleanup: Synchronizer is always present in protocol context ( #7791 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 month 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
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
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
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
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
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
Stefan Pingel
8a9a84ad58
Check for snap server ( #6609 )
...
* EthPeer add isServingSnap to be able to make sure that we have enough snap servers connected when we are snap syncing
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
5 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
Danno Ferrin
821daf12b9
EIP-2935: Serve historical block hashes from state ( #7080 )
...
* EIP-2935: Serve historical block hashes from state
Refactor the BlockHashOperation to move hash lookup into the
ProtocolSpec, and combine logic with beacon root storage.
Update t8n test to use block hash list in new format
Signed-off-by: Danno Ferrin <danno@numisight.com>
Author: Gabriel-Trintinalia gabriel.trintinalia@consensys.net
Co-authored-by: Danno Ferrin danno@numisight.com
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Usman Saleem
a98dfff4f6
build - Update license headers formatting ( #7018 )
...
Fix license headers formatting under: ethereum/
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Lucas Saldanha
9cd50e1405
EIP-7220: Updates (Exit -> Withdrawal Request) ( #6967 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Lucas Saldanha
1e77a6c419
EIP-7002: Add exits/exits_root to block/block_header ( #6801 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
8 months ago
Jason Frame
15d54afdf9
Reduce receipt size ( #6602 )
...
Signed-off-by: Jason Frame <jason.frame@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
Karim TAAM
2360908cf5
worldstate refactor ( #6209 )
...
* worldstate storage refactor
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
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
Fabio Di Fabio
0c8dcfcde4
Make layered txpool aware of minGasPrice and minPriorityFeePerGas dynamic options ( #6611 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Simon Dudley <simon.dudley@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
2077bb78c4
Deprecate --Xp2p-peer-lower-bound ( #6501 )
...
* deprecate p2p-peer-lower-bound
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
10 months ago
Danno Ferrin
098d9975ed
Add pragueTime configuration ( #6473 )
...
Wire through configuration for the Prague fork, including speculative
PragueGasCalculator, precompiles, genesis options, and implied
forks in GenesisState.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
10 months ago
Karim TAAM
ccab8571e5
create trie package for bonsai and forest ( #6300 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: matkt <karim.t2am@gmail.com>
12 months ago
Karim TAAM
ba05f24d71
move forest class to a specific package ( #6293 )
...
cleaning up the worldstate section, moving and renaming everything that is forest into a specific package in order to clarify the difference between Bonsai and Forest in the code.
---------
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: matkt <karim.t2am@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
Justin Florentine
488755a728
Cached blob txs ( #6147 )
...
* basic test coverage
* blob caching on tx removal in legacy pool
* blob caching on tx removal in layered pool
* blob restoral in both legacy and layered implementations and test coverage of tx copy in builder
* refactors into reusable BlobCache, and rekeys on versioned hash
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
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
Danno Ferrin
094c8416df
Journaled world state ( #6023 )
...
Introduce a new Journaled World State Updater. Within a transaction it
keeps one copy of account and storage state, restoring previous
revisions on reverts and exceptional halts. This updater only supports
post-merge semantics with regard to empty accounts, namely that they do
not exist in world state.
Adds an EvmConfiguration option for stacked vs journaled updater, and
wire it in where needed. The staked updater is default mode, which is
the current behavior prior to this patch.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
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
Fabio Di Fabio
25c2065434
Layered txpool by default and txpool options hoverhaul ( #5772 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Justin Florentine
1c099e8970
Consolidated EIP-4844 ( #5724 )
...
* Implements EIP-4844.
* introduces a Hardfork class to the protocol schedule system
* new Engine APIs required for CL to work on 4844
* new DataGas type for tracking block cost for 4844 data
* new VersionedHash type to reflect that a versioned hash is not quite a pure sha256
* incorporates wrapped jc-kzg library for KZG point evaluations
* New transaction type, and domain objects for constituent parts to represent the Blobs, KZGCommitments, and Proofs used for 4844
* RLP encoders and decoders to support new transaction type
* gas pricing calculators for the new type of gas
* plugin-api version was changed
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Stefan <stefan.pingel@consensys.net>
Co-authored-by: spencer-tb <spencer@spencertaylorbrown.uk>
* junit5 updates
Signed-off-by: Justin Florentine <justin+github@florentine.us>
* update t8n test
Cancun gas claculator was inheriting from london, should have been shanghai.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Stefan <stefan.pingel@consensys.net>
Co-authored-by: spencer-tb <spencer@spencertaylorbrown.uk>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Nischal Sharma
d923b8eb8f
ethereum/part8 - migrated tests from Junit4 to Junit5 ( #5720 )
...
Signed-off-by: Nischal Sharma <nischal@web3labs.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Fabio Di Fabio
6603ebb716
Introduce transaction validator interface (phase 2) ( #5682 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
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
Fabio Di Fabio
6ac03af19b
Introduce transaction validator interface (phase 1) ( #5673 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@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
8bc939d236
Introduce variables storage ( #5471 )
...
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
Simon Dudley
423a826fa1
Decompose putMilestone into putBlockNumberMilestone and putTimestampMilestone ( #5405 )
...
For readability and clarity
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 years ago