Commit Graph

5042 Commits

Author SHA1 Message Date
Usman Saleem
e4902af05e feat: Node discovery via DNS (#7129)
- Node discovery via DNS module as a vertex verticle (code adapted from Tuweni)
- Mock DNS server in unit tests.

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-06-05 10:21:02 +10:00
krsh24
9d8c191911 Error out on permissions config accounts-allowlist validation errors. [#7138] (#7161)
* Error out on permissions config accounts-allowlist validation errors.

Signed-off-by: krishnannarayanan <krsh24@gmail.com>

* Fixing compilation errors

Signed-off-by: krishnannarayanan <krsh24@gmail.com>

* Incorrect file check in

Signed-off-by: krishnannarayanan <krsh24@gmail.com>

---------

Signed-off-by: krishnannarayanan <krsh24@gmail.com>
2024-06-04 21:53:45 +00:00
daniellehrner
e4daf6ada2 update besu-native to 0.8.5 (#7172)
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2024-06-04 16:15:11 +02:00
Matt Whitehead
bd32e2c6e1 Include currently active EVM version in admin_nodeInfo response (#7127)
* Include currently active EVM version in node info response

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Remove println, add changelog entry

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
2024-06-04 10:07:00 +10:00
Gabriel-Trintinalia
6f3650fc51 [MINOR] - Vertx and Netty minor version bumps (#7156)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-31 04:37:50 +00:00
ahamlat
b0823c41fe Add metrics to DefaultBlockchain to get TPS and Mgas/s (#7105)
* Add gasUsedCounter and numberOfTransactionsCounter counters to DefaultBlockchain

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>

* Make the attributes final

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>

* Spotless

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>

* Add a changelog entry

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>

---------

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-31 03:27:37 +00:00
Sally MacFarlane
64de9f2eda Fix timestamp validation test (#7124)
* +1 on the timestamp

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2024-05-31 01:45:40 +00:00
Danno Ferrin
e68c4e1d80 Undo #6819 - make yParity and v match (#7139)
Undo PR #6819 -
for 2030 and 1559 transactions both v and yParity will be provided,
and they will be the same number.

Signed-off-by: Danno Ferrin <danno@numisight.com>
2024-05-30 17:24:12 +00:00
Fabio Di Fabio
812886660f Cleanup transition steps used to update test reports on main (#7158)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-30 08:44:55 -04:00
Chaminda Divitotawela
d7c028966d Release process has been broken down to pre-release and release to allow user testing. This is not required and adds additional step. Release workflows are combined into a single release workflow which trigger on a release (#7152)
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-05-30 12:22:37 +10:00
Gabriel-Trintinalia
2df721619a [MINOR] Rename deposit to depositRequest (#7145)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-29 03:39:44 +00:00
Danno Ferrin
fb25f180b0 Pectra devnet 0 EEST support (#7123)
* Pectra devnet 0 EEST support

Add the required fields to the t8n responses
to enable ethereum execution spec tests to fill tests using Besu.

Signed-off-by: Danno Ferrin <danno@numisight.com>

* tests

Signed-off-by: Danno Ferrin <danno@numisight.com>

* spotless

Signed-off-by: Danno Ferrin <danno@numisight.com>

* fix issue with warm state crossing transaciton boundaries in t8n tool

Signed-off-by: Danno Ferrin <danno@numisight.com>

* test results change when bugs a re fixed

Signed-off-by: Danno Ferrin <danno@numisight.com>

* fix changed method name

Signed-off-by: Danno Ferrin <danno@numisight.com>

---------

Signed-off-by: Danno Ferrin <danno@numisight.com>
2024-05-29 12:16:04 +10:00
Fabio Di Fabio
3c57ca2821 Fix acceptance reports path and how to get the latest merged PR (#7147)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-28 08:03:34 -07:00
Gabriel-Trintinalia
7a5a3e0957 Minor improvements to EIP-7685 (#7142)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-28 07:55:38 +00:00
Fabio Di Fabio
067164f7b5 Update JUnit test reports on PR merged on main (#7141)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-28 09:13:00 +10:00
Sally MacFarlane
bdcea2d206 24.5.2 changelog (#7143)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-27 15:18:06 +02:00
Fabio Di Fabio
a31ffc9b03 Update Gradle plugins (#7137)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-23 22:38:23 +00:00
Gabriel-Trintinalia
5415463a33 Rename methods and variables to match json (#7134)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-24 06:55:51 +12:00
garyschulte
ebb883075f Feature/fleet mode rebase (#6641)
* fleet mode squash commit rebase

Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-05-22 17:02:34 +00:00
Fabio Di Fabio
8df6bcaddd Make eth_gasPrice aware of the base fee market (#7102)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-22 16:35:35 +10:00
Sally MacFarlane
bd12986fb0 added changelog entry for qbft bug (#7125)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-22 00:39:57 +00:00
Fabio Di Fabio
40164475b3 Split unit tests by time (#7079)
* Split unit tests by time

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Parallelize compile and unit tests since there is not shared cache

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* fix

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Reduce ATs runnes to 10

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>
2024-05-21 07:51:20 +00:00
Danno Ferrin
0cca642bc5 EIP-2935 Nyota updates (#7120)
Bring implementation up to nyota version of the EIP,
and remove invasive change into the EVM code.

Signed-off-by: Danno Ferrin <danno@numisight.com>

Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Jason Frame <jasonwframe@gmail.com>
2024-05-20 06:56:51 +00:00
Lucas Saldanha
d7123ce5b4 Fix name of parameter for WithdrawalRequest (#7122)
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
2024-05-19 11:48:52 +10:00
Justin Florentine
c90f18c154 Pectra-devnet-0 discoveries (#7121)
- corrects gas checking in AUTH / AUTHCALL
- fixes bug in engine api v4
- corrects gas pricing in BLOCKHASH

---------

Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Danno Ferrin <danno@numisight.com>
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Jason Frame <jasonwframe@gmail.com>
2024-05-17 13:59:36 +00:00
Sally MacFarlane
433ebd9418 [LOGGING] Add logging for fail to confirm pivot block error (#7110)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-17 11:54:19 +10:00
Matt Whitehead
bdec4b9583 BFT ignore withdrawals (#7115)
* Don't perform validation of withdrawals in BFT chains

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Spotless

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Remove withdrawal unit test - not applicable any more

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-16 23:43:34 +00:00
Fabio Di Fabio
2f473b7199 Fix parsing gasLimit parameter when its value is > Long.MAX_VALUE (#7116)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-16 22:33:26 +00:00
Matt Nelson
5bf2bface5 Improve tx pool logging in RPC when then pool is not enabled or node not in sync. (#7106)
* update tx pool logging when not enabled.

Signed-off-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com>

* Spotless

Signed-off-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com>

* better wording

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com>

---------

Signed-off-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-16 21:08:01 +00:00
Sally MacFarlane
6fe5fe81ee update download link (#7107)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-16 00:17:01 -06:00
ahamlat
2ab7f64ae0 Small optimization on eth_sendRawTransaction (#7101)
Precalculate the sender asynchronously on eth_sendRawTransaction
notify listeners on added transactions asynchronously

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
2024-05-15 21:12:01 +02:00
Danno Ferrin
0fa31b49bb Blockhash lookup in test harness (#7104)
* Blockhash lookup in test harness

Another change to the blockhash operation in the test harness.

Signed-off-by: Danno Ferrin <danno@numisight.com>

* also in t8n executor

Signed-off-by: Danno Ferrin <danno@numisight.com>

---------

Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-15 14:07:11 +00:00
Gabriel-Trintinalia
f9a61a0b83 EIP-7685 (#7068)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
2024-05-15 10:47:43 +03:00
Sally MacFarlane
73ab9c1a6b use error handling (#7045)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-14 23:18:27 +00:00
Danno Ferrin
27e5a649d7 Add BLS precompiles to warm list (#7100)
Add the BLS precompiles to the warm account list for EIP-2929 gas costs.

Signed-off-by: Danno Ferrin <danno@numisight.com>
2024-05-14 09:04:31 +00:00
Danno Ferrin
02a991f620 Wire EIP-2935 into evmtool (#7096)
Cover one missed case where the BlockHashLookup changes in the EIP-2935
handling, ensureing the `state-test` tool gets proper prague handling.

Signed-off-by: Danno Ferrin <danno@numisight.com>

Signed-off-by: Danno Ferrin <danno@numisight.com>
2024-05-14 05:57:09 +00:00
Sally MacFarlane
5f965b5984 [CHANGELOG] for release 24.5.1 (#7097)
* added download links and next release
* we have already upgraded to Gradle 8

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-14 04:12:49 +00:00
Sally MacFarlane
7a270bec67 disable flaky test (#7086)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-14 00:06:57 +00:00
Gabriel-Trintinalia
a5e08c8b02 Fix eip 2935 reftests (#7093)
* Fix reference tests for eip-2935

Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-05-12 22:05:15 -06:00
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>
2024-05-12 20:55:17 +10:00
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>
2024-05-12 07:43:35 +00:00
Simon Dudley
2db3705b1d Revert "Use github arm64 runners (#7054)" (#7087)
This reverts commit 2a39f2ccca.

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-05-10 03:39:32 +00:00
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>
2024-05-10 02:26:17 +00:00
Usman Saleem
a754431cec changelog - Java 17 and Java 21 upcoming changes (#7083)
Signed-off-by: Usman Saleem <usman@usmans.info>
2024-05-10 10:04:13 +10:00
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>
2024-05-09 08:34:14 +00:00
Fabio Di Fabio
b4b6adcf99 Fix potential memory leak (#7076)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-08 13:08:48 +00:00
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>
2024-05-08 12:37:15 +02:00
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>
2024-05-08 08:44:23 +00:00
Usman Saleem
8c596a5e35 javadoc - Adding default constructor and javadoc for :plugin-api (#7072)
Signed-off-by: Usman Saleem <usman@usmans.info>
2024-05-08 05:52:16 +00:00
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>
2024-05-08 04:39:10 +00:00