Skip to content

AstarNetwork/frontier-tests

Repository files navigation

Functional testing for Substrate Frontier Node RPC

This folder contains a set of functional tests designed to perform functional testing on the Frontier Eth RPC.

It is written in typescript, using Mocha/Chai as Test framework.

Test flow

Tests are separated depending on their genesis requirements. Each group will start a frontier template test node with a given spec before executing the tests.

Build the node for tests

cargo build --release

Installation

npm install

Run the tests

npm run build && npm run test

You can also add the Frontier Node logs to the output using the FRONTIER_LOG env variable. Ex:

FRONTIER_LOG="warn,rpc=trace" npm run test

(The frontier node be listening for RPC on port 19933, mostly to avoid conflict with already running substrate node)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published