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
fda5c86db2
Removes "decentralized" and "blockchain" differentiation from "federated"
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
febc6093c1
Removes lmdb datastore usage
2022-10-27 10:12:17 +01:00
Kieran R. Prasch
aad511ba30
test adjustments to handle policy registry, in-memory node storage and polygon mocks.
2022-03-22 15:54:36 -07:00
Bogdan Opanchuk
06be01be84
certificate_bytes was renamed to certificate_der
2022-03-13 16:56:09 -07:00
Kieran Prasch
73b238a587
Removes staking entities
2022-02-21 17:17:11 -08:00
vzotova
856abe4892
Renames `provider_uri` to `eth_provider_uri`
2022-02-18 11:27:15 +03:00
Kieran Prasch
34c79c7830
Require payment method for is_me Ursula and Alice.
2022-02-08 11:01:24 -08:00
Kieran Prasch
b36debae5c
Introduce PaymentMethod.Quote (calculate valid policy value for SubscriptionManager.createPolicy).
2022-02-08 11:01:24 -08:00
Kieran Prasch
bbc509910d
Adjust tests to accommodate swapable payment methods.
2022-02-08 11:01:24 -08:00
Kieran Prasch
8052585d2a
Removes Felix
2022-02-07 12:11:28 -08:00
Bogdan Opanchuk
a276cfec25
Disband umbral_adapter
2022-01-08 15:29:22 -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
Bogdan Opanchuk
0b697881a1
Move TLSHostingPower to powers.py
...
To avoid circular dependencies
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk
6164137610
Rename m -> threshold, num_kfrags -> shares
2021-08-20 19:26:56 -04:00
Piotr Roslaniec
695cc10950
Detect paths during deserialization
2021-08-06 18:10:45 +02:00
Piotr Roslaniec
1a3a649f23
Address PR suggestions
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
113a6db0ac
Fix tests after rebase
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
Kieran Prasch
0d3780466b
Respond to RFCs in PR #2701
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
4f7bdf5c46
tests respect the Keystore API
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
e3868df4d1
Handle TLS power derivation form keystore.
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
6aef077172
bulk renaming of Keyring -> Keystore
2021-06-28 14:33:31 -07:00
Bogdan Opanchuk
6090a755b0
Gate the choice of Umbral implementation in a single file
2021-06-22 18:31:08 -07:00
Bogdan Opanchuk
15333ddca2
Dissolve umbral_adapter
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
e6fcdbbff6
Minimal fixes to make CI pass, using an adapter for Umbral
2021-06-17 14:38:51 -07:00
derekpierre
5415d55b39
Fixed issue where ursula configuration files with signing key suffix were not being listed/used as valid configuration files.
...
Fix failing tests.
2021-04-15 08:24:41 -04:00
Kieran Prasch
fd005b3ff7
Relocates CharacterConfiguration to nucypher.config.base
2021-02-26 13:38:37 -08:00
derekpierre
305bf0a7fb
Added unit and integration tests for keyring.
2021-02-18 18:08:40 -08: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
6574836699
Additional cleanup and commentary
2021-02-18 18:07:43 -08:00
Kieran Prasch
37774897bc
Understand Ursula.run as the coordinated single point of service startup.
2021-02-18 18:06:31 -08:00
Kieran Prasch
212abcc145
Handle power derivation from keyring, or ad-hoc usage of TLSHostingPower.
2021-02-18 18:06:31 -08:00
Kieran Prasch
f35f2fcef3
Accmodate rest_host as a required Ursula init parameter for live nodes in test.
2021-01-12 13:10:15 -08:00
Bogdan Opanchuk
2e0efe451e
Use in-memory mock LMDB environment for most tests
2021-01-02 17:19:13 -08:00
jMyles
0aa33c3f1e
Can't just plunk federated_ursulas into known_nodes anymore if they aren't on the same domain.
2020-11-03 18:13:15 -07:00
jMyles
c4786f551a
No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain.
2020-11-03 18:13:15 -07: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
David Núñez
064972e800
Some unit tests reorganization
2020-09-24 20:27:13 +02:00