Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.27 KB

Relayer Tests (Rust)

Dynamic Aurora API Testing On Mainnet

This repo implements a Rust client for Aurora Relayer APIs testing. It fetches test data generated by relayer test data generator, then it wraps it up into multiple test runs. These test runs are used to be re-executed against the target RPC endpoint (for example: AURORA testnet, or mainnet).

Prerequisites

  • Rust
  • Cargo

Refer to this official installation page for more information.

Env variables

Before you use this repo, you must configure the following environment variables

RPC_URL="https://mainnet.aurora.dev:443/"
AURORA_PLUS_API_KEY=""
NETWORK_NAME="mainnet_aurora_plus"

The AURORA_PLUS_API_KEY is needed to execute some special test cases. If you don't have one, please create a new account on Aurora+.

Tests

cargo test

Run specific test

cargo test --test <TEST_NAME>

Styling

cargo fmt --all -- --check