Commit Graph

243 Commits (39929d0aa36db6e07b26c99aba7f0dc9779024e2)

Author SHA1 Message Date
Kieran Prasch 39929d0aa3 relocates ape fixtures to local conftest 2023-05-02 10:23:24 -07:00
derekpierre 67a7bb7da6 Code testing cleanup. 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
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
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 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 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 5ab634688b hacking on ritual acceptance 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 59e14cc2e2 dkg node protocol early prototype v1. 2023-04-20 07:10:45 -07: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 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
James Campbell 19a1c4e7b3 Rename key to index in Return Value Test 2022-12-06 14:53:30 +00:00
James Campbell f07c030499 Improve docstrings and tests after restricting key to type int 2022-12-06 10:38:58 +00:00
James Campbell 4250e9f314 Restrict return value `key` to only be an integer 2022-12-05 16:58:57 +00:00
derekpierre d5e18dc56e Move common test function to utility module. 2022-11-21 12:53:25 -05:00
derekpierre 37ef40f482 Fixed incompatibility between Schema and their associated objects leading to invalid json being allowed, and valid json sometimes not being allowed.
Added tests.
2022-11-21 12:37:42 -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 fbfe0c8bc6 Fixturize test module constants 2022-11-17 15:22:53 +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
derekpierre 47a8105509 Update coverage configuration to allow for better categorization of coverage reporting.
Fix coverage upload methodology.
Temporarily reduce python matrix until testing is completed.
2022-11-14 18:07:53 -05:00
derekpierre 853fa5406c Fixed bug regarding replacement of context variable when value is 0.
Added tests for return value test key as it pertains to tuples.
2022-11-14 15:50:18 -05:00
Kieran Prasch 38283661b1 Strict typing for _resolve_abi; Simplifies enforcement of single-function ABI for condition definition. 2022-11-14 14:32:27 +00:00
James Campbell 417c8b0fd4 Fix mocking of tester chain 2022-11-14 14:32:13 +00:00
James Campbell 65fede079c Ensure tests use valid condition chain id 2022-11-14 14:31:54 +00:00
James Campbell 3bbbc7b262 Fix function abi schema to be a dict 2022-11-14 14:31:54 +00:00
derekpierre fcafc627d6 Add test for NoConnectionToChain scenario when verifying conditions. 2022-11-10 09:50:41 -05:00
derekpierre 1a56decb1a Move condition-related exceptions to an exceptions module. 2022-11-09 19:20:17 -05:00
Kieran Prasch cb434e1a03 RFC: Do not mutate user-supplied condition context. 2022-11-09 13:32:49 +00:00
Kieran Prasch 77e0f2a1d4 Reduce permitted chains to a tuple. 2022-11-08 02:03:25 +00:00
Kieran Prasch 812d0a1b62 Use function ABI only for custom contract condition fixtures. 2022-11-07 12:51:38 +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 febc6093c1 Removes lmdb datastore usage 2022-10-27 10:12:17 +01:00