Kieran Prasch
63d2e0265c
Makes TACoDomain.__hash__ consistent with __eq__.
2023-10-31 14:30:15 +01:00
Kieran Prasch
b1afa231d5
use TACoDomain everywhere
2023-10-31 14:30:15 +01:00
Kieran Prasch
09bc914ce7
renames TEMPORARY_DOMAIN -> TEMPORARY_DOMAIN_NAME
2023-10-31 14:30:15 +01: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
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
4166c7dae9
Rename eth_provider_uri to eth_endpoint as it pertains to Characters/nodes/CLI options.
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
499f903976
Adapt tests and exmaples to merged Operator, without Ritualist.
2023-09-14 16:26:05 -04:00
Kieran Prasch
ed53696cf4
unskip IP detection CLI tests with required mocks
2022-12-07 11:29:26 +00:00
Kieran Prasch
0222a17c6b
Restores unit tests to not compile solidity.
2022-12-07 11:29:26 +00:00
Kieran Prasch
7b7f2f071f
Atomically unfederate (most of) the tests; Restores "federated" functionality by way of mocking. Takes advantage of fixture overriding to intercept testerchain.
2022-12-07 11:28:40 +00:00
derekpierre
37ddd90830
Use thread-safe set for caching active ports.
...
Stop the use of MOCK_URSULA_START_PORT constant which may cause inadvertent port reuse.
Adjust rules for selecting ports to ensure early short circuit for invalid ports.
2022-11-24 10:51:01 -05:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Kieran Prasch
1b040cf25f
Removes db filepath configurations
2022-10-27 10:12:17 +01:00
Kieran Prasch
34c79c7830
Require payment method for is_me Ursula and Alice.
2022-02-08 11:01:24 -08:00
Bogdan Opanchuk
e5620c3155
Changes to make the tests pass
2022-01-08 15:29:22 -08:00
Bogdan Opanchuk
02bb2e2f76
Import the standalone package instead of nucypher.core
2022-01-08 15:29:22 -08:00
Bogdan Opanchuk
ffa72226f6
Remove the remainders of the separate Learning Loop versioning
...
All versioning is contained in the protocol objects now
2021-10-15 15:19:19 -07:00
Piotr Roslaniec
1a3a649f23
Address PR suggestions
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
662bc34439
Use Path methods instead of os module
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
6a270c1713
Use pathlib
2021-08-06 18:10:20 +02:00
Kieran Prasch
3253ab9694
Index node metadata by stamp instead of checksum address. Further decouples wallet address from node identity.
2021-06-28 14:33:31 -07:00
Kieran Prasch
53db75c246
Contruct TLS certificate filenames with the interface port to avoid duplicate/invalid.
2021-06-28 14:33:31 -07:00
derekpierre
6f25d57971
Better organize serialization/deserialization functions.
...
Use loopback address functions.
Respond to RFCs for #2536 .
2021-02-18 18:08:40 -08:00
Kieran Prasch
37774897bc
Understand Ursula.run as the coordinated single point of service startup.
2021-02-18 18:06:31 -08:00
Bogdan Opanchuk
2e0efe451e
Use in-memory mock LMDB environment for most tests
2021-01-02 17:19:13 -08:00
David Núñez
279f07c9e4
Handle invalid metadata bytes in node storage. Unit tests.
2020-09-24 20:28:31 +02:00
David Núñez
f42de3ae11
Some janitorial stuff
2020-09-24 20:28:31 +02:00
jMyles
8d18272d77
Some syntactic cleanup suggested by @michwill in comments on #1868 .
2020-09-24 20:27:13 +02:00
tuxxy
71f8b914e0
Instead of mocking a LMDB env, we just manage them appropriately
2020-08-10 15:38:59 +02:00
tuxxy
52038e36dc
Create a MockLMDBEnv w/ fixture and fix up some tests
...
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
Kieran Prasch
28cce2fccc
Reorganize tests into multiple suites.
2020-05-27 14:11:25 -07:00