⛓ Compute leasing marketplace & settlement layer
 
 
 
 
Go to file
michael 5ebc67bfd6 fully migrate to colinearcore params
- No more auctionconfig
- Now includes GPU model list support
- CPU vendors are still hardcoded
2022-09-22 00:16:09 +00:00
.github/workflows Initialized with Ignite CLI 2022-08-25 23:51:14 +00:00
app remove hyphen in module name 2022-09-06 22:18:09 +00:00
cmd/colineard cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +00:00
docs fully migrate to colinearcore params 2022-09-22 00:16:09 +00:00
proto/colinearcore fully migrate to colinearcore params 2022-09-22 00:16:09 +00:00
tests tests for ongoing auction info query 2022-09-17 21:36:00 +00:00
testutil remove hyphen in module name 2022-09-06 22:18:09 +00:00
x/colinearcore fully migrate to colinearcore params 2022-09-22 00:16:09 +00:00
.gitignore gitignore vue folder 2022-08-28 18:22:39 +00:00
Dockerfile add dockerfiles 2022-09-04 23:35:15 +00:00
Makefile makefile help command 2022-09-21 20:31:01 +00:00
README.md license shorthand; add official language later 2022-09-15 20:37:02 +00:00
config.yml fully migrate to colinearcore params 2022-09-22 00:16:09 +00:00
dev.Dockerfile dockerfile updates, still WIP 2022-09-05 21:45:53 +00:00
go.mod specifiable hardware device types (cpu, gpu) 2022-09-17 22:35:29 +00:00
go.sum specifiable hardware device types (cpu, gpu) 2022-09-17 22:35:29 +00:00
sdk-readme.md cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +00:00

README.md

Colinear Chain

Go Shell Script Docker Rocky Linux

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
Hardware provider auditing x/colinearcore/audit

Validators

Requirements

  • docker >= 20.10.*

Development

Build Requirements

Integration Test Requirements

  • bash
  • bc
  • jq

Setup

To get ignite 0.23.0:

curl https://get.ignite.com/cli@v0.23.0?type=script! | bash

...or download it from the GitHub release page.

Then, move it anywhere on $PATH.

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-built 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