Kieran Prasch
4fc0176a96
handle integration and unit mocking of ad-hoc ursula account bonding.
2023-09-12 18:28:52 +02:00
Piotr Roslaniec
097ffad90e
feat!: add condition type to condition schemas
2023-08-23 20:07:24 +02:00
Kieran Prasch
9c5038c93b
Advances multichain evaluation tests coverage
2023-08-20 16:02:39 +02:00
Kieran Prasch
4c3394c309
Updates testing mocks to handle multiple RPC providers per blockchain
2023-08-20 16:02:39 +02:00
Kieran Prasch
a6a265675d
Caracters (config) are blockchainy
2023-06-26 20:42:51 +02:00
Kieran Prasch
fdb28dd21e
Improves multichain provider internal routing correctness.
2023-06-26 20:42:51 +02:00
Piotr Roslaniec
ee1691e879
fix tests
2023-06-22 11:48:52 +02:00
Piotr Roslaniec
44d1e81b8f
feat: remove dependency on DkgPublicParams
2023-06-21 14:56:17 +02:00
derekpierre
d69b62d8b3
Initial musing about versioned condition lingo i.e. overall condition language; will add semver functionality later.
2023-06-15 08:54:31 -04:00
derekpierre
610f7436f0
Initial work that replaces infix notiation with prefix notation for logical conditions.
2023-06-14 19:38:30 -04:00
derekpierre
26aaf775e3
Change TimeCondition method name to "blocktime" from "timelock".
2023-06-08 11:03:48 -04:00
derekpierre
66f26c032c
Change TimeCondition to use block time instead of Ursula system time.
...
Rename ReencryptionCondition to AccessControlCondition.
2023-06-08 11:03:22 -04:00
KPrasch
bc54e11948
Merge pull request #3130 from KPrasch/development
...
Polygon ecosystem DKG coordination (Alpha 4)
2023-06-07 12:30:58 +02:00
Piotr Roslaniec
32cfe08481
fix tests and linter
2023-06-02 11:14:39 +02:00
Piotr Roslaniec
d8b51b6c07
replace ferveo package usage with nucypher core module export
2023-06-01 19:18:05 +02:00
Kieran Prasch
24d7f77e74
routing th correct registry to ritualists
2023-05-24 20:22:57 +02:00
derekpierre
b9f0f0838a
Obtain request encrypting keys from Ritual object; don't convert object to bytes (transcript, agg transcript) before passing to Coordinator agent.
...
Update tests.
2023-05-23 14:59:42 -04:00
derekpierre
ae3f267fb6
Use ferveo 0.1.11 so that DkgPublicKey.serialized_size() can be used. Updated some typehints.
2023-05-08 09:14:30 -04:00
derekpierre
20fadaa0d8
Cleanup of tests.
2023-05-04 17:35:52 -04:00
derekpierre
88046fc3bc
Updated use of ferveo 0.1.8. Note: public key bytes are still not 48 bytes.
2023-05-04 17:34:27 -04:00
Kieran Prasch
a6d5335449
Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace.
2023-05-02 10:23:24 -07:00
Kieran Prasch
dc51407c0f
relocates ursulas fixture (is uses transparently in different scopes)
2023-05-02 10:23:24 -07:00
Kieran Prasch
c85f1f2f59
assorted bugfixes related to fixtures and testerchain arising from the migration to ape.
2023-05-02 10:23:24 -07:00
Kieran Prasch
39929d0aa3
relocates ape fixtures to local conftest
2023-05-02 10:23:24 -07:00
derekpierre
d42b445d63
Fix use of ape project fixture.
2023-05-02 10:23:24 -07:00
Kieran Prasch
df86485efa
removes several unused pytest fixtures
2023-05-02 10:23:24 -07:00
Kieran Prasch
21fa6edc7b
new ape testing utils module
2023-05-02 10:23:24 -07:00
derekpierre
67a7bb7da6
Code testing cleanup.
2023-05-02 10:23:24 -07:00
derekpierre
e0286d13c5
Get `nucypher-contracts` dependency from github by default.
2023-05-02 10:23:24 -07:00
Kieran Prasch
a19c50ec69
ape checkpoint 1
2023-05-02 10:23:24 -07:00
derekpierre
b4673ac39f
Got some dkg unit and integration tests passing. There are more tests to make pass.
2023-05-02 10:23:24 -07:00
Kieran Prasch
c654e45367
updates for web3.py 6+
2023-05-02 10:23:24 -07:00
Kieran Prasch
33bcea650d
DKG encryption functionality for Enrico
2023-05-02 10:23:00 -07:00
Kieran Prasch
735eec6739
improves order preservation of nodes during ritutal rounds
2023-04-20 07:10:46 -07:00
Kieran Prasch
59e14cc2e2
dkg node protocol early prototype v1.
2023-04-20 07:10:45 -07:00
jMyles
ff2b98c30c
The 'big_testerchain' concept didn't work out; cleaning it up. Leaving it in the history for research purposes.
2022-12-07 11:29:26 +00:00
jMyles
97b19ea3e4
Fake addresses for fake Ursulas. Good enough for these highperf tests.
2022-12-07 11:29:26 +00:00
jMyles
52dcd13a53
The first idea - a bad one - in response to the need for a large fleet of Ursulas for performance tests. It's way too slow to try to make them all on a testerchain.
2022-12-07 11:29:26 +00:00
Kieran Prasch
dd87e3459d
unskips test_use_external_cache, bumps fixturized policy to 3 of 5.
2022-12-07 11:29:26 +00: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
9b38075d24
Partial correction of abstraction leak between Ursula an Operator by code reorg.
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
ff3f414331
Sort fixtures that compile to localized acceptance/unit conftest respectively; Faster unit test suite.
2022-11-17 15:22:55 +00:00
Kieran Prasch
15b98e5479
de-duplicate condition fixture definition
2022-11-17 15:20:43 +00:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Kieran Prasch
d2dcdb9230
Introduce dynamic multi-chain support; enforce condition chain ID as an int.
2022-11-07 12:51:31 +00:00
Kieran Prasch
f3dd8ec870
Remove unused stakeholder fixtures
2022-10-31 20:16:35 +00:00