Add needed tooling support for execution-spec-tests (#5030)

Adding the t8n and b11r tool allows Hyperledger besu to produce reference 
tests from the https://github.com/ethereum/execution-spec-tests repository.

* Add t8n tool, or transition tool. Calculates the state changes from a set 
  of transactions against a given parent context
* Add b11r tool, or block-builder tool. Given block parts it can generate a 
  RLP block.
* Change some tracing CLI flags to work better with retesteth

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
This commit is contained in:
Danno Ferrin
2023-02-20 22:10:41 -07:00
committed by GitHub
parent 11a4f734a4
commit 532797fc17
50 changed files with 3682 additions and 212 deletions

View File

@@ -35,7 +35,7 @@ import java.util.function.Supplier;
import org.apache.tuweni.bytes.Bytes32;
/** The Merge block creator. */
public class MergeBlockCreator extends AbstractBlockCreator {
class MergeBlockCreator extends AbstractBlockCreator {
/**
* Instantiates a new Merge block creator.
@@ -51,7 +51,7 @@ public class MergeBlockCreator extends AbstractBlockCreator {
* @param minBlockOccupancyRatio the min block occupancy ratio
* @param parentHeader the parent header
*/
MergeBlockCreator(
public MergeBlockCreator(
final Address coinbase,
final Supplier<Optional<Long>> targetGasLimitSupplier,
final ExtraDataCalculator extraDataCalculator,