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
Stefan Pingel
be8f4945b0
Metrics for sync phases ( #7390 )
...
* add metrics to measure the time for chain and world state sync
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: Simon Dudley <simon.dudley@consensys.net>
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>
3 months ago
Karim Taam
dff99f7c17
Implement getNearest methods ( #7258 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
3 months ago
Nischal Sharma
50f8add052
Tracing private transactions feature ( #6161 )
...
* add private tx tracing feature
Signed-off-by: Nischal Sharma <nischal@web3labs.com>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago
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>
8 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>
10 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