Commit Graph

11581 Commits (7fa08a25add0dbca716f09e48dd43eaaa2df7225)

Author SHA1 Message Date
derekpierre ed5d32203e Update deployment of Coordinator and GlobalAllowList for acceptance tests based on recent changes to `nucypher-contracts`. 2023-11-08 11:51:29 +01:00
derekpierre a620a2d86f Be more eager validating return value schema.
Ensure index is non-negative integer.
2023-11-08 11:51:29 +01:00
Kieran Prasch cda1d1b26b returns decryption error map to 500 2023-11-02 15:27:05 +01:00
Kieran Prasch ccbecbb91c hanlde EvalError for tdec requests 2023-11-02 15:27:05 +01:00
Kieran Prasch ba8abf29a2 respond to RFCs in PR #3298 2023-11-02 15:27:05 +01:00
Kieran Prasch d063acd1c6 Decouples server logic from business logic during threhold decryption requests. 2023-11-02 15:27:05 +01:00
Kieran Prasch a8fbc1b74a newsfrag for PR #3298 2023-11-02 15:27:05 +01:00
Kieran Prasch b2eb7883b8 handle decryption share errors as a formal server response. 2023-11-02 15:27:05 +01:00
Kieran Prasch 598ad31376 Bump version: 7.0.0-rc.7 → 7.0.0-rc.8 2023-10-31 19:20:31 +01:00
Kieran Prasch a08f9edb58 newsfrag for PR #3323 2023-10-31 18:33:39 +01:00
Kieran Prasch b2bfdb66ac bugfix: fixes incorrect TACoDomain import 2023-10-31 18:33:39 +01:00
Kieran Prasch 70a47c10bf Bump version: 7.0.0-rc.6 → 7.0.0-rc.7 2023-10-31 17:25:37 +01:00
Kieran Prasch 9a53f3c00f lint 2023-10-31 17:23:43 +01:00
Kieran Prasch bd51e2539c respond to RFCs in PR #3318 2023-10-31 17:23:43 +01:00
Kieran Prasch fef10d1e67 improves the efficiency and completeness of startup RPC endpoint checks 2023-10-31 17:23:43 +01:00
Kieran Prasch f9453a6216 expands TACoDomain equality check to include condition chains 2023-10-31 17:23:43 +01:00
Kieran Prasch bd8fbc0626 linting 2023-10-31 17:23:43 +01:00
Kieran Prasch 4c984d3fdb newsfrag for PR #3318 2023-10-31 17:23:43 +01:00
Kieran Prasch d9d05b3efb Require all domain RPC endpoints are active before node startup 2023-10-31 17:23:43 +01:00
Kieran Prasch d63a6cb93d Expands domains data model to include condition chains 2023-10-31 17:23:43 +01:00
Kieran Prasch 1d179cc276 Bump version: 7.0.0-rc.5 → 7.0.0-rc.6 2023-10-31 15:41:33 +01:00
Kieran Prasch a73b5b7f3e Cast domain to a string for metrics collection 2023-10-31 15:40:10 +01:00
Kieran Prasch a10e3920ce Bump version: 7.0.0-rc.4 → 7.0.0-rc.5 2023-10-31 15:10:17 +01:00
Kieran Prasch 63d2e0265c Makes TACoDomain.__hash__ consistent with __eq__. 2023-10-31 14:30:15 +01:00
Kieran Prasch c4d4523bec TACoDomain equality check includes chain info. 2023-10-31 14:30:15 +01:00
Kieran Prasch a5cf4a62c2 linting 2023-10-31 14:30:15 +01:00
Kieran Prasch 9599b9e632 Handle domains during CLI account selection of signers. 2023-10-31 14:30:15 +01:00
Kieran Prasch 3bbc951ea5 respond to RFCs in PR #3315 2023-10-31 14:30:15 +01:00
Kieran Prasch 0c528eaa7a Linting and Newsfrag for PR #3315 2023-10-31 14:30:15 +01:00
Kieran Prasch f4caacc4b1 update scripts usage of taco domains; conventionally use str() on domains usages 2023-10-31 14:30:15 +01:00
Kieran Prasch c87d4f5d1d forgotten internal API change 2023-10-31 14:30:15 +01:00
Kieran Prasch 7246e10f84 type hinting and removal of misleading comments. 2023-10-31 14:30:15 +01:00
Kieran Prasch de8d96e8ea use domain lookups sparingly and cache the lookups results 2023-10-31 14:30:15 +01:00
Kieran Prasch ae9f4b40fa Use a constant for the temporary domain 2023-10-31 14:30:15 +01:00
Kieran Prasch 63b3d4aee9 Use a single collection (SUPPORTED_DOMAINS) for supported domains. 2023-10-31 14:30:15 +01:00
Kieran Prasch 0bc6840b17 do not name shadow domains in reworked mocking 2023-10-31 14:30:15 +01:00
Kieran Prasch 0df05d38f2 Conventionally import (collapsed) domains for namespacing 2023-10-31 14:30:15 +01:00
Kieran Prasch b1afa231d5 use TACoDomain everywhere 2023-10-31 14:30:15 +01:00
Kieran Prasch 09bc914ce7 renames TEMPORARY_DOMAIN -> TEMPORARY_DOMAIN_NAME 2023-10-31 14:30:15 +01:00
Kieran Prasch b538e58f57 use TACoDomain for internal APIs 2023-10-31 14:30:15 +01:00
Kieran Prasch 26be277d88 Turns TACoDomain into a concrete class literal 2023-10-31 14:30:15 +01:00
derekpierre ad05964695 Add bugfix newsfragment for #3312. 2023-10-31 11:43:19 +01:00
Kieran Prasch a8c630458e newsfragment for PR #3312 2023-10-31 11:43:19 +01:00
derekpierre 927f07379c Modify test to call get_context_value instead of calling directive directly. 2023-10-31 11:43:19 +01:00
derekpierre bf328db437 Add unit tests for time condition negative validation of return value type. 2023-10-31 11:43:19 +01:00
derekpierre 29c5b24064 Optimize resolution of context variables and adjustment of return value test by moving outside of providers for loop - it only needs to be done once. 2023-10-31 11:43:19 +01:00
derekpierre 38e001fa75 Add tests for condition provider handling. 2023-10-31 11:43:19 +01:00
derekpierre b68652422e Split out validity unit tests into specific condition class tests.
Add tests for more invalid cases across condition types.
Improve tests to ensure that expected message is raised in exceptions.
2023-10-31 11:43:19 +01:00
derekpierre 417758dd16 Fix exception message. 2023-10-31 11:43:19 +01:00
derekpierre 27c9306f0e Improve naming for context var testing. 2023-10-31 11:43:19 +01:00