Skip to content

Commit

Permalink
fixes two missing names from conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Jul 12, 2023
1 parent a4de3c9 commit c1e264b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/application/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@


import pytest
from ape import project
from web3 import Web3


MIN_AUTHORIZATION = Web3.to_wei(40_000, "ether")

MIN_OPERATOR_SECONDS = 24 * 60 * 60
Expand All @@ -32,6 +34,7 @@
PERCENTAGE_PENALTY_COEFFICIENT = 100000
REWARD_DURATION = 60 * 60 * 24 * 7 # one week in seconds
DEAUTHORIZATION_DURATION = 60 * 60 * 24 * 60 # 60 days in seconds
TOTAL_SUPPLY = Web3.to_wei(1_000_000_000, "ether") # TODO NU(1_000_000_000, 'NU').to_units()

DEPENDENCY = project.dependencies["openzeppelin"]["4.9.1"]

Expand All @@ -42,6 +45,7 @@ def token(project, accounts):
token = accounts[0].deploy(project.TToken, TOTAL_SUPPLY)
return token


@pytest.fixture()
def threshold_staking(project, accounts):
threshold_staking = accounts[0].deploy(project.ThresholdStakingForPREApplicationMock)
Expand Down

0 comments on commit c1e264b

Please sign in to comment.