Merge pull request #2084 from cygnusv/testnets

Reorganization of testnet registries
pull/2087/head
K Prasch 2020-06-09 13:47:35 -07:00 committed by GitHub
commit 04963d8af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 13 deletions

View File

@ -9,5 +9,6 @@ recursive-exclude * __pycache__
global-exclude *.py[cod]
recursive-include nucypher/blockchain/eth/contract_registry *.json *.md
prune nucypher/blockchain/eth/contract_registry/historical
recursive-include nucypher/network/templates *.html *.j2
recursive-include nucypher/network/nicknames/ *json

View File

@ -3,8 +3,17 @@
This repo contains an authorative source of contract registries for several NuCypher networks.
* **Miranda**: Our first decentralized testnet. Not supported anymore.
## Current networks
* **Mainnet**: (_Coming soon..._)
* **LTS**: Public long-term support testnet (_Coming soon... # TODO: Name this testnet_)
* **Ibex**: Internal testnet. Mainly for development purposes. You're free to join, but note that we may reboot this testnet without prior notice.
## Historical networks
Some networks that we used at some point in the past that are currently deprecated.
* **Miranda**: Our first decentralized testnet.
* **Frances**: Our second testnet. Only for development purposes.
* **Cassandra**: Incentivized Testnet, supporting our 'Come and Stake It' initiative.
* **Gemini**: New version of Incentivized Testnet, supporting Phase 4 of 'Come and Stake It'.
* **Mainnet**: (_Coming soon..._)

View File

@ -19,10 +19,6 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
class NetworksInventory: # TODO: See #1564
MAINNET = 'mainnet'
MIRANDA = 'miranda'
FRANCES = 'frances'
CASSANDRA = 'cassandra'
GEMINI = 'gemini'
IBEX = 'ibex'
UNKNOWN = 'unknown' # TODO: Is there a better way to signal an unknown network?
@ -30,10 +26,6 @@ class NetworksInventory: # TODO: See #1564
__to_ethereum_chain_id = {
MAINNET: 1, # Ethereum Mainnet
MIRANDA: 5, # Goerli
FRANCES: 5, # Goerli
CASSANDRA: 5, # Goerli
GEMINI: 5, # Goerli
IBEX: 4, # Rinkeby
}

View File

@ -17,6 +17,5 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
# Hardcoded bootstrapping teacher nodes keyed by network domain
TEACHER_NODES = {
'cassandra': ('https://cassandra.nucypher.network:9151', ),
'gemini': ('https://gemini.nucypher.network:9151', )
'ibex': ('https://ibex.nucypher.network:9151', ),
}

View File

@ -50,7 +50,7 @@ except IndexError:
try:
network = sys.argv[1]
except IndexError:
network = "gemini"
network = "ibex"
BlockchainInterfaceFactory.initialize_interface(provider_uri=provider_uri,