Commit Graph

3493 Commits (427b0da78e355b85a27aa12412a422e03cb77eb0)

Author SHA1 Message Date
Kieran Prasch 08be039e42 start the event scanner from a block estimation based on on-chain ritual timeout 2023-05-02 10:23:24 -07:00
derekpierre 3b990e38b4 Make DKG failing tests pass. 2023-05-02 10:23:24 -07:00
derekpierre a3f039e13c Nodes post the dkg public key when posting their aggregated transcripts. 2023-05-02 10:23:24 -07:00
Kieran Prasch e20cc7f96f public exposure of per-request ferveo variant, ferveo==0.1.7 and nucypher-core integration of ThresholdDecryptionRequest and Response 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 35baaad87c fervero/node integration test with mocked blockchain 2023-05-02 10:23:00 -07:00
Kieran Prasch 7cc1e476e3 cleanup ritual acceptance test 2023-05-02 10:23:00 -07:00
Kieran Prasch 536728dc05 Improves ritual acceptance test with fully integratd Enrico/Bob 2023-05-02 10:23:00 -07:00
Kieran Prasch 09a971c1a2 Update ritual acceptance test to use Enrico/Bob and networking. 2023-05-02 10:23:00 -07:00
Kieran Prasch 33bcea650d DKG encryption functionality for Enrico 2023-05-02 10:23:00 -07:00
Kieran Prasch 0320468082 Adds transcript test data, ensure tls certs are derived. 2023-05-02 10:22:28 -07:00
Kieran Prasch 9cccb32fdd Improves stack coverage of ritual acceptance test 2023-04-20 07:10:46 -07:00
Kieran Prasch 27e8cc83cf decrypt checkpoint 2023-04-20 07:10:46 -07:00
Kieran Prasch 735eec6739 improves order preservation of nodes during ritutal rounds 2023-04-20 07:10:46 -07:00
Kieran Prasch fff6728a32 three-layered testing of DKG rituals 2023-04-20 07:10:45 -07:00
Kieran Prasch 3d16cecaa5 updates nucypher-core and umbral usage 2023-04-20 07:10:45 -07:00
Kieran Prasch 5ab634688b hacking on ritual acceptance tests 2023-04-20 07:10:45 -07:00
Kieran Prasch a08ca63eef ferveo usage unit tests 2023-04-20 07:10:45 -07:00
Kieran Prasch a25d97f11d Updates internal API for Coordinator contract updates 2023-04-20 07:10:45 -07:00
Kieran Prasch 6da5bac954 ferveo DKG module and mocks 2023-04-20 07:10:45 -07:00
Kieran Prasch bc77489e94 CoordinatorV3 adaptation and integration with ferveo-server crate draft. 2023-04-20 07:10:45 -07:00
Kieran Prasch 59e14cc2e2 dkg node protocol early prototype v1. 2023-04-20 07:10:45 -07:00
KPrasch b739e79b80
Merge pull request #3049 from fjarri/umbral-serde
Updates for nucypher-core 0.6 and umbral 0.9
2023-04-11 10:23:17 -07:00
Manuel Montenegro 4d25e97d67
Use fixed binary value for test
The use of randomly generated values for pytest parameters may cause
errors in test explorer in Visual Studio Code. Specifically,
`test_return_value_serialization` test returns the following error when
a random parameter is used:

```
Test result not found for:
./tests/unit/conditions/test_return_value.py::test_return_value_serialization
[\xbd\x01\t\xecV\x05\x04\xe2\x9b(\xb6\xcef\xea\xa4\xfa]
```

Since the rest of values used in this test are fixed, there is no reason
to use a random value for bytes parameter.
2023-03-21 12:56:25 +01:00
Bogdan Opanchuk aa779c6557 Fixes for the new nucypher-core/umbral-pre API 2023-02-18 13:32:19 -08:00
derekpierre 216e2e5476 Update tests after rebase. 2022-12-23 09:13:41 -05:00
derekpierre 87fb4ba7c9 Add tests to ensure that mapping of status codes to middleware exceptions are correct.
General tests cleanup.
2022-12-23 09:13:41 -05:00
derekpierre 6772d02755 Improved testing of mapping condition failure to middleware exception creation.
Reduce redundant wording of NoConnectionToChain exception handling.
2022-12-23 09:13:41 -05:00
derekpierre 23920fd5a3 Use decoded text from failed HTTP responses for exception messages instead of the raw content which is bytes. 2022-12-23 09:13:41 -05:00
derekpierre e43637e1fd Remove lingering references to CircleCI which is no longer used. 2022-12-23 09:12:48 -05:00
derekpierre 59ef122378 Re-add test for contracts upgradeability; it will be moved as part of the move to `nucypher-contracts`. 2022-12-23 09:11:25 -05:00
derekpierre d847229f84 Appease darker gh action. 2022-12-22 15:36:25 -05:00
derekpierre 39b808a52d Re-add test `test_invalid_operators_tolerance` to get test mostly running. Unclear how to fix the code at the end of the test - so commented for now.
Remove unused testing utils method.
2022-12-22 15:23:33 -05:00
derekpierre 8fe5722342 Simplify mocking for testing the worker. 2022-12-22 15:17:43 -05:00
derekpierre 76fe19487a Add check for replacement call count at the end of the test as well. 2022-12-22 15:17:43 -05:00
derekpierre 267287e38e Add back and update test for WorkTracker that includes replacement transactions. 2022-12-22 15:17:41 -05:00
derekpierre 9b0f645be7 Remove tests for deployment of deprecated contracts.
Code cleanup of docstrings and comments.
2022-12-22 15:07:52 -05:00
derekpierre 889cc58a88 Remove code/tests that still reference the legacy notion of periods. 2022-12-22 15:05:50 -05:00
KPrasch f2f8b27f88
Merge pull request #3030 from KPrasch/unfederated
Retire Federated Runtime
2022-12-22 11:53:31 -08:00
Kieran Prasch 3d60d8ebdc Respond to RFCs in PR #3030 2022-12-22 10:10:19 -08:00
Kieran Prasch a66adf3737 Removes unused test utility 2022-12-13 11:42:00 +00: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 e7417e8a7f Repond to RFCs in PR #3030 2022-12-07 11:29:26 +00:00
Kieran Prasch 67619c7ee1 remove more blockchain language 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