Commit Graph

11476 Commits (ac1893cd50e26371821182f3e6a860ab95272574)

Author SHA1 Message Date
Manuel Montenegro ac1893cd50 Remove optional imports of Prometheus
Prometheus is now a dependency that is always installed along with
nucypher. For this reason, it doesn't make sense to check if Prometheus
is installed before importing it.
2024-01-23 13:27:35 +01:00
Manuel Montenegro 97ab6bc23b updates setup.py 2024-01-23 13:27:35 +01:00
KPrasch 2ae6ce85b0
Merge pull request #3393 from cygnusv/nojoin
Optimize use of decryption request WorkerPool
2024-01-19 15:01:36 +01:00
David Núñez 5212834c38
newsfragment for 3393 2024-01-19 12:54:25 +01:00
David Núñez 55e653cf75
Tweak WorkerPool parameters 2024-01-19 12:13:15 +01:00
derekpierre a508765671 Add newsfragment for #3333. 2024-01-19 11:04:31 +01:00
derekpierre 4100754976 Raise exception for sampling when there aren't enough nodes to sample. 2024-01-19 11:04:31 +01:00
derekpierre 76b9d4af28 Add unit tests for testing MergedReservoir and PrefetchStrategy. 2024-01-19 11:04:31 +01:00
derekpierre bad425f17f Raise exception when the reservoir of values to draw from is less than required successes. 2024-01-19 11:04:31 +01:00
Piotr Roslaniec b0f9fe1897 fix darker linting 2024-01-18 12:41:45 +01:00
Piotr Roslaniec d001eab84b add a newsfragment 2024-01-18 12:41:45 +01:00
Piotr Roslaniec 04b3202877 set MAX_UPLOAD_CONTENT_LENGTH to 250kb 2024-01-18 12:41:45 +01:00
David Núñez deb3391131
Increment DEFAULT_DECRYPTION_TIMEOUT to 30 sec 2024-01-17 16:32:52 +01:00
David Núñez 773fa467a6
Reraise exceptions inside TDec worker tasks as ThresholdDecryptionRequestFailed 2024-01-17 16:32:00 +01:00
David Núñez a7af04beb8
Randomize sequence of addresses for decryption requests 2024-01-17 16:26:55 +01:00
David Núñez d0c25cf8d4
Include batch_size as a parameter of ThresholdDecryptionRequestFactory 2024-01-17 15:35:12 +01:00
derekpierre a8c68109ab Add auto-use fixture to limit maximum post aggregation delay. 2024-01-17 09:31:32 -05:00
derekpierre 5163aed044 Use ritual id 5 for lynx examples now that ritual 0 is expired. 2024-01-17 09:31:32 -05:00
derekpierre be8820786f Implement a random stagger delay when nodes submit aggregated transcripts. 2024-01-17 09:31:32 -05:00
derekpierre 8a341dd87c Use an increased modifier for posting aggregation in case node is the last node and needs more gas for additoinal logic of being the last node to submit aggregated transcript.
Basically a race condition for who will be last.
2024-01-17 09:31:32 -05:00
derekpierre 0d71361f88 Have the EventScanner take a break after crashing and then restarting. 2024-01-17 09:31:32 -05:00
derekpierre 2426bacef1 Add bugfix newsfragment for #3390. 2024-01-17 09:31:32 -05:00
derekpierre c5bf021c24 Update tests to have ferveo public keys obtained from CoordinatorAgent/Coordinator contract.
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2024-01-17 09:31:32 -05:00
derekpierre 172fefe74f Obtain node ferveo public key from Coordinator contract instead of learning.
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2024-01-17 09:31:32 -05:00
David Núñez 7e8caefabb
Fix parameter typing 2024-01-17 12:56:16 +01:00
David Núñez dedf747fe2
Fix incorrect exception message 2024-01-17 12:51:44 +01:00
David Núñez 70d7fe1319
Most importantly, no need to wait for all threads to finalize
This was making the whole process as slow as the slowest decryption request
2024-01-17 12:51:12 +01:00
David Núñez e19dd65b3c
Wait enough time before firing a new batch of decryption requests 2024-01-17 12:50:26 +01:00
David Núñez 30a39c59d8
Batch size should start with a bit over the threshold, just in case 2024-01-17 12:48:49 +01:00
David Núñez 43df0adf7b
Fix parameter name 2024-01-17 12:47:02 +01:00
derekpierre c0a59d48d7
Bump version: 7.0.4 → 7.1.0 2024-01-10 11:56:45 -05:00
derekpierre 1eb218b1fd Add dev newsfragment for #3386. 2024-01-10 11:41:34 -05:00
derekpierre 0565509752 Sync tapir contract registry with latest contracts deployed to Tapir testnet. 2024-01-10 11:41:34 -05:00
derekpierre bd68f5c6b5 Add newsfragment for #3376. 2024-01-04 13:23:02 -05:00
derekpierre 4b81e5a59f Update lynx contract registry. 2024-01-04 13:23:02 -05:00
derekpierre 4818896075 Relock dependencies. 2024-01-04 13:23:02 -05:00
derekpierre 99ebdfe8dc Deprecate use of goerli blockchain; Lynx will now use Sepolia. 2024-01-04 13:23:02 -05:00
Kieran Prasch c6ece16b33
relock dependencies 2023-12-21 09:30:52 -05:00
Kieran Prasch 896dd43a57
removes unused code 2023-12-21 09:30:51 -05:00
Kieran Prasch a82253b66b
removes incorrect typing 2023-12-21 09:30:50 -05:00
Kieran Prasch d3bf83623c
newsfragment for PR #3327 2023-12-21 09:30:48 -05:00
Kieran Prasch f40b56b822
bump common python version to 3.12 2023-12-21 09:30:43 -05:00
derekpierre 17de0d8e29 Run towncrier for v7.0.4. 2023-12-15 09:55:22 -05:00
derekpierre 8b8f65baf9 Bump version: 7.0.3 → 7.0.4 2023-12-15 09:54:02 -05:00
derekpierre d48cf22d0d Update test token used based on latest changes to `nucypher-contracts`. 2023-12-15 09:48:39 -05:00
derekpierre 6f358962ec Add newsfragment for #3366. 2023-12-15 09:48:39 -05:00
derekpierre 5d808a7ca1 Only sleep during block_until_ready when not (bonded and funded). 2023-12-15 09:48:39 -05:00
derekpierre c6899bb8c0 Update towncrier release page with latest changes.
Remove newsfragment files used to update releases page.
2023-12-15 08:48:19 -05:00
Kieran Prasch 4b029f707c Bump version: 7.0.2 → 7.0.3 2023-12-11 18:19:16 +01:00
KPrasch 84a7b6a1b1
Merge pull request #3364 from KPrasch/main
Startup poll rate 10s -> 120s
2023-12-11 18:18:18 +01:00