neotheprogramist / starknet-rpc-tests

6 stars 0 forks source link

Summary #44

Open neotheprogramist opened 4 weeks ago

neotheprogramist commented 4 weeks ago

Scope of Services


Local Node Testing Framework

  1. Implementation of Compatibility Checking Tool

    • Complete the development that checks all functions listed in the Starknet OpenRPC specification in a fuzzy way.
  2. Transaction & Transition Tool

    • Develop a stateless state transition utility as per the Ethereum specification. This tool will ensure state transitions are handled accurately.
    • Create a transaction validation utility to validate transactions against the StarkNet specifications.
  3. Block Builder Tool

    • Develop a block assembler utility to build blocks according to the protocol.

Primary Hive Equivalent

  1. Use KinD (Kubernetes in Docker) for Docker Container Environment

    • Create simulator pods for node requests.
    • Implement a proxy for each node to analyze communication.
    • Deploy Pathfinder, Juno, and Papyrus nodes in Docker.
  2. Develop End-to-End Tests

    • Randomly select nodes for requests and verifications.
    • Implement a protocol analyzer in proxies to log and verify node communication adherence to protocol.
Uacias commented 3 weeks ago

Current Progress:

  1. Compatibility Checking Tool:

    • Test cases for versions v0.0.5 and v0.0.6.
    • Integration of the starknet-io/types-rs system for standardized typing
    • Generation of new accounts for each test scenario
  2. State Transition Tool It reads input transactions from a JSON file, processes them, and outputs the resulting state to another JSON file. The tool can be configured using environment variables.

  3. Transaction Tool

    • Verification of transaction structure for each type as outlined in the StarkNet documentation
    • Implementation and testing of signature verification for the following transactions: Invoke_V1, Declare_V2, DeployAccount_V1
piotr-stec commented 2 weeks ago

Current Progress:

  1. Compatibility Checking Tool:

    • Test cases for versions v0.0.7.
  2. Transaction Tool

    • Implementation and testing of signature verification for the following transactions: Invoke_V3, Declare_V3, DeployAccount_V3
  3. Block Builder Tool

    • Initial stages of development have begun.

Primary Hive Equivalent Progress: