Remove Ibex and Oryx from nucypher

pull/2998/head
Kieran Prasch 2022-11-02 13:16:14 +00:00
parent d504359758
commit a405cbb683
7 changed files with 5 additions and 11 deletions

View File

@ -63,7 +63,7 @@ print("\n************** Setup **************\n")
# NuCypher Network #
####################
L1_NETWORK = 'mainnet' # or 'ibex'
L1_NETWORK = 'mainnet' # or 'tapir'
L2_NETWORK = 'polygon' # or 'mumbai'
#####################

View File

@ -58,7 +58,7 @@ try:
except KeyError:
raise RuntimeError('Missing environment variables to run demo.')
L1_NETWORK = 'mainnet' # 'ibex'
L1_NETWORK = 'mainnet' # 'tapir'
L2_NETWORK = 'polygon' # 'mumbai'

View File

@ -38,7 +38,7 @@ from nucypher.utilities.logging import GlobalLoggerSettings
GlobalLoggerSettings.start_console_logging()
L1_NETWORK = 'mainnet' # 'ibex'
L1_NETWORK = 'mainnet' # 'tapir'
# To create a Bob, we need the doctor's private keys previously generated.
from doctor_keys import get_doctor_privkeys

View File

@ -19,9 +19,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
class NetworksInventory: # TODO: See #1564
MAINNET = "mainnet"
IBEX = "ibex"
LYNX = "lynx"
ORYX = "oryx"
ETH = "ethereum"
TAPIR = "tapir"
@ -34,8 +32,6 @@ class NetworksInventory: # TODO: See #1564
__to_chain_id_eth = {
MAINNET: 1, # Ethereum Mainnet
ORYX: 3, # Ropsten
IBEX: 4, # Rinkeby
LYNX: 5, # Goerli
TAPIR: 5, # Goerli
}

View File

@ -68,8 +68,6 @@ TEACHER_NODES = {
),
NetworksInventory.LYNX: ("https://lynx.nucypher.network:9151",),
NetworksInventory.TAPIR: ("https://tapir.nucypher.network:9151",),
NetworksInventory.IBEX: ("https://ibex.nucypher.network:9151",),
NetworksInventory.ORYX: ("https://oryx.nucypher.network:9151",),
}

View File

@ -51,7 +51,7 @@ except IndexError:
try:
network = sys.argv[1]
except IndexError:
network = "ibex"
network = "tapir"
BlockchainInterfaceFactory.initialize_interface(eth_provider_uri=eth_provider_uri, light=False, emitter=emitter)
blockchain = BlockchainInterfaceFactory.get_interface(eth_provider_uri=eth_provider_uri)

View File

@ -69,7 +69,7 @@ except KeyError:
raise RuntimeError(message)
# Alice Configuration
DOMAIN: str = 'mainnet' # ibex
DOMAIN: str = 'mainnet' # tapir
DEFAULT_SEEDNODE_URIS: List[str] = [
*TEACHER_NODES[DOMAIN],
]