Commit Graph

10917 Commits (0f29569568374048cc56fc2a668a862ac287706c)

Author SHA1 Message Date
Manuel Montenegro d6738fc0d9
Add newfragments file 2023-08-23 11:03:59 +02:00
Manuel Montenegro 0a3a2a85e5
Add keywords to get_agent arguments 2023-08-23 10:55:06 +02:00
Kieran Prasch c03065c464 configuration file migration v4 to v6 2023-08-23 10:28:16 +02:00
Kieran Prasch 21d9118d66 reduce the number of permitted condition evaluation blockchains. 2023-08-22 23:19:13 +02:00
LunarBytes dec7c43977
Update nucypher/blockchain/eth/actors.py
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-08-22 23:12:41 +02:00
Manuel Montenegro fb32b08118
Fix staking metrics in Prometheus exporter
PR #3137 made provider_uri a required parameter for
ContractAgency.get_agent function. This change was not reflected in
Prometheus exporter.
2023-08-22 20:15:32 +02:00
Kieran Prasch 34775ca158 run black code formatter on condition.evm.py and test_character_configuration.py, fixes ruff linting errors. 2023-08-22 15:54:56 +02:00
Kieran Prasch c0b8709dbc newfragment for PR #3185 2023-08-22 15:44:41 +02:00
Kieran Prasch 57ce72ade9 use the staking and payment provider uris as default conditions providers before Ursula's construction. 2023-08-22 15:41:23 +02:00
Kieran Prasch 8a551d34ab fallback web3 provider tests 2023-08-20 16:02:39 +02:00
Kieran Prasch 41b28ab05d set the active provider on RPC condition when configured 2023-08-20 16:02:39 +02:00
jMyles 280fe0d0f9 Simple test to show error for invalid chain ID. 2023-08-20 16:02:39 +02:00
jMyles c014007ba2 Comment clarity. 2023-08-20 16:02:39 +02:00
Kieran Prasch 477a586b47 use pre-constructed providers, not uris. 2023-08-20 16:02:39 +02:00
Kieran Prasch 9c5038c93b Advances multichain evaluation tests coverage 2023-08-20 16:02:39 +02:00
Kieran Prasch 4c3394c309 Updates testing mocks to handle multiple RPC providers per blockchain 2023-08-20 16:02:39 +02:00
Kieran Prasch 3dfaffa2ed updates Vladimir's hacking methods to accmodate multichain mappings 2023-08-20 16:02:39 +02:00
Kieran Prasch 9955d2dd16 Handle multiple RPC endpoints per blockchain using a fallback strategy 2023-08-20 16:02:39 +02:00
Kieran Prasch 1e4a3c6939 updates chainlist permitted for condition evaluation to include adopter needs. 2023-08-20 16:02:39 +02:00
Kieran Prasch c6bd041b64 inject web3 POA middleware during condition provider configuration. 2023-08-20 16:02:39 +02:00
Kieran Prasch 53493fc50b Support optional multiple RPC endpoint configuration in ursul's json configuration. 2023-08-20 16:02:39 +02:00
Kieran Prasch 2bcec7ccf9 correction for spelling error and error message inaccuracy. 2023-08-20 16:02:39 +02:00
Kieran Prasch e8b6877e53 Extract condition web3 provider evaluation logic to Ritualist. 2023-08-20 16:02:38 +02:00
piotr-roslaniec 788073d93c
Merge pull request #3196 from nucypher/nucypher-core-0.11.0 2023-08-02 14:32:56 +01:00
Piotr Roslaniec 87dc3c24ea add a newsfragment 2023-08-02 12:48:06 +02:00
Piotr Roslaniec d083c9ef99 replace git dependency with nucypher-core@0.11.0 package 2023-08-02 12:36:11 +02:00
piotr-roslaniec eb7e82784e
Merge pull request #3171 from nucypher/nucypher-core-0.11.0 2023-08-01 10:08:10 +01:00
Piotr Roslaniec bb162a7a47 fix after rebase 2023-08-01 10:35:39 +02:00
Piotr Roslaniec 7f5f35b4c9 update pre-release nucypher-core versions 2023-08-01 10:26:02 +02:00
Piotr Roslaniec d8772b1667 fix after rebase 2023-08-01 10:25:15 +02:00
Piotr Roslaniec 748ee2ae55 update pre-released nucypher-core version 2023-08-01 10:25:12 +02:00
Piotr Roslaniec fde3ffd001 add a newsfragment 2023-08-01 10:22:55 +02:00
Piotr Roslaniec b608ae705d nucypher-core#69 2023-08-01 10:22:55 +02:00
David Núñez 57267c7019
Merge pull request #3193 from derekpierre/no-exposed-variant
Don't expose Ferveo variant in python Bob public API
2023-07-25 17:02:23 +02:00
derekpierre e00abf9f59 Raise ValueError for unrecognized variant value instead of Exception. 2023-07-24 08:35:02 -04:00
derekpierre 3198e2248d Add newsfragment for #3193. 2023-07-24 08:35:02 -04:00
derekpierre 90837df0f0 DKG params are no longer exposed/applicable; remove redundant test and commented out code which have now gone stale. 2023-07-24 08:33:34 -04:00
derekpierre f3871396ac Use FerveoVariant enum value instead of constant for test. 2023-07-24 08:33:34 -04:00
derekpierre 09b13faafd Modify test so that the different ferveo variants can still be tested. 2023-07-24 08:33:34 -04:00
derekpierre 4ff9d65d5e Make some methods internal so that variant isn't exposed. 2023-07-24 08:33:34 -04:00
derekpierre 468c70cb0d Make public Bob.threshold_decrypt() API no longer take variant as a parameter and instead internally use the default variant value (simple). 2023-07-24 08:33:34 -04:00
derekpierre 90f027bf5d Enrico should not be producing decryption requests and should not care about dkg variants. 2023-07-24 08:33:34 -04:00
LunarBytes b0e057423f
Merge pull request #3191 from derekpierre/ttl-cache
Use a time-to-live cache for participation states to remove stale ritual participation state information
2023-07-22 06:42:27 -07:00
derekpierre a7b481e0b6 Add newsfragment for #3191. 2023-07-21 13:42:33 -04:00
derekpierre e252e78467 Add test for ActiveRitualTracker now using TTLCache for participation states and purging of stale state performed. 2023-07-21 13:42:33 -04:00
derekpierre 5d99455f80 Change buffer for ritual timeout to 10 minutes.
Make the buffer value a class variable, for easy definition and testing.
2023-07-21 13:42:33 -04:00
derekpierre 84f85b2049 Update ActiveRitualTracker to use TTLCache for tracking participation states; periodically purge the cache of expired entries no longer needed to be tracked. 2023-07-21 13:42:33 -04:00
derekpierre a8f2e49c76 TTL Cache utility. 2023-07-21 13:42:33 -04:00
Derek Pierre c65fdb53b1
Merge pull request #3183 from derekpierre/round-robustness
Node DKG Ritual event handling robustness
2023-07-21 13:42:04 -04:00
derekpierre 6b9296244e Ensure that DkgStorage get_transcripts returns None if entry not present.
Fix DkgStorage get_aggregated_transcript which did not return AggregatedTranscript object; it returned bytes (unrelated to this PR).
2023-07-20 12:08:45 -04:00