Usman Saleem
4dc08d40a5
build - Preparing spotless license header option and adding license templates ( #7015 )
...
Preparing spotless license header option and adding license templates
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
knowmost
eb6c3495e3
chore: fix some typos in comments ( #7005 )
...
Signed-off-by: knowmost <knowmost@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
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
ahamlat
27a7de90c4
Fix "CORS Rejected - Invalid origin" issue when origin header is empty ( #6988 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
7 months ago
Fabio Di Fabio
3d5f45c35f
Layered txpool tuning for blob transactions ( #6940 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Jason Frame
e4e9f670fe
Fix worldstate halt with snap sync during initial sync ( #6981 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
381e692b1f
Refactor: take blockchain out of MainnetTransactionProcessor ( #6962 )
...
Remove an unused parameter in MainnetTransactionProcessor, as well as
all code supporting sending that parameter.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Gabriel-Trintinalia
a1f73d925e
Enhanced control over plugins registration ( #6700 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
8 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
StevenMia
2bb0a59860
chore: fix some typos in comments ( #6951 )
...
* chore: fix some typos in comments
Signed-off-by: StevenMia <flite@foxmail.com>
* Apply suggestions from code review
fix typo
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: StevenMia <flite@foxmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
02754e8136
Use tx effective gas price when comparing with min mineable gas price configuration ( #6958 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
b5b7b9f5f0
Peer disconnect message - add client info ( #6947 )
...
* add client info to disconnect message
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* exclude disconnect reason message since it makes it harder to analyse
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
960145683f
Update execution-spec-tests support ( #6942 )
...
Update t8n, b11r, and friends to support current execution spec
* bonsai migration introduced issues with deleted storage/accounts
* status on pre-constantinople json was invalid
* track refund across tx, not call frame
* allow tests to be executed by name
* fix withdrawal self-destruct test
* trace support in execution-spec-tests
* fix blob tests
* t8n results changes
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
ahamlat
da03bf2417
Change block miner log to include all the performance number on one line with Info level ( #6939 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
garyschulte
b67ad6903e
Docker develop publishing task ( #6893 )
...
Publish to dockerhub on merge to the main branch
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
8 months ago
Sally MacFarlane
6699907204
check for empty in disconnect reason bytes ( #6938 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
garyschulte
ec06ab5567
Fix named network default disabled for downgrade protection ( #6943 )
...
* fix default disabled for downgrade protection on named networks
implement comparable for VersionMetadata, add explicit coverage
Signed-off-by: garyschulte <garyschulte@gmail.com>
* test method rename
Signed-off-by: garyschulte <garyschulte@gmail.com>
* remove errant comment
Signed-off-by: garyschulte <garyschulte@gmail.com>
* do not use static version metadata, to facilitate unit tests
Signed-off-by: garyschulte <garyschulte@gmail.com>
---------
Signed-off-by: garyschulte <garyschulte@gmail.com>
8 months ago
Danno Ferrin
27ade870ea
Consistent nonce handling ( #6941 )
...
Make handling of absurdly large nonces
more consistent across txpool and EVM.
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Danno Ferrin
05eb920f8d
Add Paris Support to tests ( #6933 )
...
Execution-spec-tests and reference tests have migrated Merge to Paris.
Support both.
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Gabriel Fukushima
3c54da63dd
fix npe on trace msg ( #6934 )
...
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
8 months ago
Sally MacFarlane
909b6ca355
added an else and extra logging ( #6931 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
fbe9898653
Refactor Gas Calculator Create methods ( #6905 )
...
Preparatory for EOF. Refactor the gas calculation logic so that it does
not depend on specific stack entries, and break out the pieces of the
calculation for readability.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Danno Ferrin <danno@numisight.com>
8 months ago
Sally MacFarlane
2a74ea1f1b
richness for breach of protocol reasons ( #6925 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
L.Y
c1314d53a6
feat: add --genesis-state-hash-cache-enabled paramater ( #6758 )
...
Signed-off-by: lyfsn <dev.wangyu@proton.me>
8 months ago
ahamlat
756ed5fcd3
Add RPC errors metric ( #6919 )
...
* Add RPC errors metric.
This metric has two labels : RPC method and RPC error type.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Spotless.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Add changelog.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
---------
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-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
Fabio Di Fabio
b6a26c422e
Fix and reformat produced block timing log ( #6916 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Sally MacFarlane
5ae2823792
add peer count ( #6911 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
001080a72b
Upgrade spotless to 1.22.0 ( #6898 )
...
Upgrade spotless to 1.22.0 and reformat.
This is required for Java21 support.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
e8e1e4c449
Expose transaction count by type metrics for the layered txpool ( #6903 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
8064da0217
Log detailed timing of block creation steps ( #6880 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
f26f3f5224
Correctly initialize the txpool as disabled on creation ( #6890 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
d753b2a5d6
added richness to useless peer disconnect reasons ( #6899 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Jason Frame
758adc7d74
Improve logging of peer disconnects due to subprotocol triggered reason ( #6886 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
8 months ago
Simon Dudley
d9bb7a6022
Add debug logging to see why we stop downloading from peer ( #6885 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
8 months ago
Usman Saleem
80c6c04db6
fix: Use HttpRequest authority instead of host ( #6879 )
...
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method
Signed-off-by: Usman Saleem <usman@usmans.info>
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
Jason Frame
a7b10dbece
Bws internal error fix ( #6806 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
8 months ago
garyschulte
9ae52a97cd
align PeerReputation timout threshold with peer max outstanding requests ( #6877 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
8 months ago
garyschulte
336ebe93b7
remove check for snap server in controller builder ( #6876 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
8 months ago
Fabio Di Fabio
c93cfbeb87
Blob transaction replacement rule ( #6874 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Matt Whitehead
b55ec65f0f
Add debug logs for when transaction processing halts or reverts ( #6875 )
...
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
8 months ago
Sally MacFarlane
b04e82a4c2
[MINOR] nuke those extra ellipses ( #6870 )
...
* no extra ellipses
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* no extra ellipses
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* spurious semicolon
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* duplicated word
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
ed678f1cc5
make test use threshold values explicitly ( #6843 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
1aabba1474
removed extra ... ( #6849 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
0307996574
Remove some dead code ( #6861 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
5e93b69503
Log at debug the first error when adding a tx for the sender fails ( #6846 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Danno Ferrin
36e914bf4e
Upgrade reference tests to 13.2 ( #6854 )
...
New revision of Cancun era reference tests
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
8 months ago
garyschulte
34fc5eed58
Snap server rebase ( #6640 )
...
* initial snap server implementation
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
garyschulte
deaea9b34d
Snap client fixes ( #6847 )
...
* manage empty range for storage
* round rather than floor on max remote connections so that maxpeers=1 still can accept remote connections
---------
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago