From 661f3f9d2a9feb12f770b0cf75369e31530c2705 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Thu, 28 Mar 2024 15:59:26 -0400 Subject: [PATCH] Update lynx configure_staking script and run it for amoy. --- deployment/constants.py | 3 ++- scripts/lynx/configure_staking.py | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/deployment/constants.py b/deployment/constants.py index 27961b14..8809e392 100644 --- a/deployment/constants.py +++ b/deployment/constants.py @@ -24,7 +24,8 @@ "0xb15d5a4e2be34f4be154a1b08a94ab920ffd8a41": "0x890069745E9497C6f99Db68C4588deC5669F3d3E", "0x210eeac07542f815ebb6fd6689637d8ca2689392": "0xf48F720A2Ed237c24F5A7686543D90596bb8D44D", "0x48C8039c32F4c6f5cb206A5911C8Ae814929C16B": "0xce057adc39dcD1b3eA28661194E8963481CC48b2", - "0xE4c8d3bcf8C87D73CE38Ab2DC288d309072ee4E7": "0x81B6a7b73C270659D0DAb223Ef81f3b36b812466", + # TODO - now that we are starting lynx fresh again - should we continue to include manu's node? + # "0xE4c8d3bcf8C87D73CE38Ab2DC288d309072ee4E7": "0x81B6a7b73C270659D0DAb223Ef81f3b36b812466", } TAPIR_NODES = { diff --git a/scripts/lynx/configure_staking.py b/scripts/lynx/configure_staking.py index e192bba2..456c646f 100644 --- a/scripts/lynx/configure_staking.py +++ b/scripts/lynx/configure_staking.py @@ -47,10 +47,10 @@ def configure_sepolia_root(transactor: Transactor) -> int: return min_stake_size -def configure_mumbai_root(transactor: Transactor, stake_size: int): - """Configures MockTACoApplication on Mumbai.""" - # Set up lynx stakes on Mumbai - poly_network = networks.polygon.mumbai +def configure_amoy_root(transactor: Transactor, stake_size: int): + """Configures MockTACoApplication on Amoy.""" + # Set up lynx stakes on Amoy + poly_network = networks.polygon.amoy with poly_network.use_provider("infura"): deployments = contracts_from_registry( filepath=LYNX_REGISTRY_FILEPATH, chain_id=poly_network.chain_id @@ -74,4 +74,4 @@ def main(): check_plugins() transactor = Transactor() stake_size = configure_sepolia_root(transactor) - configure_mumbai_root(transactor, stake_size) + configure_amoy_root(transactor, stake_size)