Add the "PragueEOF" fork which is prague+EOF. For genesis and evmtool
trace, the Prague fork is just prague. To use EOF for networks and CLI
traces use the 'PragueEOF' fork. For reverence tests the "Prague" fork
maps to "PrageEOF" because reference tests currently have EOF tests
wired into Prague.
Signed-off-by: Danno Ferrin <danno@numisight.com>
* 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>
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>
* 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>
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>
* 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>
* 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>
Remove an unused parameter in MainnetTransactionProcessor, as well as
all code supporting sending that parameter.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Update t8n, b11r, and friends to support current execution spec
* bonsai migration introduced issues with deleted storage/accounts
* status on pre-constantinople json was invalid
* track refund across tx, not call frame
* allow tests to be executed by name
* fix withdrawal self-destruct test
* trace support in execution-spec-tests
* fix blob tests
* t8n results changes
Signed-off-by: Danno Ferrin <danno@numisight.com>
Publish to dockerhub on merge to the main branch
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Move Besu custom error-prone checks into its own repository and use it as an external dependency. This allows to move to a newer version of Google errorprone checks as well while cleaning up build.gradle file.
Key changes resulted due to this change:
* String toLowerCase and toUpperCase to use Locale.ROOT as argument
* Use interface such as List,Map or NavigatableMap instead of concrete class where appropriate.
* Simplify StringBuilder to plain String
* Suppress warnings where appropriate.
-----
Signed-off-by: Usman Saleem <usman@usmans.info>
Update tracing and evm tool
* Intrinsic gas is optional in EVMTool
* For call series, also charge the gas given to the next call level for debug_ series calls.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Make sure subcontainers errors are bubbled up
Accept "short" subcontainers with incomplete data.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Add the EOFTests into reference tests build so that a failure of an
EOFTest validation breaks the build.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Pass all reference tests, update unit tests to match
* code section zero must be non-returning
* returning code sections must contain RETF or JUMPF into returning
* no RETF in non-returning sections
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* rjump to 0xE2
* rjump zero index
* move data to header kind 4
* move containers before data
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>