Skip to content

Commit

Permalink
cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
N0xMare committed Nov 19, 2022
1 parent cb244e1 commit 8fd138e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 272 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from brownie_tokens import ERC20

YEAR = 365 * 86400
INITIAL_RATE = 274_815_283
INITIAL_RATE = 230_255_942
YEAR_1_SUPPLY = INITIAL_RATE * 10 ** 18 // YEAR * YEAR
INITIAL_SUPPLY = 1_500_000_000
INITIAL_SUPPLY = 1_091_753_221


def approx(a, b, precision=1e-10):
Expand Down
268 changes: 0 additions & 268 deletions tests/integration/test_reward_stream_state.py

This file was deleted.

4 changes: 2 additions & 2 deletions tests/unitary/BAO/test_inflation_delay.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def test_mining_epoch(accounts, chain, token):


def test_available_supply(accounts, chain, token):
assert token.available_supply() == 1_500_000_000 * 10 ** 18
assert token.available_supply() == 1_091_753_221 * 10 ** 18

chain.sleep(86401)
token.update_mining_parameters({"from": accounts[0]})

assert token.available_supply() > 1_500_000_000 * 10 ** 18
assert token.available_supply() > 1_091_753_221 * 10 ** 18

0 comments on commit 8fd138e

Please sign in to comment.