assertoor

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

Assertoor: Ethereum Testnet Testing Tool

Overview

Assertoor is a robust and versatile tool designed for comprehensive testing of the Ethereum network. It orchestrates a series of tests from a YAML file, with each test comprising a sequence of tasks executed in a defined order to assess various aspects of the Ethereum network.

Key Features

  • Connection to Ethereum Clients:
    Assertoor connects to multiple Consensus and Execution Clients via their HTTP RPC API, ensuring compatibility with all clients and providing a resilient view of the network status.

  • YAML-Based Test & Task Definition:
    Tests, defined and executed through YAML, can include tasks specified in the test configuration or sideloaded from external URLs, offering flexible and organized test management.

  • Task Orchestrator:
    Enables execution of tasks in a predefined order, supporting both parallelization and sequential steps with dependencies.

  • Versatile Task Capabilities:
    Includes tasks ranging from simple shell scripts to complex built-in logic, such as:

    • Generating Transactions: Simulating transaction types to test network response and throughput.
    • Generating Deposits & Exits: Evaluating network handling of deposit and exit transactions.
    • Generating BLS Changes: Testing network capability to process BLS signature changes.
    • Checking Network Stability: Assessing network resilience under various conditions.
    • Checking Forks & Reorgs: Analyzing network behavior during forks and reorganizations.
    • Checking Block Properties: Testing for specific block properties.
    • ... and more
  • Web Interface for Monitoring:
    A user-friendly web interface displays real-time test and task status, logs, and results for easy monitoring and analysis.

  • Web API:
    An API interface provides real-time test and task status, logs, and results for easy programmatic access.
    This feature enables simple integration with other systems and facilitates automated monitoring and analysis workflows.
    eg. for running scheduled tests with github workflows

Getting Started

  1. Clone the repository & build the tool:
    git clone https://github.com/ethpandaops/assertoor.git
    cd assertoor
    make build
    
  2. Configure Your Tests:
    Prepare tests in a YAML file. See example configurations here.
    Provide RPC URLs for at least one Client Pair (consensus & execution).
  3. Run Assertoor:
    Launch the tool to execute defined tests.
    ./bin/assertoor --config=./example/config/check_proposals.yaml
    
  4. Monitor and Analyze:
    Use the web interface to track progress, view logs, and analyze results in real-time.

Documentation and Examples

Refer to our documentation for installation, configuration, and usage guidelines.
Example tests are available here.

Contributing

Contributions to Assertoor are welcome. Please fork the repository, create a feature branch, and submit a pull request for review.

License

- see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
coordinator/web/api/docs
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL