Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 966 Bytes

readme.md

File metadata and controls

37 lines (20 loc) · 966 Bytes

TetuV2 Subgraph

TESTS

Install

Install dependencies npm install

Generate types npm run codegen

Build the project npm run build

Very useful deploy subgraph on the local graph-node.

Testing

More about tests on matchstick

On Linux/MacOS run tests should work with graph test

On Windows you can run test with following command (make sure you have installed docker)

docker run -t --rm --mount type=bind,source=<ABSOLUTE_PATH_TO_REPO>,target=/matchstick belbix/subgraph:matchstick

For run concrete test you can add env variables to the docker run like -e ARGS="controller"

Or build your own Docker image from Dokerfile

Grafting

features:

  • grafting graft: base: QmQuvyKeNvwwcHCyg7kPmZcf9mrajUWhgAxWE8vypBUgVr block: 49561541