Justin Florentine
c127f9c1d7
naming things is important ( #7895 )
...
BesuContext was not a helpful name for an interface that only manipulates services to be used by plugins.
---------
Signed-off-by: jflo <justin+github@florentine.us>
5 days ago
Fabio Di Fabio
fe462896d2
Add support for counter metric with external supplied value ( #7894 )
...
* Add support for counter metric with external supplied value
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
5 days ago
Fabio Di Fabio
02722bcd8a
Consolidate all metric collectors into the metrics system ( #7877 )
...
* Consolidate all metric collectors into the metrics system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fixes
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Do not recreate the Prometheus metric system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
6 days ago
Fabio Di Fabio
ba86ce1181
Add a method to check if a metric category is enabled to the plugin API ( #7832 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 weeks ago
Simon Dudley
f855d5b72f
EIP-7742: Add target_blob_count to block header ( #7808 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
4 weeks ago
Fabio Di Fabio
ee69279a94
Add getPendingTransactions to TransactionPoolService ( #7813 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 weeks ago
Jason Frame
f16d3526db
Change execution requests to use flat encoding ( #7771 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
1 month ago
Matilda-Clerke
2169985ee2
7311: add peertask foundation code ( #7628 )
...
* 7311: Add PeerTask system for use in future PRs
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Gabriel-Trintinalia
49bf37cc31
Expose chain ID in the BlockchainService plugin API ( #7702 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago
Fabio Di Fabio
f9695c18c0
Interrupt candidate tx execution on block creation timeout ( #7673 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 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
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>
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