Commit Graph

11387 Commits (b078aabe2ce452c2ac27b2359a84cf6658189b7f)

Author SHA1 Message Date
derekpierre b078aabe2c Add dev newsfragment for #3344. 2023-11-17 12:20:36 -05:00
derekpierre fb9977ab56 Update expected test string based on changes to exception message. 2023-11-17 12:20:36 -05:00
derekpierre 663cd97eb0 Include new EXPIRED status for non-actionable dkg ritual states by nodes. 2023-11-17 12:20:36 -05:00
derekpierre fb6a3ae800 Check whether ritual is active or expired before attempting to get ritual public key. 2023-11-17 12:20:36 -05:00
derekpierre 7e6bafeeb1 Add is_ritual_active to MockCoordinatorAgent. 2023-11-17 12:20:36 -05:00
derekpierre d6a1e3f01f Update RitualStatus names to match Coordinator contract. 2023-11-17 12:20:36 -05:00
derekpierre 1cd6a09e25 Use CoordinatorAgent.is_ritual_active where appropriate. 2023-11-17 12:20:36 -05:00
derekpierre 66980d676b Add is_ritual_active function to CoordinatorAgent. 2023-11-17 12:20:36 -05:00
derekpierre 93411489a8 Use David's nucypher-contracts branch for updated contract functionality. 2023-11-17 12:20:36 -05:00
derekpierre ff51de058e Consolidate swarm/get_staking_providers into one method that returns an iterable.
Update tests.
2023-11-17 12:18:06 -05:00
derekpierre 74b5495321 Some code clean up based on RFCs from #3341. 2023-11-17 12:18:06 -05:00
derekpierre 0413c2f992 Update staking provider info tests for testing taco application agent. 2023-11-17 12:18:06 -05:00
derekpierre a0efda573c Update sampling tests to test exclusion logic. 2023-11-17 12:18:06 -05:00
derekpierre 2841392b06 Use class reference for exception instead of instance. 2023-11-17 12:18:06 -05:00
derekpierre 4ed1ef12c9 Fix linter errors. 2023-11-17 12:18:06 -05:00
derekpierre 2e64a657c5 Update nucypher_dkg script to use TACoChildApplicationAgent for sampling staking providers. 2023-11-17 12:18:06 -05:00
derekpierre bd5cab04b6 Accept base StakerSamplingApplicationAgent when making staker reservoir used for sampling - either TACoApplication (PRE) or TACoChildApplication (TACo CBD) can be used. 2023-11-17 12:18:06 -05:00
derekpierre dfb5456367 Add newsfragment for #3341. 2023-11-17 12:18:06 -05:00
derekpierre c9769f617d Update TACoApplicationAgent tests. 2023-11-17 12:18:06 -05:00
derekpierre b3911b47f3 Add sampling and other tests for updated TACoChildApplicationAgent functionality. 2023-11-17 12:18:06 -05:00
derekpierre 7b14234404 Additional methods for reading data from TACoChildApplication contract. 2023-11-17 12:18:06 -05:00
derekpierre 20f2702649 Commonize functionality for staker sampling for both TACoApplication and TACoChildApplication. 2023-11-17 12:18:06 -05:00
David Núñez 0f8ea5e067 Unit tests for context resolution stuff 2023-11-16 16:45:11 +01:00
David Núñez 270a5c3902 Touches to context module 2023-11-16 16:45:11 +01:00
David Núñez d82cbf4347 List of values in contexts are now resolved 2023-11-16 16:45:11 +01:00
David Núñez 21625c9910 Forgot to change mock paths after refactoring 2023-11-16 16:45:11 +01:00
David Núñez 8fde668e8d Add deeper resolution of context variables
Now we can recursively resolve list of variables
2023-11-16 16:45:11 +01:00
David Núñez 4e6af23e81 Fix unit test for context variable resolution 2023-11-16 16:45:11 +01:00
David Núñez 05d151ad81 non-ascii characters are not valid context variables 2023-11-16 16:45:11 +01:00
David Núñez fd62d232f4 Newsfragment for #3331 2023-11-16 16:45:11 +01:00
David Núñez 470b72b64d Introduce regex for context variable names 2023-11-16 16:45:11 +01:00
David Núñez 0c7ebaf943 First pass at unit-testing context variable name validation. Currently fails! 2023-11-16 16:45:11 +01:00
David Núñez c52a41b0a8 Resolve circular dependency with ReturnValueTest 2023-11-16 16:45:11 +01:00
David Núñez b43eb85cca Relocate context variables resolution method to context module 2023-11-16 16:45:11 +01:00
David Núñez ba0eb5aa02
Merge pull request #3338 from derekpierre/examples-update
Lynx Ritual 3 is expired; use 24 instead for examples
2023-11-10 16:50:57 +01:00
derekpierre 6f33cf8e58 Add newsfragment for #3338. 2023-11-10 10:45:00 -05:00
derekpierre 66f5903b7a Lynx Ritual 3 is expired; use 24 instead. 2023-11-10 10:43:16 -05:00
derekpierre 672c8c8dfe Collapse `_process_active_staking_providers_info` into `get_active_staking_providers`. 2023-11-10 09:37:45 -05:00
derekpierre 4bccbe79bd Add newsfragment for #3335. 2023-11-10 09:37:45 -05:00
derekpierre 756b3ee2c7 Update StakingProviderInfo struct based on changes to TACoChildApplication. 2023-11-10 09:37:45 -05:00
derekpierre f75ba8b85d Update handling of the staking provider data returned from TACoApplication.getActiveStakingProviders 2023-11-10 09:37:45 -05:00
derekpierre 1baf514101 Add newsfragment for #3334. 2023-11-09 10:27:45 -05:00
derekpierre f84d8f8520 Update versions of `darker` and `ruff` for pre-commit checks. 2023-11-09 10:27:45 -05:00
Kieran Prasch 0e2c4cdc87 Bump version: 7.0.0-rc.8 → 7.0.0-rc.9 2023-11-08 12:22:05 +01:00
Kieran Prasch 034c64ba3d linting 2023-11-08 12:00:39 +01:00
Kieran Prasch 3da8d4eecf newsfrag for PR #3325 2023-11-08 12:00:39 +01:00
Kieran Prasch 3b2d492b07 removes unused nucypher code 2023-11-08 12:00:39 +01:00
Kieran Prasch 6a8fdc0c3c removes unused cli code 2023-11-08 12:00:39 +01:00
Kieran Prasch b05f742d86 removes unused cli options 2023-11-08 12:00:39 +01:00
Kieran Prasch aec953cdd9 removes unused constants 2023-11-08 12:00:39 +01:00