Justin Florentine
8fce5aa6ff
IntelliJ do not fail me ( #7846 )
...
Signed-off-by: jflo <justin+github@florentine.us>
1 month ago
Justin Florentine
7eb7b870c3
Refactoring around MiningParameters ( #7798 )
...
decoupled parent block header from block creators
optionalized some fields of ProtocolSchedule constructor, which will allow us to reduce number of constructors later.
Refactored JsonBlockImporterTest so it can provide a BesuComponent
ProtocolScheduleBuilder optionalizes the default chainid
Blocks SubCommand is now Dagger aware
Creates but rarely uses ProtocolSpec and ProtocolSchedule modules. Deeper adoption pending.
Adds a Coinbase module with fixed values for use in testing.
Introduces an EthereumCoreComponent, to be used as a subcomponent of BesuComponent in the future.
Introduces a MiningParameters module with common static values used by tests. Removes MiningParameters static constructor.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: jflo <justin+github@florentine.us>
1 month ago
garyschulte
d846e3749b
Remove retesteth rpc service and commands ( #7833 )
...
* remove retesteth rpc service and commands
Signed-off-by: garyschulte <garyschulte@gmail.com>
1 month ago
Simon Dudley
ec46074ca6
Test against EngineNewPayloadV4 in EngineNewPayloadV4Test ( #7837 )
...
Also change "Missing" -> "Unexpected" message when V3 blob params sent to V2
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 month ago
Matilda-Clerke
db29df7c8d
7311: add GetReceiptsFromPeerTask ( #7638 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Ade Lucas
f9f721c10e
Issue 5589 trigger a timeout ( #7469 )
...
* Make timeout feature use vertx timer.
* Handle all errors resulting from timeout.
* Ensure that after the timeout occurs, we properly handle the response and don't allow the execution to continue.
---------
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
Signed-off-by: cloudspores <ade.lucas@consensys.net>
Co-authored-by: Ade Lucas <adelucas@gc950powy.lan>
Co-authored-by: Ade Lucas <adelucas@macbook-pro.lan>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
1 month ago
Sally MacFarlane
c318b6a5ff
[TESTING] Remove dependency on test containers ( #7790 )
...
* removed dep for testcontainers
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Simon Dudley
f855d5b72f
EIP-7742: Add target_blob_count to block header ( #7808 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 month ago
7at
42b3cd4291
Fix evmtool JSON Error Field to Return Hex String Instead of Long Null String on REVERT ( #7774 )
...
Signed-off-by: 7at <itisfor@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Karim Taam
a3b886368f
Data storage option refactoring ( #7807 )
...
Renaming and refactoring the classes common to both Bonsai and Verkle to facilitate the future integration of Verkle.
---------
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
1 month ago
Jason Frame
f16d3526db
Change execution requests to use flat encoding ( #7771 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
1 month ago
Fabio Di Fabio
516559fadc
Cleanup: Synchronizer is always present in protocol context ( #7791 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 month ago
Sally MacFarlane
76060a0416
[TESTING] remove junit4 dependency ( #7793 )
...
* migrate to junit5
* remove junit4 dep
* remove vintage dep
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Sally MacFarlane
d8d1237252
[TESTING] remove junit4 assumeThat ( #7788 )
...
* use junit5 assumeTrue/false
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Stefan Pingel
7e61f74ff7
Add requests root to empty block check ( #7785 )
...
* add requests root to empty block check and move it to BlockHeader
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Fabio Di Fabio
9a7744763a
Create and publish Besu BOM (Bill of Materials) ( #7615 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
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