Danno Ferrin
9f11eba853
Reftests 13.3 / EIP-7610 implementation ( #7055 )
...
* Upgrade reftests to 13.3
* Implement retroactive EIP-7610
We need to do both of these at once as the reference tests needed to be
updated to reflect the changes in the retroactive EIP.
EIPTests for prague are disabled as they are still in flux
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
garyschulte
5656c5555a
Bump execution spec tests, reprise ( #7056 )
...
* execution-spec-tests generate state and blockchain tests separately
Signed-off-by: garyschulte <garyschulte@gmail.com>
7 months ago
Fabio Di Fabio
45b6c0895f
Remove deprecated Goerli testnet ( #7049 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
garyschulte
ad3a227b57
Revert "bump execution-spec tests to 2.1.1 ( #7050 )" ( #7051 )
...
This reverts commit 71c9581b4f
.
Signed-off-by: garyschulte <garyschulte@gmail.com>
7 months ago
Usman Saleem
ce59da5bd5
build - Apply spotless license header checks to shell scripts ( #7048 )
...
* build - apply license to shell scripts
* build - shell script license text
* fix - Add missing shebang line in evmtool benchmark shell scripts
* build - update shell license text and spotless regexp
* build - apply license header to shell scripts
* fix - Update shebang in splitList to use bash
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
garyschulte
71c9581b4f
bump execution-spec tests to 2.1.1 ( #7050 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
7 months ago
garyschulte
0a24acccc2
Default bonsai to fully flat db and code storage by codehash ( #6894 )
...
* change to full flat db and code stored by code hash by default
* deprecate --Xsnapsync-synchronizer-flat-db-healing-enabled, add DataStorageOption for --Xbonsai-full-flat-db-enabled
Signed-off-by: garyschulte <garyschulte@gmail.com>
7 months ago
Jason Frame
bbbfc4c822
World state halt and chain halt fixes ( #7027 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
7 months ago
Usman Saleem
f63282c3b2
Apply Hyperledger license header to `p2p`,`trie` and `verkletrie` ( #7038 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
d85036d3b2
Apply Hyperledger license header to `ethereum/ethstats` and `ethereum/evmtool` ( #7037 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
903f350a42
Apply Hyperledger license header to `ethereum/core/` ( #7034 )
...
* Apply Hyperledger license header to `ethereum/core/`
* Fix license header for LogWithMetadata
---------
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
Usman Saleem
60b6b7d76e
Apply Hyperledger license header `ethereum/api/` ( #7031 )
...
* Apply Hyperledger license header
-- ethereum/api/
Signed-off-by: Usman Saleem <usman@usmans.info>
* Fix license headers
Signed-off-by: Usman Saleem <usman@usmans.info>
* Fix license headers
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
482498177c
Apply Hyperledger license header to `ethereum/eth/` ( #7035 )
...
* Apply Hyperledger license header to `ethereum/eth/`
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
0d6b38ee65
Apply Hyperledger license header to `ethereum/blockcreation/` ( #7033 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
garyschulte
afea4e0057
Allow API configuration to override supplied gasLimit ( #6978 )
...
* allow gasLimit configuration for transaction simulation
* revise unit test to reflect new behavior of rpcGasCap
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
7 months ago
Usman Saleem
70813fc0ca
build - Update license headers formatting (6) ( #7020 )
...
Fix license headers formatting under: ethereum/ services/
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Usman Saleem
a98dfff4f6
build - Update license headers formatting ( #7018 )
...
Fix license headers formatting under: ethereum/
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
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>
7 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>
7 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>
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
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