Skip to content

[Feature Request]: MVP Test Suite for Node #1974

@yarikbratashchuk

Description

@yarikbratashchuk

We need to establish a comprehensive minimum viable test suite for the node package to ensure core functionality is properly tested and maintained.

Proposed Test Suite

1. Core Node Lifecycle Tests

  • Basic startup/shutdown
  • Genesis initialization verification
  • State recovery after restart
  • Configuration validation
  • Error handling for invalid configurations

2. Block Production & DA Integration

  • Block creation and validation
  • DA submission verification
  • Block retrieval from DA
  • Error handling for DA failures
  • Block height tracking

3. State Management

  • State transitions
  • State persistence
  • State recovery
  • AppHash verification
  • Last block tracking

4. Block Synchronization

  • Block header retrieval from DA layer
  • Block data retrieval from DA layer
  • Handling out-of-order block headers/data
  • Verifying block sync progress

5. Sequencer Integration

  • Batch retrieval from sequencer
  • Batch processing into blocks
  • Error handling for sequencer failures
  • Batch ordering verification
  • Sequencer connection management

6. Execution API Integration

  • Block execution via gRPC
  • State updates after execution
  • Error handling for execution failures

7. Node Modes

  • Aggregator mode functionality
  • Full node functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:testingRelated to testing

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions