Files
stacks-subnets/core-contracts
Jeff Bencin 522c331a45 Merge remote-tracking branch 'hiro/master' into fix/handle-failed-nft-deposits
Includes some additional changes to get integration tests working again after merge
2023-04-06 14:16:53 -04:00
..
2022-03-22 14:15:28 -04:00
2022-12-16 15:03:22 -05:00

Subnets Core Contracts

This directory contains the contracts published to the Stacks L1 to implement a subnet.

  • subnet.clar: interface between the subnet and the L1
  • multi-miner.clar: implements a multi-miner for the subnet
  • helper/*: used for testing

Running Tests

To run the tests and generate a code coverage report:

clarinet test --coverage --import-map=./import_map.json --allow-net

To generate HTML from the code coverage report and view it:

mkdir coverage
cd coverage
genhtml ../coverage.lcov
# Open with your preferred browser
brave index.html