Gabriel-Trintinalia
dd0e83b30c
Cherry-pick main into release 22.10.x ( #6064 )
...
* Expose getSize to transaction interface (#5983 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* [4844] EngineNewPayload - Add Blob Count validation (#5973 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Plugin Api - Add evaluateTransactionPostProcessing to TransactionSelector interface (#5988 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Only use the builder to create transactions (#5980 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Bump version to 23.10.1-SNAPSHOT (#5990 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* hive tests explicitly attempt zero (#5993 )
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* add plugins summary (#5964 )
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* [Plugin API] - Simplify plugin transaction selector interface to return object instead of list (#5995 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* [Plugin API] - TransactionSelector - Notify plugins when transaction is selected/rejected (#6005 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Use existing Bytes48 for KZGCommitment and KZGProof (#5997 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* [Plugin API] - TransactionSelector - Send TransactionSelectionResult to the plugin when not transaction is not selected (#6010 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update 23.10.0 changelog (#6017 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* remove code duplication (#6028 )
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* docs: fix typo (#6029 )
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: vuittont60 <vuittontvuittont50@outlook.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Sort only once rewardPercentiles instead of doing it for each block header (#6035 )
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* link to issue 5772 (#6038 )
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* fix incorrect argument passing in blockParameter of TraceCallMany class (#6034 )
Signed-off-by: seongmin <sungmin7465@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Fix 23.10.0 Breaking Changes changelog entry (#6040 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Priority senders (#5959 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Fcu v2 defer fork validation (#6037 )
* more error handling
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Fix typos (#6036 )
Signed-off-by: shuoer86 <129674997+shuoer86@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Add X (Twitter) to README, Fix Roadmap Hyperlink (#6047 )
* Add X to README, Fix Roadmap Hyperlink
Signed-off-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
* Update README
Signed-off-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
* Update README
Signed-off-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
---------
Signed-off-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Unsigned timestamps and blob gas used (#6046 )
* lots of places an unsigned timestamp is a problem
* adds unchecked annotations to OptionalUnsignedLong rpc parameter type
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* [MINOR] ux improvements (#6049 )
* log command line option that is affected
* made plugins summary log part of config overview
* check for null plugin context
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update changelog release (#6062 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Dencun corner cases (#6060 )
* cherry pick changes from https://github.com/hyperledger/besu/pull/6054/files\#diff-22b78733e37a697fa8d1d8a02d2a87fe5ccea9cf67c34ce5e6311f024c14abd6L643-R738
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* cherry pick changes from https://github.com/hyperledger/besu/pull/6054/files\#diff-61db834b59eae5ce5c438462505de1add8fa244deda830742060d15f668a9806R39-R44
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* update the EIP-6110 acceptance tests
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update changelog and gradle properties to next release
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Navie Chan <naviechan@gmail.com>
Signed-off-by: naviechan <adrninistrator1@protonmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: seongmin <sungmin7465@gmail.com>
Signed-off-by: shuoer86 <129674997+shuoer86@users.noreply.github.com>
Signed-off-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: NC <adrninistrator1@protonmail.com>
Co-authored-by: matkt <karim.t2am@gmail.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: vuittont60 <vuittontvuittont50@outlook.com>
Co-authored-by: ahamlat <ameziane.hamlat@consensys.net>
Co-authored-by: seongmin <sungmin7465@gmail.com>
Co-authored-by: shuoer86 <129674997+shuoer86@users.noreply.github.com>
Co-authored-by: David Cardenas <47157243+davidcardenasus@users.noreply.github.com>
1 year ago
Fabio Di Fabio
44a7742aaf
Change Array Copying ( #5998 ) ( #6002 )
...
* Change Array Copying
Change array copying by re-using arrays when safe.
* spotless
* different bigint API
* straddle case
* less stack traces
* spotless
---------
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Fabio Di Fabio
96fe18e65a
Release 23.10.0-RC burn in ( #5989 )
...
* Expose getSize to transaction interface (#5983 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* 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>
* 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>
* [4844] EngineNewPayload - Add Blob Count validation (#5973 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Plugin Api - Add evaluateTransactionPostProcessing to TransactionSelector interface (#5988 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Only use the builder to create transactions (#5980 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
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
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
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
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
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
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
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
delehef
35385611ae
Add world context to transaction tracing API ( #5836 )
...
* Add world context to transaction tracing API
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* Update changelog with PR ID
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* Add the Transaction to traceEndTransaction
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* Rebase on main
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* Add receipt-linked information to the transaction tracer
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* added test
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Danno Ferrin
ab291ad370
Merge MutableAccount and EVMAccount ( #5863 )
...
Merge MutableAccount and EVMAccount functionalities by removing
EVMAccount, all calls to getMutable, and the WrappedEVMAccount that was
wrapping non-EVMAccounts in a mutable fashion. Instead, use a
MutableAccount in all cases an EVMAccount would have been used. This
also tends to reduce a level of layering in many places.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
1 year ago
Stefan Pingel
36d7411c58
payload attributes: fix wrong warning and fail if beacon root is available before cancun ( #5872 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Stefan Pingel
e841cec35f
#5868 : fix beacon root address and modulus for devnet 9 ( #5871 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Gabriel-Trintinalia
1fa21e2f1a
[4844] Add encodingContext to TransactionEncoder and TransactionDecoder ( #5820 )
...
* Add decode type to TransactionDecoder
* Refactoring TransactionDecoder
* Invert methods order
* Use Transaction encoder instead of writeTo
* Move enter and leave list to inner method as pr suggestion
* Size calculation should use opaque bytes instead of rlp
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
ahamlat
7fd7224964
Fix issue 5824 - Duplicate key errors in EthScheduler-Transactions ( #5857 )
...
Fix issue 5824 - Duplicate key errors in EthScheduler-Transactions
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
1 year ago
Fabio Di Fabio
25c2065434
Layered txpool by default and txpool options hoverhaul ( #5772 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 year ago
matkt
3597ccbf01
Add range tracing with worldstate ( #5844 )
...
Implement a method to trace a range of blocks and have access to the worldstate before and after the tracing
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
1 year ago
Sally MacFarlane
71853e3e1c
use non-deprecated authenticate methods ( #5852 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 year ago
Stefan Pingel
cb82010868
set the beacon root address to the correct value ( #5853 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Stefan Pingel
d8406f0d20
add parent beacon block root to payload id calculation ( #5843 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Stefan Pingel
92ca53e520
add versioned hashes and number of blobs to toString() ( #5831 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago
Stefan Pingel
e3b01122f3
enforce that BlobTransactions have at least one blob ( #5826 )
...
* enforce that BlobTransactions have at least one blob
Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
1 year ago
Stefan Pingel
c16a3274b3
fix ForkId if there are no Forks and the starting timestamp is not 0 ( #5819 )
...
Signed-off-by: Stefan <stefan.pingel@consensys.net>
1 year ago