Sally MacFarlane
7a270bec67
disable flaky test ( #7086 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Gabriel-Trintinalia
a5e08c8b02
Fix eip 2935 reftests ( #7093 )
...
* Fix reference tests for eip-2935
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Stefan Pingel
5fa1750606
Peering - Find and remove peers from the peer table that share the same IP and TCP port with different discovery ports ( #7089 )
...
Find and remove peers from the peer table that share the same IP and TCP port with different discovery ports
---------
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Danno Ferrin
821daf12b9
EIP-2935: Serve historical block hashes from state ( #7080 )
...
* EIP-2935: Serve historical block hashes from state
Refactor the BlockHashOperation to move hash lookup into the
ProtocolSpec, and combine logic with beacon root storage.
Update t8n test to use block hash list in new format
Signed-off-by: Danno Ferrin <danno@numisight.com>
Author: Gabriel-Trintinalia gabriel.trintinalia@consensys.net
Co-authored-by: Danno Ferrin danno@numisight.com
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Simon Dudley
2db3705b1d
Revert "Use github arm64 runners ( #7054 )" ( #7087 )
...
This reverts commit 2a39f2ccca
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Sean Young
2a39f2ccca
Use github arm64 runners ( #7054 )
...
Signed-off-by: Sean Young <sean@mess.org>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Usman Saleem
a754431cec
changelog - Java 17 and Java 21 upcoming changes ( #7083 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Fabio Di Fabio
40cfc800f7
New RPC methods `miner_setExtraData` and `miner_getExtraData` ( #7078 )
...
* New RPC methods to set and get block extra data
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove redundant methods to set the extra data
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* miner_getExtraData unit tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Fabio Di Fabio
b4b6adcf99
Fix potential memory leak ( #7076 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
daniellehrner
65b3cb1511
do not use NO_PROXY_CACHE env variable with apt-get install to avoid a linting error ( #7077 )
...
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
7 months ago
daniellehrner
033d4d6aa7
Run apt-get in docker builds without using any cache. ( #7011 )
...
* Run apt-get in docker builds without using any cache. Split steps in individual RUN commands
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* use env variable for apt non-cache settings, revert split into several RUN commands
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* clean apt-get cache after installation to decrease docker image size
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
7 months ago
Usman Saleem
8c596a5e35
javadoc - Adding default constructor and javadoc for :plugin-api ( #7072 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
42e9139265
build: Add default constructor and javadoc for metrics, nat, pki, plugins, services, testutil, util ( #7071 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
5b16cef571
javadoc - Adding default constructor and javadoc for :evm ( #7070 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Gabriel Fukushima
8601438d58
[LOGGING] snap pipeline errors and peer reputation ( #6924 )
...
* add logs for snap errors
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* add logs for requests that are returning with errors
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* spotless
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
* turn down the logging
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* transaction message sender logging
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* log peer with peer reputation event
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
7 months ago
Usman Saleem
892fc5e3ae
build: Add default constructor and javadoc for crypto, datatypes subprojects ( #7069 )
...
* javadoc - Adding default constructor and javadoc for :crypto
* javadoc - Adding default constructor and javadoc for :datatypes
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Usman Saleem
a7e5548135
build: Add default constructor and javadoc for :besu ( #7061 )
...
* build - Fix gradle build for Java 21 for besu subproject.
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
9d08b34ec9
build: Add default constructor and javadoc for :consensus subprojects ( #7063 )
...
* javadoc - Adding default constructor and javadoc for :consensus:ibft
Signed-off-by: Usman Saleem <usman@usmans.info>
* javadoc - Adding default constructor and javadoc for :consensus:merge
Signed-off-by: Usman Saleem <usman@usmans.info>
* javadoc - Adding default constructor and javadoc for :consensus:qbft
Signed-off-by: Usman Saleem <usman@usmans.info>
* fix access
Signed-off-by: Usman Saleem <usman@usmans.info>
* fix access
Signed-off-by: Usman Saleem <usman@usmans.info>
* fix access
Signed-off-by: Usman Saleem <usman@usmans.info>
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
0b58f30799
build: Add default constructor and javadoc ( #7062 )
...
* javadoc - Adding default constructor and javadoc for :config
* javadoc - Adding default constructor and javadoc for :consensus:clique
* javadoc - Adding default constructor and javadoc for :consensus:common
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
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
Danno Ferrin
46475cea93
EIP-2537 activation and updates ( #7053 )
...
* Add EIP-2537 precompiles to prague
* Update gas schedule
* Update native lib to one with subgroup checks in mul and multiexp
* re-cost gas on most vectors
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Gabriel-Trintinalia
a4b835dd2a
Move unknown options check further in the startup ( #7066 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
7 months ago
Justin Florentine
2e7b876e30
Authcall ( #7028 )
...
adds AUTH and AUTHCALL opcodes to Prague evms.
adds a mutable authorizedBy:Address field to the MessageFrame
adds AUTH opcode costing to gas calculators
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
7 months ago
Usman Saleem
87df2db175
build - Add missing gradle wrapper scripts ( #7060 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
b121a5dd6d
build - Fix gradle build for Java 21 ( #7058 )
...
* build - Fix gradle build for Java 21. Add compileOnly dependencies to allow gradle build to run against Java 21
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
e7946f106e
build - Fix distributions task to correctly refer autocomplete task ( #7057 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
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
Usman Saleem
c63f415c19
build - Upgrade to Gradle 8 ( #7052 )
...
* build - Upgrade gradle to 8.7
* build - Upgrade web3j plugin to 4.11.3
* build - Update gradle verification-metadata.xml
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
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
Fabio Di Fabio
d0a32bcf9c
Update Gradle to 7.6.4 ( #7030 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
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
Usman Saleem
6728e095dd
build - Update spotless grooyGradle configuration ( #7044 )
...
grooyGradle to use greclipse 4.31 version. Refactor format properties files into gradle/spotless
---------
Signed-off-by: Usman Saleem <usman@usmans.info>
7 months ago
Usman Saleem
f3429c057d
build - Remove CheckSpdxHeader task ( #7043 )
...
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
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
Usman Saleem
9d27c509be
Apply Hyperledger license header ( #7029 )
...
-- plugin-api/ util/
Signed-off-by: Usman Saleem <usman@usmans.info>
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
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