Skip to content

Commit

Permalink
Tweak to configure staking.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Nov 16, 2023
1 parent 7bfc51e commit 8c1fc0e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scripts/lynx/configure_staking.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


from ape import networks, project

from deployment.constants import ARTIFACTS_DIR, LYNX_NODES
from deployment.params import Transactor
from deployment.registry import contracts_from_registry
Expand All @@ -25,13 +26,13 @@ def configure_goerli_root(transactor: Transactor) -> int:
min_stake_size = taco_application_contract.minimumAuthorization()
for staking_provider, operator in LYNX_NODES.items():
# staking
transactor.transact(
threshold_staking_contract.setRoles,
staking_provider,
transactor.get_account().address,
staking_provider,
staking_provider,
)
# transactor.transact(
# threshold_staking_contract.setRoles,
# staking_provider,
# transactor.get_account().address,
# staking_provider,
# staking_provider,
# )

transactor.transact(
threshold_staking_contract.authorizationIncreased,
Expand Down

0 comments on commit 8c1fc0e

Please sign in to comment.