Vaidik
2054e12071
nonce as integer for preloaded contracts ( #7850 )
...
* fixes #7749
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>
* tests
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>
* spotless format fix
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>
---------
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
3 weeks ago
François Bojarski
ef9d1ab38e
fix(push): right pad if `push parameter + PC +1` exceeds code length ( #7834 )
...
* fix(push): right pad if push parameter exceeds code length
* test: add push operation padding tests
* better perf rightPadding thnks to Ameziane
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
Co-authored-by: Ameziane H. <ameziane.hamlat@consensys.net>
3 weeks ago
garyschulte
d415b7db53
feature: Add optional worldstate move flag to debug_setHead ( #7821 )
...
* add optional worldstate move to debug_setHead
* make state rolling occur incrementally so as not to overwhelm memory and resources
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 weeks ago
garyschulte
1da0e9f232
remove dangling retesteth references ( #7856 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
3 weeks ago
Justin Florentine
03a2b92f00
IntelliJ do not fail me ( #7855 )
...
Signed-off-by: jflo <justin+github@florentine.us>
3 weeks ago
Justin Florentine
11fc094132
adds issue templates ( #7820 )
...
* adds issue templates
Signed-off-by: jflo <justin+github@florentine.us>
* adopts pr suggestions
Signed-off-by: jflo <justin+github@florentine.us>
---------
Signed-off-by: jflo <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
3 weeks ago
Justin Florentine
8fce5aa6ff
IntelliJ do not fail me ( #7846 )
...
Signed-off-by: jflo <justin+github@florentine.us>
3 weeks 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>
4 weeks ago
garyschulte
d846e3749b
Remove retesteth rpc service and commands ( #7833 )
...
* remove retesteth rpc service and commands
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 weeks ago
Sally MacFarlane
24ed2d0b21
update discord invite link ( #7836 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
4 weeks 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>
4 weeks ago
monem
c5020be1d6
Update DCO.md ( #7827 )
...
Signed-off-by: monem <119044801+pucedoteth@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
4 weeks ago
Matilda-Clerke
db29df7c8d
7311: add GetReceiptsFromPeerTask ( #7638 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
4 weeks 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>
4 weeks 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
Fabio Di Fabio
22a570eda4
Fix registering new metric categories from plugins ( #7825 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
4 weeks ago
Sally MacFarlane
f82bb7d6b7
updated links in README to new wiki ( #7722 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
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
Preeti
8ed4a904f1
chore:Removed Dupicate AcceptanceTestBase ( #7815 )
...
* chore:Removed Dupicate AcceptanceTestBase
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>
1 month ago
Fabio Di Fabio
ee69279a94
Add getPendingTransactions to TransactionPoolService ( #7813 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
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
Bhanu Pulluri
a27dccd675
Fix incorrect duration for THREE_MINUTES from 1 minute to 3 minutes ( #7780 )
...
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
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
Fabio Di Fabio
71906fa9d4
Replace custom required options check with standard way ( #7738 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 month ago
Fabio Di Fabio
8e3735fae5
Include platform (BOM) project when publishing ( #7803 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 month ago
Danno Ferrin
d583863225
CALLF and JUMPF rules validation updates ( #7787 )
...
* Check JUMPF stack
Rule 2 in EIP-6206 requires us to check stack prior to JUMPF
Signed-off-by: Danno Ferrin <danno@numisight.com>
* CALLF rule 4 rollback
Rule 4 is about return stack, not operand stack
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
1 month ago
Sally MacFarlane
653ebcbd70
switch to junit 5 ( #7799 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 month ago
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