Matilda-Clerke
111aadcb0c
7311: Remove unused constructor from AbstractPeerBlockValidator ( #7782 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months 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>
2 months ago
Fabio Di Fabio
dfbfb96f28
Fine tune already seen txs tracker when a tx is removed from the pool ( #7755 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Sally MacFarlane
5469b52eb5
remove unnecessary casts and verify ( #7776 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda-Clerke
716874e160
7311: Remove code only used in test, update test to use code used in production code ( #7775 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
acfbc82aa5
7311: Remove unused code, update tests to use used code ( #7772 )
...
* 7311: Remove unused code, update tests to use used code
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7311: Disable invalid test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
FlorianHuc
e720d8f670
add info related to tx validity ( #7773 )
...
* add info related to tx validity
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
---------
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Sally MacFarlane
f0e9f409e6
Copyright Besu ( #7768 )
...
* update copyright for new files only if not matching existing patterns
* scripts too
* scripts all use Besu copyright
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Simon Dudley
b6a09cd136
revert "7536 use head for snap sync ( #7718 )" ( #7767 )
...
This reverts commit a7e1f6ace0
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Simon Dudley
5330e5ae6d
Disable --Xsnapsync-to-head-enabled by default ( #7764 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
garyschulte
6c49c734ef
Add eip-2537 functions to evmtool benchmark subcommand ( #7708 )
...
* add bls12 g1/g2 to evmtool benchmark subcommand
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 months ago
Fabio Di Fabio
d5ee9b7bb1
Fix eth_feeHistory rewards when bounded by configuration ( #7750 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Bhanu Pulluri
174d4281da
Add null pointer check and testcase for snapsync tasks ( #7724 )
...
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Stefan Pingel
f9bed5930c
don't do too much work when transaction pool is disabled ( #7753 )
...
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Danno Ferrin
efb6906e13
Move EOF to the Osaka Fork ( #7719 )
...
* Move EOF to the Osaka Fork
* Ensure Osaka activations are working
* Remove CancunEOF and PragueEOF forks
* Move EOF tools to default to Osaka
Signed-off-by: Danno Ferrin <danno@numisight.com>
* remove eof tests that fail only because of fork
Signed-off-by: Danno Ferrin <danno@numisight.com>
* Restore CancunEOF
* Update unit tests to use "Cancun" as pre-eof fork
* Make PC in trace zeroed to start of code section 0
* Update extcall to consider precompiles warm
* Add stack checking to CALLF operation
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Preeti
e723b622c8
Chore:Resolved java Util NoSuchElementException ( #7730 )
...
* Chore:Resolved java Util NoSuchElementException
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Simon Dudley
e4c1b5991c
Fix RocksDBException: Busy during snapsync ( #7746 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
2 months ago
Stefan Pingel
0cd51065d1
Keep track of blobs that are part of multiple transactions ( #7723 )
...
* keep track of blobs that are part of multiple transactions
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
Stefan Pingel
11a62a0720
Fix unhandled exception ( #7743 )
...
* clean up and use thread safe cache
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Justin Florentine
3e7e4d88fd
Sonar cloud build failure ( #7739 )
...
* don't try to import to an existing db
* deprecated task
* testutil subproject hit a sonar bug
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
kingnhcomcast
1ce28daca5
7632 - add sync-min-peers to log and config overview ( #7732 )
...
add sync-min-peers to log and config overview
Signed-off-by: Kevin King <kevin.king@consensys.net>
2 months ago
kingnhcomcast
a7e1f6ace0
7536 use head for snap sync ( #7718 )
...
* Add support to sync to head instead of safe block during snapsync
Signed-off-by: Kevin King <kevin.king@consensys.net>
Signed-off-by: kingnhcomcast <114761064+kingnhcomcast@users.noreply.github.com>
2 months ago
Sally MacFarlane
21e95a9efb
add correct default to rpcHost ( #7725 )
...
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Danno Ferrin
81f9fc9c33
Change evmtool eof-test handling of empty code ( #7675 )
...
In EOFTest, treat empty code as invalid.
Signed-off-by: Danno Ferrin <danno@numisight.com>
2 months ago
Fabio Di Fabio
5fd87d61f1
Support chainId in CallParameters ( #7720 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Justin Florentine
911f12efa0
Repackage options ( #7688 )
...
Updates MetricsOptions to implement CLIOptions, and to contain its unstable options.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Suyash Nayan
49c6cbd1c3
return list in engine_getClientVersionV1 response ( #7663 )
...
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Justin Florentine
f4dc48d94d
Simplifying BesuCommand step 1 ( #7682 )
...
Simplifying BesuCommand
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2 months ago
Karim Taam
9310e1031d
Fix storage range issue during snapsync ( #7624 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Bhanu Pulluri
db1899c227
Expose revert reason field through GraphQL ( #7677 )
...
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Fabio Di Fabio
7af03b7295
Align gas cap for transaction simulation to Geth approach ( #7703 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Usman Saleem
d081c1754c
fix: Fix DNSDaemonTest - remove flaky assertion ( #7701 )
...
* fix: Fix DNSDaemonTest - remove flaky assertion
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
2 months ago
Stefan Pingel
9c80c9bf42
Improve finding peers ( #7626 )
...
* add check before adding peer to peer table
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Fabio Di Fabio
ffef4d5844
Fix for zombie invalid and penalized txs ( #7659 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Preeti
f541710c65
Chore:Resolved EnginerGetClientVersionV1 fails for local build ( #7687 )
...
Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
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
Karim Taam
bef897a162
Improve Log Message When Setting RPC Gas Cap for Transaction Simulation ( #7679 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
2 months ago
amsmota
aed6bb0044
Implementing support for emptyBlockPeriodSeconds in QBFT (Issue #3810 ) ( #6965 )
...
Implemented support for emptyBlockPeriodSeconds in QBFT (Issue #3810 )
Introduces experimental xemptyblockperiodseconds genesis config option for producing empty blocks at a specific interval independently of the value of the existing blockperiodseconds setting.
https://github.com/hyperledger/besu/issues/3810
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
2 months ago
Gabriel-Trintinalia
e0518c6d94
Force besu to stop on plugin initialization errors ( #7662 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago
Glory Agatevure
04ba15aa92
Add consolidationRequestContract in jsonGenesisConfig ( #7647 )
...
* Include consolidationRequestContract in jsonGenesisConfigOptions
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Update changelog and ran spotlessApply
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Rename consolidationRequestPredeployAddress to consolidationRequestContractAddress
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Create request contract addresses class
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Update method calls
Signed-off-by: gconnect <agatevureglory@gmail.com>
* Refactor RequestContractAddresses class and update method calls and test
Signed-off-by: gconnect <agatevureglory@gmail.com>
---------
Signed-off-by: gconnect <agatevureglory@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago
Matilda-Clerke
4f07e76a6c
7311: Add feature toggle for enabling use of the peertask system where available ( #7633 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Sally MacFarlane
9d689b9401
remove integration tests related to privacy ( #7645 )
...
* remove integration tests related to privacy
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
daniellehrner
1751a77f98
7702 validation checks v2 ( #7653 )
...
* yParity is valid up to 2**256 as well
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2 months ago
Jason Frame
e1f4489741
Disable body validation for POS networks during sync ( #7646 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
daniellehrner
cb1e36a992
Fix 7702 signature bound checks ( #7641 )
...
* create separate signature class for code delegations as they have different bound checks
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* test if increasing xmx let's failing acceptance test pass
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* javadoc
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Suyash Nayan
beaee59212
Add BlobMetrics ( #7622 )
...
* Add BlobMetrics
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* refactor
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* remove unused blob_storage
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* add .size() to BlobCache
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* Add to Changelog
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Justin Florentine
7d3e376771
shift creation of plugin context to BesuCommand for now ( #7625 )
...
* shift creation of plugin context to BesuCommand for now
* mock component will provide a no-op metrics sys
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
3 months ago
Fabio Di Fabio
6df4149f2a
Fix logging the evaluation time when a tx is selected for block creation ( #7636 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 months ago
Gabriel-Trintinalia
578104e222
Fix Snap Server Account Range tests ( #7552 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
3 months ago
ITStarMan100
12caf7d83c
Added GraphQL Service Information in responese result NetServices ( #7580 )
...
Signed-off-by: ITStarMan100 <danhopeman@outlook.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 months ago