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
Danno Ferrin
814c89fe5c
Merge branch 'main' of github.com:hyperledger/besu into mega-eof
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
Danno Ferrin
e444b969dc
fix execution spec tests
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
db5147ea35
Remove impossible checks
...
Static validation of EOF has made a number of checks unneeded.
- CALLF series checks for code section and stack height
- JUMPF validity checks
- Overflow of operations that push no more than they pop
- STOP and RETURN in initcode sections
- fix broken reference tests code
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
381ad93a8e
spotless
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
b12acb0f8d
Merge branch 'main' of github.com:hyperledger/besu into mega-eof
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
Danno Ferrin
2d9d813efe
Merge branch 'main' of github.com:hyperledger/besu into mega-eof
7 months ago
Danno Ferrin
11a838b8a9
add non-returning to pretty-print
...
Signed-off-by: Danno Ferrin <danno@numisight.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
Danno Ferrin
60eaa47187
EXCHAGNE oepration
...
fix some off by one and pretty-print issues.
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
7fd5bf17ad
Merge branch 'main' of github.com:hyperledger/besu into mega-eof
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
Danno Ferrin
cf2f6cece1
Align EOFCREATE with evmone
...
Remove the EOFCREATE check for MAX_INITCODE_SIZE,
considering code + auxdata. Auzdata isn't validated and the create tx
already filters the size.
Signed-off-by: Danno Ferrin <danno@numisight.com>
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
Danno Ferrin
9778a8fbd0
swapn off by one
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
20bbd11bc3
Adopt subcontainer Validation ( #7001 )
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
908592d769
Correct JUMPF cost
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
7a2c4129eb
merge main
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
e48e1dc6c6
pretty-print improvements
...
* add --force, which will printout valid laoyouts that fail validation
* tweak code section comment
* fix missing opcodes
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago