Kieran Prasch
050b774909
Startup poll rate 10s -> 120s
2023-12-11 18:15:35 +01:00
Kieran Prasch
9279dd2393
Bump version: 7.0.1 → 7.0.2
2023-12-07 18:50:22 +01:00
Kieran Prasch
a4270774a3
sync mainnet contract registry
2023-12-07 18:48:48 +01:00
Kieran Prasch
4a122bf0bd
Bump version: 7.0.0 → 7.0.1
2023-12-04 16:14:40 +01:00
KPrasch
624095ce48
Merge pull request #3360 from derekpierre/eval-error
...
Always raise `ConditionEvalError` (previously `EvalError`) instead of returning then raising
2023-12-04 16:12:29 +01:00
derekpierre
6d74ead328
Add dev newsfragment for #3360 .
2023-12-01 14:00:58 -05:00
derekpierre
363eb3975c
Always raise ConditionEvalError (previously EvalError) instead of returning then raising.
...
Update tests.
2023-12-01 13:59:03 -05:00
Kieran Prasch
c3d126f522
Bump version: 7.0.0-rc.10 → 7.0.0
2023-12-01 11:29:11 +01:00
Kieran Prasch
d55e60b978
sync lynx contract registry after upgrades to child app and coordinator
2023-11-29 16:13:35 +01:00
Kieran Prasch
f488733508
sync embedded contract registries
2023-11-28 15:20:51 +01:00
Kieran Prasch
d61a7487dc
Refactor EvalError as an exception class.
2023-11-28 14:22:41 +01:00
derekpierre
52b99b375c
Clarify help text for access controller cli option in `nucypher_dkg` script.
2023-11-28 13:43:41 +01:00
derekpierre
9521e32da0
Add dev newsfragment for #3347 .
2023-11-28 13:43:41 +01:00
derekpierre
e449e51d22
Modify examples to use lynx ritual id 0 since lynx's redeployment wiped out previous rituals.
2023-11-28 13:43:41 +01:00
derekpierre
4bc110422b
Update nucypher_dkg script to allow the use of the OpenAccessAuthorizer contract.
2023-11-28 13:43:41 +01:00
derekpierre
f3e90a74b6
Appease my OCD by putting the timeout parameter after context.
2023-11-28 13:42:45 +01:00
derekpierre
37490696c6
Clarify use of timeouts.
2023-11-28 13:42:45 +01:00
derekpierre
4398c63892
Use constants for timeout values for reencryption and decryption.
2023-11-28 13:42:45 +01:00
derekpierre
3891bd6bea
Add newsfragment for #3337 .
2023-11-28 13:42:45 +01:00
derekpierre
95e236b645
Modify darker to run with --check for push vs for commit.
2023-11-28 13:42:45 +01:00
derekpierre
e151f1644a
Fix chaotic test given how participant public keys are now used.
2023-11-28 13:42:45 +01:00
derekpierre
fa45bb568f
Bob does not need to resolve the cohort himself, it will be performed by the `ThresholdAccessControlClient` - so it was redundant.
2023-11-28 13:42:45 +01:00
derekpierre
16b8a93943
Allow Bob.retrieve/retrieve_and_decrypt(...) to specify a decryption timeout - defaults to 10s
2023-11-28 13:42:45 +01:00
derekpierre
e8526f915d
It's ok not to resolve the entire cohort, we just need a threshold of them. In most cases the entire cohort should be learned about, but in the rare case of only a threshold known about that is fine.
2023-11-28 13:42:45 +01:00
derekpierre
65fb84281f
Allow Bob.threshold_decrypt(...) to specify a decryption timeout - defaults to 15s.
2023-11-28 13:42:45 +01:00
derekpierre
f33e5075ba
Update solidity version used for acceptance tests (matches version in `nucypher-contracts`).
2023-11-28 13:42:45 +01:00
derekpierre
cfc7e1cf93
Update comment for base class ThresholdAccessControlClient.
2023-11-28 13:42:45 +01:00
derekpierre
5589bf16a8
Increase default connection timeout and allow overriding via env variable.
...
Increase default certificate retrieval timeout and allow overriding via env variable.
Better utilize connect/read timeout functionality for requests library calls.
Update TestMiddlewareClient to still work with new changes.
2023-11-28 13:42:45 +01:00
David Núñez
f42488796d
Make linter happy
2023-11-28 12:44:44 +01:00
David Núñez
ac86e7f5cf
s/getOperatorFromStakingProvider/stakingProviderToOperator
2023-11-28 12:44:44 +01:00
David Núñez
c7fa7d835b
s/stakingProviderFromOperator/operatorToStakingProvider
...
Closes #3350
2023-11-28 12:44:44 +01:00
David Núñez
74260a7a11
Update tests/acceptance/conftest.py
2023-11-28 12:44:44 +01:00
derekpierre
34c2d64649
Add dev newsfragment for #3348 .
2023-11-28 12:44:44 +01:00
derekpierre
ee1530149d
Specify commitment deadline when instantiating TACoApplication contract for tests.
...
Left some code to uncomment once associated PR in `nucypher-contracts` is merged.
2023-11-28 12:44:44 +01:00
derekpierre
c0d12e14e4
Bump version: 7.0.0-rc.9 → 7.0.0-rc.10
2023-11-17 12:37:09 -05:00
derekpierre
60a4d593b9
Add dev newsfragment for #3345 .
2023-11-17 12:24:11 -05:00
derekpierre
fcc72af563
Update lynx contract registry to incorporate latest lynx deployment.
2023-11-17 12:24:11 -05:00
derekpierre
191e46cd78
Update polygon endpoint help string.
2023-11-17 12:20:36 -05:00
Derek Pierre
8a077bd971
Update ape-config.yaml to use `nucypher-contracts`/`main`.
...
Co-authored-by: David Núñez <david@nucypher.com>
2023-11-17 12:20:36 -05:00
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