Commit Graph

11293 Commits (09bc914ce780ef046bcffdd1ba39ea048e952674)

Author SHA1 Message Date
derekpierre 35681e9bd9 Don't create new TACoDomain object when one is already available via the superclass (Character). 2023-10-04 13:30:18 -04:00
derekpierre f79ad31ee2 Don't use TACoDomain object in examples since not really needed. 2023-10-04 13:30:18 -04:00
derekpierre 568270d36c Allow MockRegistrySource to take any domain value while allowing the accepted values to be specified.
Update various tests that used random domain values to either use the mock, or just use TEMPORARY_DOMAIN if applicable.
2023-10-04 13:30:18 -04:00
derekpierre 9708efb0ba Fix bug where filepath should be used with LocalRegistrySource and not with ContractRegistry directly.
Use domain as parameter instead of network when calling get_registry(...) in utils.
2023-10-04 13:30:18 -04:00
derekpierre cbb776f68b Fix failing test (after rebase). 2023-10-04 13:30:18 -04:00
derekpierre 51ceff7035 Update TEMPORARY_DOMAIN tester chains to use "eth-tester" as chain name instead. 2023-10-04 13:30:18 -04:00
derekpierre 6a508e6aed Yield after patching allowed domains. 2023-10-04 13:30:18 -04:00
derekpierre a5b8b805da The use of the `blockchain_` prefix for blockchain providers and interfaces is redundant; so remove the prefix from those usages. 2023-10-04 13:30:18 -04:00
derekpierre bee3c926d4 Rename networks module to domains, and remove NetworksInventory class; module contains all values and methods now. 2023-10-04 13:30:18 -04:00
derekpierre 0f119934f4 Update description to no longer include "proxy re-encryption". 2023-10-04 13:30:18 -04:00
derekpierre 4507580196 Update CLI --network option to be --domain.
Update subsequent function calls to use domain as well instead of network.
Update some constants to use _DOMAIN instead of _NETWORK.
2023-10-04 13:30:18 -04:00
derekpierre aa6e53191f Remove use of network when dealing with NetworksInventory class. 2023-10-04 13:30:18 -04:00
derekpierre 206ebb4d8e IBEX no longer a supported domain name. 2023-10-04 13:30:18 -04:00
derekpierre e11a200bc2 Unskip test_domains integration tests. 2023-10-04 13:30:18 -04:00
derekpierre 0ca3303b95 Remove IBEX as a supported domain. Update IBEX TACoDomain to use None for PolygonChain since it never used polygon. 2023-10-04 13:30:18 -04:00
derekpierre 2d2b67e5d2 Rename of various functions/constants from NetworksInventory to use domain instead of network.
Rename variables obtained by calling into NetworksInventory to use domain instead of network.
Rename NuCypherNetworkName CLI validation object into NuCypherDomainName.
2023-10-04 13:30:18 -04:00
derekpierre 8c2c358e1b Initialize blockchain connection for both eth_endpoint and polygon_endpoint using common code. 2023-10-04 13:30:18 -04:00
derekpierre b2b265b03f Re-add unused `operator_signature_from_metadata` parameter, some concerns about usage - something to address later. 2023-10-04 13:30:18 -04:00
derekpierre bbfda74e80 Add newsfragments for #3262. 2023-10-04 13:30:18 -04:00
derekpierre 1c333bddaa Deprecate condition_provider_uris in favour of condition_blockchain_endpoints. 2023-10-04 13:30:18 -04:00
derekpierre 57d683ee58 Update mocking of list of polygon chains. 2023-10-04 13:30:18 -04:00
derekpierre 05fba15c1e More renames of provider_uri to blockchain_/eth_ endpoint. 2023-10-04 13:30:18 -04:00
derekpierre fbed56665e Update renames for call to from_seednode_metadata. 2023-10-04 13:30:18 -04:00
derekpierre eafe4b65a9 Rename provider_uri parameter for ContractAgents.get_agent to blockchain_endpoint. 2023-10-04 13:30:18 -04:00
derekpierre 941b21f34f More renames of instances of eth_provider_uri to either blockchain_endpoint or eth_endpoint. 2023-10-04 13:30:18 -04:00
derekpierre 8fcf422728 During Ursula interactive configuration, don't show NU balance since is/will be no longer applicable to Threshold Network. Show MATIC balance instead of ETH. 2023-10-04 13:30:18 -04:00
derekpierre fa4051d504 Rename Eth/PolyNetwork to Eth/PolyChain to better reflect their usage. 2023-10-04 13:30:18 -04:00
derekpierre 45f00c20db Rename members in ChainInfo to avoid smurfing. 2023-10-04 13:30:18 -04:00
derekpierre 1d8c05bb33 Update grant availability script to use taco network philosophy and no longer specify l2 network since it is now implied. 2023-10-04 13:30:18 -04:00
derekpierre 55c6e6a971 Update PRE examples to no longer require specifying an L2_NETWORK since it is implied based on the TACo Network being used. 2023-10-04 13:30:18 -04:00
derekpierre 4ab26188e9 Update TACo example scripts to no longer use redundant parameters with respect to polygon network. 2023-10-04 13:30:18 -04:00
derekpierre d3e175a800 Update nucypher_dkg script to accomodate naming/philosophy changes regarding not needing redundant parameters for associated polygon network. 2023-10-04 13:30:18 -04:00
derekpierre 74517534f5 Use correct value from enum for teacher nodes.
Add unit test for supported taco networks.
2023-10-04 13:30:18 -04:00
derekpierre 8d799f623d Make sure Bob passes along polygon_endpoint parameter value to Character. 2023-10-04 13:30:18 -04:00
derekpierre 0411ab4be6 Update nucypher_agents script. 2023-10-04 13:30:18 -04:00
derekpierre 80d6d536ef Temporary workaround until single registry changes are used. 2023-10-04 13:30:18 -04:00
derekpierre c8b5264c7c Rename eth_provider_uri to eth_endpoint in various spots specific to payment, config, characters. 2023-10-04 13:30:18 -04:00
derekpierre 738182ab98 Remove use of pre_payment_network and coordinator_network since the corresponding polygon network is always implied based on the TACo network used.
Remove coordinator_provider_uri, use of pre_payment_network.provider because all characters now define polygon_endpoint parameter.
2023-10-04 13:30:18 -04:00
derekpierre 32a3b432d7 Provide richer chain information from TACoNetwork class including chain id and name for underlying blockchain networks. 2023-10-04 13:30:18 -04:00
derekpierre 94dc933c73 Bump character configuration to v8 and add migration script. 2023-10-04 13:30:18 -04:00
derekpierre 33068070fc Rename pre_payment_provider to polygon_endpoint as it pertains to Characters/Configurations/CLI parameters. 2023-10-04 13:30:18 -04:00
derekpierre 4166c7dae9 Rename eth_provider_uri to eth_endpoint as it pertains to Characters/nodes/CLI options. 2023-10-04 13:30:18 -04:00
derekpierre f278b9d9f1 Acceptance tests mock modifications for network resolution. 2023-10-04 13:30:18 -04:00
derekpierre bfa4d0bc79 Integration tests mock modifications for network resolution. 2023-10-04 13:30:18 -04:00
derekpierre 9d869f5f08 Update calls to NetworksInventory as they pertain to unit tests passing. 2023-10-04 13:30:18 -04:00
derekpierre 6602192368 Update mocking for NetworksInventory class in tests. 2023-10-04 13:30:18 -04:00
derekpierre 751140384c Update network selection logic via the CLI and update test. 2023-10-04 13:30:18 -04:00
derekpierre 21bce632d6 Create implicit mapping of TACo network name to entries for eth network and poly network.
Provider class level SUPPORTED_NETWORKS and SUPPORTED_NETWORK_NAMES constants.
2023-10-04 13:30:18 -04:00
Kieran Prasch 2d1f98a842 updates project manifest 2023-10-04 19:24:43 +02:00
Kieran Prasch 71437362b0 newsfrag for PR #3216 2023-10-04 19:24:43 +02:00