mirror of https://github.com/nucypher/nucypher.git
Remove Ibex and Oryx from nucypher
parent
d504359758
commit
a405cbb683
|
@ -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'
|
||||
|
||||
#####################
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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",),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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],
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue