Usman Saleem
87afe64cd9
build - Apply spotless license header checks to solidity sources ( #7046 )
...
* build - Apply spotless license header checks to solidity sources
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Simon Dudley
1f3ff8598b
bump web3j solidity plugin to 0.4.1 for gradle 8 compatibility ( #7041 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Usman Saleem
f0cb26eb31
Enable spotless license header check ( #7040 )
...
* Enable spotless license header
Signed-off-by: Usman Saleem <usman@usmans.info>
* Apply spotless license header
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Fabio Di Fabio
690a2ea81e
Refactor genesis config file and options ( #7012 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
Sally MacFarlane
1ce3f8dec9
attempt to fix flaky test ( #7008 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Usman Saleem
07765b57a8
build - Update license headers formatting (2) ( #7016 )
...
* Preparing spotless license header option and adding license templates
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
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
Sally MacFarlane
12723ace68
removed tests for pki qbft and add deprecation notice ( #6979 )
...
* removed tests for pki qbft and add deprecation notice
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* remove more PKI and CMS creation utils from tests
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Fabio Di Fabio
e4df70a350
Support removed and added test when splitting by time ( #6990 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
Sally MacFarlane
5ac225442f
check nodes are producing blocks and synced before sending tx ( #6975 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Gabriel-Trintinalia
a1f73d925e
Enhanced control over plugins registration ( #6700 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Lucas Saldanha
61432831d5
EIP-7002: Validator Exit contract helper and adding exits to created blocks ( #6883 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
8 months ago
Fabio Di Fabio
4dd9c65ff7
Port permissioning acceptance tests to JUnit 5 ( #6959 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Simon Dudley
b1d8554e23
Revert 7e46889
which slowed down ATs ( #6948 )
...
This reverts commit 7e46889817
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
8 months ago
Sally MacFarlane
bc04751284
Fix Flaky test permv2 ( #6936 )
...
* verify
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
dc60b1d586
follow up improvement in ordering to fix flakiness ( #6922 )
...
* follow up improvement in ordering to fix flakiness
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
4c21d63413
Fix flaky test ( #6917 )
...
* check for chain height not syncing status
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
mbaxter
66176c0619
[Issue-6301] Add bad block events ( #6848 )
...
Signed-off-by: mbaxter <mbaxter.dev@gmail.com>
8 months ago
Sally MacFarlane
a7a9691e27
disable the two tests that fail on Mac ( #6912 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Lucas Saldanha
efd98de5ba
Added waitTime option on engine ATs ( #6907 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Justin Florentine
3c32d03e8e
marks flaky test as such ( #6906 )
...
Signed-off-by: Justin Florentine <justin+github@florentine.us>
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
Fabio Di Fabio
cf5e3dae98
Update Web3j dependencies ( #6811 )
...
* Update Web3j dependencies
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Force old version of the solidity compiler to pass AT
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
ceafa2a1e6
Fix two flacky acceptance tests ( #6837 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
7e46889817
Support running acceptance tests on Windows ( #6820 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Usman Saleem
e954537fcc
build - Refactor Besu custom error prone dependency ( #6692 )
...
Move Besu custom error-prone checks into its own repository and use it as an external dependency. This allows to move to a newer version of Google errorprone checks as well while cleaning up build.gradle file.
Key changes resulted due to this change:
* String toLowerCase and toUpperCase to use Locale.ROOT as argument
* Use interface such as List,Map or NavigatableMap instead of concrete class where appropriate.
* Simplify StringBuilder to plain String
* Suppress warnings where appropriate.
-----
Signed-off-by: Usman Saleem <usman@usmans.info>
8 months ago
Lucas Saldanha
2eca4d5a4e
Adding engine_getPayloadV4 and engine_newPayloadV4 ( #6783 )
...
Moved engine_newPayload6110 and engine_getPayload6110 to V4
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
8 months ago
Sally MacFarlane
6fcac7bd45
extra check for syncing ( #6771 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
380c0c93f7
for fcu v2 use correct invalid params error code ( #6766 )
...
* fcu v2 use invalid params error code per spec
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
391d670026
disable not ignore ( #6754 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Sally MacFarlane
34bd2032a0
ignore flaky test ( #6748 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Gabriel-Trintinalia
9881e201df
Fix permissioning plugin test ( #6737 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
9 months ago
Fabio Di Fabio
4cc6b744cf
Transaction simulation service ( #6686 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Sally MacFarlane
e56a37da11
verify syncing false ( #6720 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Gabriel-Trintinalia
b2ca0e9bf9
Add privacy and permissioning services to thread plugin context ( #6711 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@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
RoboCopsGoneSock
671e35a1e2
Revert "Acceptance tests to use bonsai ( #6619 )" ( #6677 )
...
This reverts commit 647750c201
.
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Simon Dudley
dbc128f100
Clique createemptyblocks transition ( #6608 )
...
Support clique transitions for createemptyblocks boolean
---------
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
9 months ago
Simon Dudley
0e3d2f47d7
Clique block period transition ( #6596 )
...
Add BFT-style transitions to Clique, modelled with ForksSchedule<CliqueConfigOptions>
Add ability to transition the blockperiodseconds config.
---------
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
9 months ago
Sally MacFarlane
647750c201
Acceptance tests to use bonsai ( #6619 )
...
* use given config or else default bonsai
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Fabio Di Fabio
aa3819241d
Cleanup after refactoring TransactionSelectionService ( #6618 )
...
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
Sally MacFarlane
094fbb9453
Use Invalid payload attributes error code ( #6582 )
...
* invalid payload error code
* use non-zero timestamp
* use invalidPayloadAttributes error for V2 if non-null beacon root pre cancun
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
9 months ago
Fabio Di Fabio
1d2d0375cd
Extend BesuConfiguration service ( #6584 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
9 months ago
Sally MacFarlane
24f92019ed
Default storage format now Bonsai ( #6536 )
...
* default bonsai
* be explicit about config in tests
* default forest storage for fast sync tests
* added upcoming breaking changes section
* added db mismatch message
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
10 months ago
Sally MacFarlane
802590a1ca
increase timeout for websocket subs ( #6522 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
10 months ago
Sally MacFarlane
7be3859dfe
only run non-privacy ATs ( #6526 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
10 months ago
Matt Whitehead
03dd7f1d1a
QBFT + shanghai support ( #6353 )
...
* Refactored version of QBFT/shanghai
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* More refactoring
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add equivalent IBFT fixes. Update QBFT and IBFT round tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Update the change log
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Remove old comments
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add shanghai contract validator test
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add shanghai acceptance test
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Add Shanghai to the combined protocol schedule test, update IBFT message validator creation
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Fix merge
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Update tests to use shanghai time > 0
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Address PR comments
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Refactor unit tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Refactor unit tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* IbftRoundTests update
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Address PR comments
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Remove unnecessary class type check
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
10 months ago
Sally MacFarlane
2077bb78c4
Deprecate --Xp2p-peer-lower-bound ( #6501 )
...
* deprecate p2p-peer-lower-bound
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
10 months ago
Sally MacFarlane
1537e961ad
add sync condition for privacy tests ( #6479 )
...
* add sync condition for privacy tests
Signed-off-by: George Tebrean <george@web3labs.com>
* headers
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* revert configs
Signed-off-by: George Tebrean <george@web3labs.com>
---------
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: George Tebrean <george@web3labs.com>
10 months ago