derekpierre
04e085d02a
Attempt to address failing integration test.
2023-10-05 10:42:45 -04:00
derekpierre
7c884d2392
Rename unit test so no naming conflict with integration test.
2023-10-05 10:42:22 -04:00
derekpierre
4865053f8c
Fix failing unit test.
2023-10-05 08:46:55 -04:00
derekpierre
2a0bd02203
Move TESTERCHAIN chain information out of domains and into testing constants.
2023-10-05 08:27:44 -04:00
derekpierre
4ed74fc0f2
Rename PolygonChain.POLYGON to PolygonChain.MAINNET.
...
Remove ORYX, IBEX domains.
2023-10-05 08:25:58 -04:00
derekpierre
dc547249ae
Reduce scope of fixture froms session to module, so that its effects can be overridden by test modules.
...
Added unit tests for get_domain_info.
2023-10-05 06:55:32 -04:00
derekpierre
247b93859e
Add unit test for structures in domains.py.
2023-10-05 06:46:15 -04:00
derekpierre
d8b9180921
Update domains/TACoDomain structure.
...
Added magic methods.
2023-10-05 06:20:13 -04:00
derekpierre
ee6a48070f
Remove policy_registry/policy_registry_filepath which are unused and unnecessary parameters.
2023-10-04 15:41:56 -04:00
derekpierre
5b7a56a804
Update test to eagerly learn about nodes.
2023-10-04 15:18:46 -04:00
derekpierre
9ee7b9e7ef
Rename test class to prevent pytest warning about it starting with "Test".
2023-10-04 15:11:59 -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
cbb776f68b
Fix failing test (after rebase).
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
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
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
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
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
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
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
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
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
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
Kieran Prasch
1858f49a99
tests use the refactored ContractRegistry and RegistrySource interfaces
2023-10-04 19:24:43 +02:00
Kieran Prasch
f96c9ccd30
Reworks contract registry interfaces and data format; Simplified registry with reduced indirection and removed write functionality.
2023-10-04 19:24:43 +02:00
LunarBytes
77901480f1
Merge pull request #3253 from derekpierre/back-to-main
...
Reset nucypher-contracts dependency to be main repos and not a fork
2023-09-28 19:23:03 +02:00
derekpierre
6d85c3e3bb
Move known test enrico private key to tests constants file.
2023-09-28 09:35:17 -04:00
Kieran Prasch
c2baae28d8
Introduces InMemorySigner
2023-09-27 19:34:01 +02:00
derekpierre
28af27952b
Reset nucypher-contracts depdendency to be main repos and not fork.
2023-09-26 19:48:47 -04:00
derekpierre
f36f963d9c
Use TestnetThresholdStaking instead of ThresholdStakingForTACoApplicationMock as threshold staking contract for acceptance tests.
2023-09-25 12:13:56 -04:00
derekpierre
63b69d539d
Use `nucypher-contracts` branch to test changes for potential lynx deployment.
2023-09-25 12:13:13 -04:00
derekpierre
f9d6c5cd2a
Remove _proxy_name and _forward_address properties from EthereumContractAgent since custom Dispatcher proxy functionality is no longer supported when obtaining contract from registry.
2023-09-22 08:24:38 -04:00
derekpierre
de028e6cfb
Remove AdjudicatorAgent.
2023-09-22 08:24:30 -04:00
derekpierre
cbfb8a7e35
Use common testing constant for minimum operator seconds.
2023-09-21 20:11:54 -04:00