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
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
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
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
Gabriel-Trintinalia
cee973d429
[minor] Remove redundant info from plugin summary ( #7339 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
4 months ago
Fabio Di Fabio
99260fae96
Improve blob size transaction selector ( #7312 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 months ago
Fabio Di Fabio
782553eb03
Stop transaction selection on TX_EVALUATION_TOO_LONG ( #7330 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 months ago
Sally MacFarlane
223f1bc3bb
EIP-7251 add consolidation request type ( #7266 )
...
* add request type for consolidations, encoder, decoder and tests
* added raw tx for consolidation
* add consolidation reqs to EngineGetPayloadResultV4
* set storage slot value to 0 initially and value for tx
* updates plugin api
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
4 months ago
gringsam
33f2ae2726
Fixed outdated tech redirect link. ( #7297 )
...
* fix wiki link
Signed-off-by: Snazzy <snazzysam933@gmail.com>
* fix format
Signed-off-by: Snazzy <snazzysam933@gmail.com>
* change knownHash
Signed-off-by: Snazzy <snazzysam933@gmail.com>
---------
Signed-off-by: Snazzy <snazzysam933@gmail.com>
5 months ago
Danno Ferrin
20b82a40c9
Rename ValidatorPublicKey to ValidatorPubKey ( #7280 )
...
Adapt to EIP-7002 name change for validator public key in all places.
Signed-off-by: Danno Ferrin <danno@numisight.com>
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
5415463a33
Rename methods and variables to match json ( #7134 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
6 months ago
garyschulte
ebb883075f
Feature/fleet mode rebase ( #6641 )
...
* fleet mode squash commit rebase
Signed-off-by: garyschulte <garyschulte@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>
6 months ago
Usman Saleem
8c596a5e35
javadoc - Adding default constructor and javadoc for :plugin-api ( #7072 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
b121a5dd6d
build - Fix gradle build for Java 21 ( #7058 )
...
* build - Fix gradle build for Java 21. Add compileOnly dependencies to allow gradle build to run against Java 21
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
9d27c509be
Apply Hyperledger license header ( #7029 )
...
-- plugin-api/ util/
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
9a1f6842ef
build - Update license headers formatting (5) ( #7019 )
...
Apply license headers formatting under: plugin-api/ plugins/
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
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
Gabriel-Trintinalia
a1f73d925e
Enhanced control over plugins registration ( #6700 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
mbaxter
66176c0619
[Issue-6301] Add bad block events ( #6848 )
...
Signed-off-by: mbaxter <mbaxter.dev@gmail.com>
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
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
Fabio Di Fabio
7abb29cdc8
Improve PluginRpcEndpointException log ( #6789 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
86cc6cb19e
Extend error handling of plugin RPC methods ( #6759 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 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
2b8d44ec77
Refactor and extend PluginTransactionPoolValidatorService ( #6636 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@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
Fabio Di Fabio
e0bedff962
Database metadata refactor ( #6555 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
9 months ago
Fabio Di Fabio
3538c55a37
Extend Blockchain service ( #6592 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Fabio Di Fabio
1d2d0375cd
Extend BesuConfiguration service ( #6584 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Usman Saleem
c10cb3d3a9
Store trielog as blobdb ( #6289 )
...
Store trielog as blobdb to improve performance.
* Store trie_log_storage as blob
* changelog
* Add gc flag for static data
* Updating plugin-api build.gradle with new hash as SegmentIdentifier interface has introduced new method
Signed-off-by: Usman Saleem <usman@usmans.info>
10 months ago
Thabokani
f125aed72f
Fix typos ( #6481 )
...
* Fix typos
Signed-off-by: Thabokani <149070269+Thabokani@users.noreply.github.com>
* update plugin-api/build.gradle
Signed-off-by: Thabokani <149070269+Thabokani@users.noreply.github.com>
---------
Signed-off-by: Thabokani <149070269+Thabokani@users.noreply.github.com>
10 months ago
ahamlat
666f795b63
Improve the high spec flag ( #6354 )
...
* Improve the high spec flag, limit it to few column families
* Update changelog
* spotless
* Update the plugin API hash as one of the interfaces was changed\
* Fix failing unit tests
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
10 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
Karim TAAM
2ac9bf8e93
Fix trielog shipping issue during self destruct ( #6340 )
...
* fix trielog shipping issue
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
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
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
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
GoodDaisy
e814886d4a
Fix some typos ( #6093 )
...
* Fix some typos
* Update plugin version
Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>
---------
Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>
1 year ago
daniellehrner
a60b31b3af
TraceService: return results for transactions in block ( #6087 )
...
* TraceService: return results for transactions in block
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
1 year ago
NC
5fce4fd3ed
Standardize pubkey and public key naming in deposit ( #6012 )
...
---------
Signed-off-by: naviechan <adrninistrator1@protonmail.com>
Signed-off-by: Navie Chan <naviechan@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
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