git-consensus / contracts

Converts the informal ownership structure of an open-source git project to a formal DAO, with token distribution mechanisms for contributors.
GNU General Public License v3.0
13 stars 0 forks source link

fix linting & prettier issues, add "package" command for NPM package readiness #21

Closed mattstam closed 2 years ago

mattstam commented 2 years ago

Description

Fix up all TypeScript & ESLint issues, enough to the point where we can run yarn pretty without any errors.

Test Coverage

$ npx hardhat test --network hardhat

  Git Consensus integration tests
    commits
      ✔ should succeed single commit that have address (198ms)
      ✔ should succeed single commit that have address no space (131ms)
      - should fail all commit that have partial address
      ✔ [loop] should succeed all example commit that have address (4739ms)
      ✔ [loop] should fail all example commit that have no address (1109ms)
    releases
      ✔ should fail release with different size hash and value arrays
      ✔ [loop] should fail all example tag that have no address (670ms)
      ✔ should fail invalid release from non-governor (406ms)
      ✔ should succeed valid release, commits from last tag to current (1392ms)
      ✔ should succeed valid release, commits from any (6778ms)
      ✔ should fail to mint tokens above maxMintablePerHash (1135ms)
    clones
      ✔ should create clones using arguments

  11 passing (20s)
  1 pending