DemocracyEarth / ubi

Universal Basic Income token.
224 stars 39 forks source link

UBI Stream cancellation test failing #110

Open MCarlomagno opened 2 years ago

MCarlomagno commented 2 years ago

Steps to reproduce

Following the readme.md instrctions:

  1. Clone Repository

    $ git clone https://github.com/DemocracyEarth/ubi.git
    $ cd ubi
  2. Install Dependencies

    $ npm install
  3. Run Tests

    $ npx hardhat test

Issue

Seems that there is a failing test at /test/sUBI.ts file:

  91 passing (1m)
  1 failing

  1) sUBI.sol
       UBI Stream cancellation
         happy path - when reportRemoval is executed, all existing and future streams should cancel and canceller balance should increase :

      There should be no active streams after reportRemoval
      + expected - actual

      -3
      +0