Commit Graph

530 Commits (b8b70220fa80dac3eebc3d8e1c9a292cca76126c)

Author SHA1 Message Date
Kieran Prasch 0c6e52c4ea hacking 2023-05-24 20:22:57 +02:00
Kieran Prasch 7f2abd101e Ritualist uses the same web3 instsance as the coordinator agent. 2023-05-24 20:22:57 +02:00
Kieran Prasch f0040c2e83 add polygon to POA default 2023-05-24 20:22:57 +02:00
Kieran Prasch 24d7f77e74 routing th correct registry to ritualists 2023-05-24 20:22:57 +02:00
Kieran Prasch 24908aa80c mock payment provider for Vladimir 2023-05-24 20:22:57 +02:00
derekpierre d989445ffc Accomodate latest changes to `nucypher-core`. 2023-05-23 14:59:42 -04:00
derekpierre b5aa20e602 Add tests for use of ThresholdRequestDecryptingPower. 2023-05-23 14:59:42 -04:00
derekpierre 3e498a3751 Some initial refactoring so that Bob and Porter can use the same code for making threshold decryption requests (akin to PRE retrieval). 2023-05-11 10:44:05 -04:00
derekpierre de926000b4 Update code to handle DkgPublicKey now being 48 bytes. 2023-05-06 13:15:48 -04:00
Kieran Prasch e18a3470a0 only test rituals with dkg size < 10 for now 2023-05-05 10:18:23 -07:00
Kieran Prasch b3090be689 support ferveo==0.1.9, bugfix: enables threshold decryption via simple variant. 2023-05-05 10:05:15 -07:00
Kieran Prasch d0a8f6065e attempt to enable both the simple/precomputer variants in tests. 2023-05-04 15:23:40 -07:00
derekpierre 87d8b40a57 Update and move test_ritualist to unit tests.
Co-authored-by: KPrasch <kieran@nucypher.com>
2023-05-04 17:35:52 -04:00
derekpierre 20fadaa0d8 Cleanup of tests. 2023-05-04 17:35:52 -04:00
Kieran Prasch 6ffd1a8217 updates for ferveo==0.1.8 (really tho) 2023-05-04 17:35:49 -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
derekpierre eda1fc1a50 Initial changes to conform to latest changes to Coordinator contract in nucypher-contracts. 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 c85f1f2f59 assorted bugfixes related to fixtures and testerchain arising from the migration to ape. 2023-05-02 10:23:24 -07:00
Kieran Prasch 6617e08527 disable ape test plugin during unit and integration tests. 2023-05-02 10:23:24 -07:00
derekpierre c157c8ccf7 Fix some tests; ERC721 contract needs to be deployed on APE, and MockContractAgency import is now inlined. 2023-05-02 10:23:24 -07:00
Kieran Prasch a19c50ec69 ape checkpoint 1 2023-05-02 10:23:24 -07:00
derekpierre ba766100b0 bugfix: sync coordinator mocks, use StartRitual event instead of StartTranscriptRound for signalling posting of transcripts. 2023-05-02 10:23:24 -07:00
Kieran Prasch 25d4efd870 improves logging and error handling during tdec req/res. 2023-05-02 10:23:24 -07:00
derekpierre 3b990e38b4 Make DKG failing tests pass. 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 35baaad87c fervero/node integration test with mocked blockchain 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 fff6728a32 three-layered testing of DKG rituals 2023-04-20 07:10:45 -07: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 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
Kieran Prasch 3d60d8ebdc Respond to RFCs in PR #3030 2022-12-22 10:10:19 -08: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 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
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
derekpierre d5e18dc56e Move common test function to utility module. 2022-11-21 12:53:25 -05:00