1117 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
45b6c0895f Remove deprecated Goerli testnet (#7049)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-06 09:52:07 +00:00
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>
2024-05-03 23:52:55 +00:00
Fabio Di Fabio
d0a32bcf9c Update Gradle to 7.6.4 (#7030)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-03 09:23:51 +00:00
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>
2024-05-03 10:43:41 +10:00
Sally MacFarlane
12723ace68 removed tests for pki qbft and add deprecation notice (#6979)
* removed tests for pki qbft and add deprecation notice

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

* remove more PKI and CMS creation utils from tests

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-04-24 08:22:52 +10:00
Fabio Di Fabio
3d5f45c35f Layered txpool tuning for blob transactions (#6940)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-23 07:49:56 +00:00
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>
2024-04-23 05:42:14 +00:00
Gabriel-Trintinalia
a1f73d925e Enhanced control over plugins registration (#6700)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2024-04-19 16:38:35 +00:00
Brindrajsinh Chauhan
627e0a994e add rlp decode subcommand (#6895)
* add rlp decode subcommand

Signed-off-by: Brindrajsinh-Chauhan <brindrajsinh@gmail.com>

---------

Signed-off-by: Brindrajsinh-Chauhan <brindrajsinh@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-04-10 22:59:35 +00:00
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>
2024-04-09 23:49:02 +00:00
mbaxter
66176c0619 [Issue-6301] Add bad block events (#6848)
Signed-off-by: mbaxter <mbaxter.dev@gmail.com>
2024-04-09 16:55:26 +00:00
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>
2024-04-08 09:29:01 -06:00
Fabio Di Fabio
8064da0217 Log detailed timing of block creation steps (#6880)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-08 11:34:20 +00:00
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>
2024-04-08 07:42:30 +00:00
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>
2024-04-05 01:25:47 +00:00
Fabio Di Fabio
c93cfbeb87 Blob transaction replacement rule (#6874)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-03 16:50:01 +00:00
Fabio Di Fabio
cf5e3dae98 Update Web3j dependencies (#6811)
* Update Web3j dependencies

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

* Force old version of the solidity compiler to pass AT

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

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-02 15:06:37 +00:00
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>
2024-04-01 20:56:27 -06:00
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>
2024-03-29 19:27:33 -07:00
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>
2024-03-30 00:13:30 +00:00
Fabio Di Fabio
d8e1e1710c Remove deprecated Forest pruning (#6810)
* Remove deprecated Forest pruning

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

* Update CHANGELOG.md

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-03-29 15:57:45 +00:00
Fabio Di Fabio
1679525ae2 Dedicated log marker for invalid txs removed from the txpool (#6826)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-03-29 15:48:15 +01:00
Sally MacFarlane
ad49e21bf0 Prevent startup with privacy and bonsai enabled (#6809)
* prevent startup with bonsai and privacy

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

* tests for privacy specify forest

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

* changelog

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-29 03:50:36 +00:00
Fabio Di Fabio
3a2eb4e71e Fix to avoid broadcasting full blob txs (#6835)
* separate queue for tx hashes

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>

* Refinements

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

* Update tests

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

* Update CHANGELOG

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

* Refinements

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

---------

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
2024-03-28 17:09:39 +00:00
Matt Whitehead
5bc81ae181 Ensure empty withdrawal lists are set in BFT blocks when the protocol spec is shanghai or higher (#6765)
* Ensure empty withdrawal lists are set in BFT blocks when the protocol schedule is shanghai or higher

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

* Unit tests missing mock

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

* Unit tests missing mock

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

* Refactor and reduce code duplication

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

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
2024-03-27 17:05:00 +00:00
Danno Ferrin
7df1732b89 Expose v field in JSON-RPC in some transaction types (#6819)
* Expose `v` field in JSON-RPC in some transaction types

The execution API marks the `v` field as optional for EIP-2930 and
EIP-1559 transactions, preferring the `yParity` feld.  However, some
tooling still depends on the presence of the `v` field. For those two
transaction types both `v` and `yParity` will be returned now.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2024-03-26 22:23:01 +00:00
Jason Frame
15d54afdf9 Reduce receipt size (#6602)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2024-03-26 01:00:05 +00:00
Lucas Saldanha
2eca4d5a4e Adding engine_getPayloadV4 and engine_newPayloadV4 (#6783)
Moved engine_newPayload6110 and engine_getPayload6110 to V4

Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
2024-03-24 11:39:46 +13:00
Fabio Di Fabio
86cc6cb19e Extend error handling of plugin RPC methods (#6759)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-20 20:31:29 +00:00
Sally MacFarlane
cc201691f9 allow empty maxFeePerBlobGas for eth_call (#6731)
* allow empty blob gas for eth_call

* handle empty maxFeePerBlobGas by setting to blobBaseFee if empty

* set allowExceedingBalance if blobGas not specified

* added a test case for strict with zero blob gas

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-03-19 13:31:07 +10:00
standstaff
9439a1cb60 chore: fix some typos (#6741)
Signed-off-by: standstaff <zhengxingru@yeah.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-18 11:24:26 +10:00
wellweek
2ce2a5546e chore: remove repetitive words (#6730)
Signed-off-by: wellweek <xiezitai@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-15 00:17:44 +00:00
MASDXI
9bf542732b Changetxpool_beusPendingTransactions:numResults from a required parameter to an optional parameter (#6708)
Signed-off-by: MASDXI <sirawitt42@gmail.com>
2024-03-14 09:40:05 +00:00
Fabio Di Fabio
4cc6b744cf Transaction simulation service (#6686)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-13 15:54:38 +00:00
Fabio Di Fabio
efd1bc7070 Fix txpool dump/restore race condition (#6665)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-13 10:48:18 +00:00
Sally MacFarlane
501d169db5 edits to changelog for 24.3.0 (#6712)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-13 02:08:24 +00:00
Matt Whitehead
8dba298108 Don't start the BFT mining coordinator when it is created, just enable it (#6675)
* Don't start a BFT mining coordinator when it is created, just enable it

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

* Update change log

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

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
2024-03-12 10:26:33 +00:00
Fabio Di Fabio
65f8880fb7 Make block txs selection max time aware of PoA transitions (#6676)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-12 09:56:46 +00:00
Friedemann Fürst
8becd5a3a8 Transaction call object to accept both input and data field if equal (#6702)
* relax JsonCallParameter constructor to allow for both input and data being set if equal

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

* fix: format

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

* add changelog entry

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>

---------

Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-12 02:17:06 +00:00
Fabio Di Fabio
854d35b490 Update Vert.x to 4.5.4 (#6666)
* Update Vert.x to 4.5.4

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

* Enable websocket write handlers

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

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-07 09:23:37 +00:00
Fabio Di Fabio
2b8d44ec77 Refactor and extend PluginTransactionPoolValidatorService (#6636)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-03-05 10:27:02 +00:00