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
Gabriel-Trintinalia
9d7ee2b52b
[4844] Fix some Devnet9 Hive tests ( #5929 )
...
* Return latest valid hash for blob validation
* Fix invalid hash
* Fix null hash
* Change HISTORY_BUFFER_LENGTH
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Stefan Pingel
5830936583
fix geth rlpx ping command ( #5917 )
...
* fix geth rlpx ping command
Signed-off-by: Stefan <stefan.pingel@consensys.net>
---------
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Sally MacFarlane
c9489a4998
update beacon root again [skip ci] ( #5903 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
1 year ago
Sally MacFarlane
277424d8a1
[MINOR] Block number param additional test ( #5918 )
...
* add test for hex vs decimal block parameter
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* typo
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Danno Ferrin
db8bd9d2af
Update reference tests to 12.4 ( #5899 )
...
* Update reference tests to 12.4
Update reference tests to 12.4
* Some in-memory storage changed to ConcurrentMap
* exclude cancun from all EIP tests, EIP-4788 still in flux
* Add new fields to ReferenceTestEnv, and re-order the reflected
constructor for clarity and ease of development.
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>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Simon Dudley
2dccfe7ce9
Bump version to 23.7.4-SNAPSHOT ( #5913 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Sally MacFarlane
eef40bd530
[CHANGELOG] removed duplicated line ( #5904 )
...
* removed duplicated line [skip ci]
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* fixed spelling on Holesky
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Simon Dudley
cedcb5c9bd
Update holesky with fixed extraData, genesis time, shanghaiTime ( #5890 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 year ago
Danno Ferrin
4e6b1fbd25
Add updated storage to evmtool json trace ( #5892 )
...
Add the EIP-3155 "storage" option to the standard tracer, with the
caveat only updated storage is logged.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Fabio Di Fabio
7c5c2bfbcb
Tune G1GC to reduce Besu memory footprint ( #5879 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Danno Ferrin
15959555ed
Upgrade besu-native ( #5893 )
...
Upgrade besu-native to 0.8.2
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
matkt
3e724a01f5
Fix snapsync heal ( #5838 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
1 year ago
Gabriel-Trintinalia
c4f73aa643
EIP7516 - Add BlobBaseFee opcode to Cancun EVM ( #5884 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 year ago
Fabio Di Fabio
80d9adaea5
Fix: correctly convert percentage options in TOML configuration file ( #5886 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
Sally MacFarlane
76459c2dc9
[MINOR] test RLP used for encode/decode blob tx should contain to field ( #5883 )
...
* validate to field on encode/decode for blob tx
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* revert decode/encode checks - tis done later in tx validation
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
matkt
3bb95be26f
display only peers ready for requets on ethstats ( #5880 )
...
* display only ready for requets peers in ethstats
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* cast to int
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
1 year ago
Matt Whitehead
dfcd960d8b
Don't start BFT mining coordinators until initial sync has completed ( #5861 )
...
* Don't start BFT mining coordinators until initial sync has completed
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Fix unit tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Fix 'enable' logic
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
1 year ago
garyschulte
4b2ef689c1
Bonsai based reference test worldstate ( #5686 )
...
* create a bonsai based reference test worldstate
-> getOrCreate in BonsaiWorldStateUpdateAccumulator - do not throw if we discover an empty account in a non-null BonsaiValue<Account>
-> add curentStateRoot to t8n
-> storageEntriesFrom and streamAccounts implemented in BonsaiWorldStateKeyValueStorage
-> add endKey version of streamFromKey
* bonsai fix for self-destruct and create2 at the same address and same block
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Karim TAAM <karim.t2am@gmail.com>
1 year ago