Test Subnet Rust SDK Env

timestampvm-rs is a virtual machine that can build blocks from a user-provided arbitrary data. It is a minimal implementation of an Avalanche custom virtual machine (VM) in Rust

Dependencies

  • Latest version of stable Rust.

  • To build and test timestampvm you need protoc version >= 3.15.0.

Build Step

clone from https://github.com/ava-labs/timestampvm-rs.git and enter timestampvm-rs directory

  • run the below command

    ./scripts/build.release.sh \
    && VM_PLUGIN_PATH=$(pwd)/target/release/timestampvm \
    ./scripts/tests.e2e.sh
    
  • If the content of the following picture appears, it means that the test environment has been set up

Last updated