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
Danno Ferrin
0cca642bc5
EIP-2935 Nyota updates ( #7120 )
...
Bring implementation up to nyota version of the EIP,
and remove invasive change into the EVM code.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Jason Frame <jasonwframe@gmail.com>
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
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
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
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
knowmost
eb6c3495e3
chore: fix some typos in comments ( #7005 )
...
Signed-off-by: knowmost <knowmost@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
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
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>
7 months ago
Lucas Saldanha
61432831d5
EIP-7002: Validator Exit contract helper and adding exits to created blocks ( #6883 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
8 months ago
ahamlat
da03bf2417
Change block miner log to include all the performance number on one line with Info level ( #6939 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
b6a26c422e
Fix and reformat produced block timing log ( #6916 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 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
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
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
Matt Whitehead
5bc81ae181
Ensure empty withdrawal lists are set in BFT blocks when the protocol spec is shanghai or higher ( #6765 )
...
* Ensure empty withdrawal lists are set in BFT blocks when the protocol schedule is shanghai or higher
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Unit tests missing mock
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Unit tests missing mock
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Refactor and reduce code duplication
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
8 months ago
ahamlat
bb647d1443
Modify the message when the selection of transactions is interrupted because it reached the maximum configured duration ( #6814 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
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>
9 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
Gabriel-Trintinalia
9d57927572
New cli options to limit rewards return by eth_feeHistory ( #6202 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year 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
Stefan Pingel
646c5a3bc6
clean up the ProcessableBlockHeader ( #6117 )
...
* clean up
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