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
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>
4 months ago
Fabio Di Fabio
30dfa66c1e
Penalize invalid transient pending transactions in the layered transaction pool ( #7359 )
...
* Introduce score for pending transactions
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Introduce score for pending transactions
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update package javadoc
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
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>
5 months ago
Fabio Di Fabio
99260fae96
Improve blob size transaction selector ( #7312 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
5 months ago
Fabio Di Fabio
465fd1cbe5
Fix and restore disabled block creation unit tests ( #7331 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
5 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>
5 months ago
Gabriel-Trintinalia
4ee14eca1d
Implement System Calls ( #7263 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
5 months ago
Gabriel-Trintinalia
2df721619a
[MINOR] Rename deposit to depositRequest ( #7145 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
6 months ago
Gabriel-Trintinalia
7a5a3e0957
Minor improvements to EIP-7685 ( #7142 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@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>
7 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
Fabio Di Fabio
690a2ea81e
Refactor genesis config file and options ( #7012 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
Usman Saleem
0d6b38ee65
Apply Hyperledger license header to `ethereum/blockcreation/` ( #7033 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Danno Ferrin
381e692b1f
Refactor: take blockchain out of MainnetTransactionProcessor ( #6962 )
...
Remove an unused parameter in MainnetTransactionProcessor, as well as
all code supporting sending that parameter.
Signed-off-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
Sally MacFarlane
d926052eb2
disable flaky test - LegacyFeeMarketBlockTransactionSelectorTest ( #6851 )
...
* disable flaky test
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* added message to disabled annotation
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@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>
9 months ago
Fabio Di Fabio
4cc6b744cf
Transaction simulation service ( #6686 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 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
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>
10 months ago
Fabio Di Fabio
86d3a6cd8f
Fix for tx incorrectly discarded when there is a timeout during block creation ( #6563 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
10 months ago
Fabio Di Fabio
2d7941f8b8
Promote block txs selection max time options to stable ( #6423 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
11 months ago
Fabio Di Fabio
540f5a4c76
Introduce TransactionEvaluationContext to pass data between selectors and plugin ( #6381 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
11 months ago
Fabio Di Fabio
569ef931ff
Allow a transaction selection plugin to specify custom selection results ( #6190 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year 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
4eb3358bef
Transactions that takes too long to evaluate, during block creation, are dropped from the txpool ( #6163 )
...
Signed-off-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
Stefan Pingel
f42f8c1122
Make tracer in block building block aware ( #6135 )
...
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
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
Gabriel-Trintinalia
41b95758b4
Add transaction selector based on min priority fee parameter ( #6083 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
de8ca108a3
Add API to set and get the minGasPrice at runtime ( #6097 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@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
Fabio Di Fabio
6d100f30b7
Priority senders ( #5959 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Stefan Pingel
1c293fed97
Transaction Validation and Selection Plugin API update ( #6020 )
...
change Transaction Validation and Selection Plugin to make them more useful
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Gabriel-Trintinalia
a56a35f1e0
[Plugin API] - TransactionSelector - Send TransactionSelectionResult to the plugin when not transaction is not selected ( #6010 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Gabriel-Trintinalia
e8a0428a27
[Plugin API] - TransactionSelector - Notify plugins when transaction is selected/rejected ( #6005 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Gabriel-Trintinalia
4b822d6739
[Plugin API] - Simplify plugin transaction selector interface to return object instead of list ( #5995 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Gabriel-Trintinalia
71bc57494d
Plugin Api - Add evaluateTransactionPostProcessing to TransactionSelector interface ( #5988 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
987d33c63a
Use PendingTransaction in BlockTransactionSelector ( #5966 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Gabriel-Trintinalia
c4f66c4758
BlockTransactionSelector refactoring ( #5931 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
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
Stefan Pingel
47285a48f6
Eip4788 parentBeaconBlockRoot ( #5758 )
...
Implement EIP 4788
Unit tests need to be added
Implementation is working for test net 8, address of the contract will probably change
EIP 4788 is still not finalized. Some changes might be necessary.
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
Danno Ferrin
3b04f5cd27
Migrate DataGas to BlobGas ( #5759 )
...
In all places move from DataGas to BlobGas when talking about 4844 gas.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago