ahamlat
e0b3316612
Cache last blocks data (block headers, block bodies, transactions' receipts and total difficulty) ( #6009 )
...
* Add a flag --cache-last-blocks to cache last n blocks, The default value is 0
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
1 year ago
ahamlat
8507bb7181
Optimize Eth_feeHistory RPC method ( #6011 )
...
* Add a cache to EthFeeHistory and improve rewards algorithm
* cache the rewards by hash instead of block number
* Add final on some fields
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
1 year ago
NC
5fce4fd3ed
Standardize pubkey and public key naming in deposit ( #6012 )
...
---------
Signed-off-by: naviechan <adrninistrator1@protonmail.com>
Signed-off-by: Navie Chan <naviechan@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Sally MacFarlane
c88820ffa8
docs: fix typo ( #6029 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: vuittont60 <vuittontvuittont50@outlook.com>
1 year ago
Stefan Pingel
eeb60e5130
remove code duplication ( #6028 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Fabio Di Fabio
e5c9f55f8b
Force the use of jdk18 version of Bouncy Castle library ( #5748 )
...
This avoid that any dependency can include the jdk15 version in the distribution.
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Stefan Pingel
1c293fed97
Transaction Validation and Selection Plugin API update ( #6020 )
...
change Transaction Validation and Selection Plugin to make them more useful
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
4276a40a64
Update 23.10.0 changelog ( #6017 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Gabriel-Trintinalia
a56a35f1e0
[Plugin API] - TransactionSelector - Send TransactionSelectionResult to the plugin when not transaction is not selected ( #6010 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
e946276d21
Use existing Bytes48 for KZGCommitment and KZGProof ( #5997 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Fabio Di Fabio
9ec055caac
Transaction detachedCopy to optimize txpool memory usage ( #5985 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
1 year ago
matkt
dc2289eada
add method to disable root verification for T8n and not Reference tests ( #6013 )
...
* add method to disable root verification for T8n and not Reference tests
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
1 year ago
NC
0536a18bdc
Base EIP-6110 on top of Cancun ( #5752 )
...
This is to base the existed implementation of EIP-6110 from Shanghai to Cancun. As well, it updates the implementation according to the latest Engine API specification.
Changes include:
- Remove 6110 related changes from engine_newPayloadV2 and engine_getPayloadV2
- Rename deposits to depositReceipts in EnginePayloadParameter
- Introduce engine_newPayloadV6110 and engine_getPayloadV6110 that are based on engine_newPayloadV3 and engine_getPayloadV3
- Revamp the existed 6110 acceptance test
---
Signed-off-by: Navie Chan <naviechan@gmail.com>
Signed-off-by: naviechan <adrninistrator1@protonmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Gabriel-Trintinalia
e8a0428a27
[Plugin API] - TransactionSelector - Notify plugins when transaction is selected/rejected ( #6005 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Danno Ferrin
573cb1bc43
Change Array Copying ( #5998 )
...
* Change Array Copying
Change array copying by re-using arrays when safe.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* spotless
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* different bigint API
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* straddle case
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* less stack traces
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* spotless
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
---------
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Gabriel-Trintinalia
4b822d6739
[Plugin API] - Simplify plugin transaction selector interface to return object instead of list ( #5995 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Danno Ferrin
0b83ab5011
Tests for GraphQL Cancun fields ( #5975 )
...
* Tests for GraphQL Cancun fields
Add tests for GraphQL fields added to support cancun.
Also, re-work test case inclusion code and update tests impacted by
adding a new block to the chain.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* unneeded deltas in genesis file
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
---------
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Sally MacFarlane
d97a93e310
add plugins summary ( #5964 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Justin Florentine
fddcdf31eb
hive tests explicitly attempt zero ( #5993 )
...
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 year ago
Fabio Di Fabio
62159dc55d
Bump version to 23.10.1-SNAPSHOT ( #5990 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Fabio Di Fabio
e4f3b1751c
Only use the builder to create transactions ( #5980 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Gabriel-Trintinalia
71bc57494d
Plugin Api - Add evaluateTransactionPostProcessing to TransactionSelector interface ( #5988 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Gabriel-Trintinalia
2dd16f4d07
[4844] EngineNewPayload - Add Blob Count validation ( #5973 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Justin Florentine
e4337226ac
Validation ordering ( #5986 )
...
* re-ordering error reporting priority
* fixes fork checking on getPayload
* adds acceptance test reproducing an issue where built blocks have proofs > txs
* test coverage and fix for subtle re-org bug prior to proposals
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 year ago
Danno Ferrin
13a934d6b8
Add parameters to EVM library fluent API ( #5930 )
...
Add the ability to configure more parameters in the fluent API.
Specifically contract address, coinbase, difficulty, mixHash/prevRandao,
baseFee, block number, timestamp, gas limit, previous block hashes, and
versioned hashes. Also create EVM forks parametrically instead of by
a method name.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Gabriel-Trintinalia
10b956f75f
Expose getSize to transaction interface ( #5983 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
7ee5b736f3
Target to use about 25MB for the new layered txpool by default ( #5974 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Fabio Di Fabio
987d33c63a
Use PendingTransaction in BlockTransactionSelector ( #5966 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Danno Ferrin
dc47867054
Fix t8n encoding issue ( #5936 )
...
When sending a stack in json fields strip out the newlines and tabs.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Shritesh Jamulkar
e7311f044a
Added toString implementation for TransactionSimulatorResult ( #5957 )
...
Signed-off-by: Shritesh <shritesh.sj@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
garyschulte
993a6d8c7e
Optionally bypass state root verification in reference test worldstate ( #5960 )
...
* bypass state root verification in reference test worldstate if it is undefined/zero
Signed-off-by: garyschulte <garyschulte@gmail.com>
1 year ago
Gabriel-Trintinalia
00853c2fcf
Validate bad block before new head check syncing ( #5967 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Danno Ferrin
4f49ec9418
Add Cancun GraphQL fields ( #5923 )
...
Add the fields for Blobs into the GraphQL service.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Sally MacFarlane
8980835398
Update execution tests to 0.2.5 ( #5952 )
...
* 0.2.4
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* 0.2.5
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* removed older versions of execution-tests metadata
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Justin Florentine
ef2d4181d8
Apply fcu even on invalid payload ( #5961 )
...
* payload validation moved earlier, fcu v2 checks for cancun timestamps
* allow fcu when payload invalid
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 year ago
Gabriel-Trintinalia
c4f66c4758
BlockTransactionSelector refactoring ( #5931 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
8200e9802b
Always enforce promotion filter for transactions in the prioritized layer ( #5921 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Fabio Di Fabio
5d344addad
Improve performance when promoting transaction from next layers ( #5920 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Gabriel-Trintinalia
b9f005ea9a
rlpx - Send empty list instead of Empty Bytes for the Ping and Pong message ( #5955 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
109bb4df29
Process onBlockAdded event asyncronously ( #5909 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Fabio Di Fabio
84023d8a7a
Transaction pool unit tests refactoring to remove duplications ( #5948 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Simon Dudley
b912780cc3
Fixup changelog following 23.7.3 release ( #5954 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Justin Florentine
41e829be9d
Forkchoice v2 hive tests ( #5949 )
...
* payload validation moved earlier, fcu v2 checks for cancun timestamps
Signed-off-by: Justin Florentine <justin+github@florentine.us>
* payload validation moved earlier, fcu v2 checks for cancun timestamps
Signed-off-by: Justin Florentine <justin+github@florentine.us>
* build passes
Signed-off-by: Justin Florentine <justin+github@florentine.us>
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 year ago
Sally MacFarlane
3afd3ca27e
updated beacon root and modulus to match DRAFT eip ( #5941 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Gabriel-Trintinalia
387d3f2d24
[4844] [Hive] Fix fcuV3 parameter return ( #5940 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Justin Florentine
d7a831e7aa
adds Matthew Whitehead as a maintainer ( #5876 )
...
* adds Matthew Whitehead as a maintainer
* alphabetizes list by github id
Signed-off-by: Justin Florentine <justin+github@florentine.us>
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Sally MacFarlane
77b34f5d4f
renamed PayloadTuple and made a separate class ( #5916 )
...
* renamed PayloadTuple and made a separate class
* made a record
* refactor tests to use PayloadWrapper
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Stefan Pingel
1c261db30f
add plugin API to enable plugins to validate transaction before they are added to the transaction pool ( #5891 )
...
* add plugin API to enable plugins to validate transaction before they are added to the transaction pool
Signed-off-by: Stefan <stefan.pingel@consensys.net>
* updated plugin version
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
matkt
52795b6223
add get proof for bonsai ( #5919 )
...
* add get proof for bonsai
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix review
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* remove logs
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
---------
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
1 year ago
garyschulte
d81e1f3042
Add FlatDbStrategy ( #5901 )
...
* move FlatDbReader to FlatDbStrategy (including writes), add getNearestTo
Signed-off-by: garyschulte <garyschulte@gmail.com>
1 year ago