Fabio Di Fabio
b23fd78da2
Add metrics related services to the Besu context for acceptance tests ( #7797 )
...
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
Simon Dudley
73a6042e0b
Update release checklist ( #7794 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
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
Sally MacFarlane
1b0da83f19
use junit5 version of parameterized test ( #7789 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Fabio Di Fabio
937c25acdd
Update Java dependencies ( #7786 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
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>
1 month ago
Fabio Di Fabio
9a7744763a
Create and publish Besu BOM (Bill of Materials) ( #7615 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 month ago
Matilda-Clerke
111aadcb0c
7311: Remove unused constructor from AbstractPeerBlockValidator ( #7782 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@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
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>
1 month ago
Sally MacFarlane
5469b52eb5
remove unnecessary casts and verify ( #7776 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month 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>
1 month 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>
1 month 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>
1 month ago
Bhanu Pulluri
0f4e0d421f
update jose4j version for handling cve CVE-2023-51775 ( #7770 )
...
* update jose4j version for handling cve CVE-2023-51775
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* remove duplicate line
Co-authored-by: Matt Whitehead <matthew1001@hotmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Matt Whitehead <matthew1001@hotmail.com>
1 month ago
Sally MacFarlane
c796147781
add chaminda ( #7709 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month 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>
1 month ago
Simon Dudley
141eb4b752
Prep changelog for 24.10.0-RC2 ( #7769 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 month 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>
1 month ago
Simon Dudley
5330e5ae6d
Disable --Xsnapsync-to-head-enabled by default ( #7764 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 month ago
Sally MacFarlane
fd50a3e0af
[TEST] extra testing for host and port default values ( #7741 )
...
* extra test for host and port leak
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
Justin Florentine
1029c512cb
communicate out option removal ( #7762 )
...
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 month 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>
1 month 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
aac7c63b08
Rotate CHANGELOG for 24.10.0 release ( #7752 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Matt Whitehead
03a0cfad4b
Support BFT mining coordinator being temporarily stopped while syncing ( #7657 )
...
* Support BFT mining coordinator being temporarily stopped while syncing happens
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Apply same change to IbftBesuControllerBuilder
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add changelog entry
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add event queue start/stop test
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add BFT mining coordinator tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Typo
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Update consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftEventQueue.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com>
* Update consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftProcessor.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew1001@hotmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
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
garyschulte
53c410f250
simple bump besu-native to 0.9.7 ( #7740 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
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
Glory Agatevure
67d738c8a1
Add ephemery network config ( #7563 )
...
* Add Ephemery genesis config file
Signed-off-by: gconnect <agatevureglory@gmail.com>
---------
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: Glory Agatevure <agatevureglory@gmail.com>
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
Danno Ferrin
63b9ec9daa
ReturnDataLoad is an EOF only operation ( #7670 )
...
Update ReturnDataLoadOperation to fail when called from legacy.
Signed-off-by: Danno Ferrin <danno@numisight.com>
2 months ago
Chaminda Divitotawela
8cf20ed7f5
Changes to release workflow ( #7711 )
...
* Changes to release workflow
- Workflow environment variable changed to RELEASE_VERSION instead of RELEASE_NAME to make it more meaningful
- Workflows draft-release and docker-promote previously trigger workflow container-verify. This can result in trigger is successful but actual verification workflow fails. This will not be reflected in the draft-release and docker-promote workflows. Container verify code is embedded in the draft-release and docker-promote workflows to avoid this confusion
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
* PR comment improvements
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
* Match the only tags starting with word latest for latest check
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
---------
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
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
Fabio Di Fabio
94099d18f5
Add suport for --plugins option in acceptance tests ( #7713 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
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
Gabriel-Trintinalia
49bf37cc31
Expose chain ID in the BlockchainService plugin API ( #7702 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 months ago