This folder contains a set of functional tests desgined to perform functional testing on the Frontier Eth RPC.
It is written in typescript, using Mocha/Chai as Test framework.
Tests are separated depending of their genesis requirements. Each group will start a frontier test node with a given spec before executing the tests.
npm install
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)