mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 13:24:26 -08:00
5158b96c963ba54a40a0ff3dabfeb8354f0b79e4
Colinear Chain
This repository contains the base chain implementation that Colinear's compute marketplace uses as a settlement layer.
Technical Documentation
| Component | Docs Path |
|---|---|
| Leasing & settlement module | x/colinearcore |
| In-memory bid database | x/colinearcore/memdb |
Validators
Requirements
docker >= 20.10.*
Development
Requirements
ignite- CLI Installation Guidego >= 1.18bashjq
Setup
To build the chain:
ignite chain build
To serve the chain:
ignite chain serve
Unit Tests
Unit tests use Go's built-in testing system. To run all unit tests:
make utest
To test any specific subpackage:
go test ./path/to/package
Integration Tests
Integration tests use a custom bash testing framework that interacts with a running instance of the chain.
Before running any tests, make sure that the dev chain is running:
ignite chain serve
To run all integration tests:
make test
Integration tests can also be run individually:
./tests/<specific_test>.sh
Description
Languages
Go
93.2%
Shell
6.3%
Dockerfile
0.3%
Makefile
0.2%