diff --git a/tests/application/conftest.py b/tests/application/conftest.py index fec31c36..bdc6b003 100644 --- a/tests/application/conftest.py +++ b/tests/application/conftest.py @@ -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 @@ -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"] @@ -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)