Commit Graph

10663 Commits (6fb61baceca12d91a4aadbe43944b02dd9da11a4)

Author SHA1 Message Date
derekpierre d3bab657f3 Make updates based on latest Coordinator contract changes. 2023-06-07 08:07:18 -04:00
derekpierre 14305350fc Add newsfragment for #3134. 2023-06-07 08:07:18 -04:00
derekpierre 71604f251f Use new request keys in `nucypher-core` that use curve 25519 instead of Umbral for decryption request/response encryption.
E2EThresholdDecryptionRequest object is no longer needed as an intermediary since a DH shared secret key is created/used.
2023-06-07 08:07:18 -04:00
KPrasch bc54e11948
Merge pull request #3130 from KPrasch/development
Polygon ecosystem DKG coordination (Alpha 4)
2023-06-07 12:30:58 +02:00
piotr-roslaniec de4702f553
Merge pull request #3135 from nucypher/pre-release-nucypher-core-integration 2023-06-06 15:58:35 +01:00
Piotr Roslaniec 7f9f01a35c apply pr suggestions 2023-06-06 16:45:10 +02:00
Piotr Roslaniec 5b85bcd488 update Pipfile 2023-06-05 17:39:27 +02:00
Kieran Prasch dabc5d92da Improved multichain support and bugfixes (removes RPC caching). 2023-06-02 18:07:07 +02:00
Piotr Roslaniec 9b6fd7040f add a newsfragment 2023-06-02 13:28:03 +02:00
Piotr Roslaniec 32cfe08481 fix tests and linter 2023-06-02 11:14:39 +02:00
derekpierre 10caec7406 More testing confirmation that algorithm is checking the expected blocks. 2023-06-01 14:04:32 -04:00
Piotr Roslaniec d8b51b6c07 replace ferveo package usage with nucypher core module export 2023-06-01 19:18:05 +02:00
derekpierre fa667785fe Fix failing test: test_ursula_operator. 2023-05-31 18:30:49 -04:00
derekpierre 5eeb7738d5 Fix failing test. 2023-05-31 16:04:58 -04:00
derekpierre be25a3d595 Remove constructor parameter redundancy from ActiveRitualTracker and add tests for first scan block functionality. 2023-05-31 14:18:03 -04:00
David Núñez 5e20a418fd
Log a bit more ritual information 2023-05-31 16:54:46 +02:00
Piotr Roslaniec 659ef81045 use pre-release nucypher-core version 2023-05-31 16:36:01 +02:00
derekpierre 376e34073d Harden event scanner tests. 2023-05-25 11:25:04 -04:00
derekpierre bff763185f Remove EventScanner web3 retry functionality. 2023-05-24 20:45:45 -04:00
derekpierre c980046afb Fix issue with chunk size not being corrected for when it goes past the end block. 2023-05-24 17:00:44 -04:00
derekpierre b8b70220fa Additional event scanner tests. 2023-05-24 15:19:09 -04:00
Kieran Prasch 0c6e52c4ea hacking 2023-05-24 20:22:57 +02:00
derekpierre 907365dfd7 Get chain reorg window value from scanner. 2023-05-24 20:22:57 +02:00
derekpierre f57616cdd8 Cleanup of chain reorg code - push to underlying EventScanner. Add initial test for estimating chunk size. 2023-05-24 20:22:57 +02:00
David Núñez 024669adb4 Touches to ActiveRitualTracker
Make sure start block is never higher than end block

Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2023-05-24 20:22:57 +02:00
Kieran Prasch 2345b39d45 fixes potential event scanning bug 2023-05-24 20:22:57 +02:00
Kieran Prasch 7f2abd101e Ritualist uses the same web3 instsance as the coordinator agent. 2023-05-24 20:22:57 +02:00
Kieran Prasch f0040c2e83 add polygon to POA default 2023-05-24 20:22:57 +02:00
Kieran Prasch e208674092 remove coordinator for goerli 2023-05-24 20:22:57 +02:00
Kieran Prasch 24d7f77e74 routing th correct registry to ritualists 2023-05-24 20:22:57 +02:00
Kieran Prasch 24908aa80c mock payment provider for Vladimir 2023-05-24 20:22:57 +02:00
Kieran Prasch ef534049d8 Cludge the Ritualist blockchain connection by abusing the payment provider's URI. 2023-05-24 20:22:57 +02:00
KPrasch 5c4cc708c7
Merge pull request #3133 from KPrasch/reggie
update coordinator registry entry for dkg-dev-4
2023-05-24 20:22:10 +02:00
Kieran Prasch a5940b2dc6 update coordinator registry entry 2023-05-24 20:03:53 +02:00
Derek Pierre 9305d4d76c
Merge pull request #3123 from derekpierre/e2e-dkg
E2EE Threshold Decryption
2023-05-23 16:01:07 -04:00
derekpierre 871f09b203 Update dependencies now that required changes from other repos are merged/released. 2023-05-23 15:13:54 -04:00
derekpierre d989445ffc Accomodate latest changes to `nucypher-core`. 2023-05-23 14:59:42 -04:00
derekpierre b5aa20e602 Add tests for use of ThresholdRequestDecryptingPower. 2023-05-23 14:59:42 -04:00
derekpierre 303efa2185 Relock dependencies so that proper ape-solidity can be used and acceptance tests can run. 2023-05-23 14:59:42 -04:00
derekpierre b9f0f0838a Obtain request encrypting keys from Ritual object; don't convert object to bytes (transcript, agg transcript) before passing to Coordinator agent.
Update tests.
2023-05-23 14:59:42 -04:00
derekpierre 0f9e044075 Add newsfragment for #3123. 2023-05-23 14:59:42 -04:00
derekpierre ac0296037d Some code cleanup. 2023-05-23 14:59:42 -04:00
derekpierre 52065dcb04 Use proper EncryptedThresholdDecryptionRequest/Response types so that we aren't just passing bytes around. 2023-05-23 14:59:42 -04:00
derekpierre 787d7d3e56 Update code to handle E2EE changes to Coordinator contract, and use ThresholdRequestDecryptingPower to perform E2EE decryption requests. 2023-05-23 14:59:42 -04:00
derekpierre 549252033c Add ThresholdRequestDecryptingPower class and functionality. It is a DerivedKeyBasedPower based on ritual id. 2023-05-23 14:59:42 -04:00
Derek Pierre 5a06721d7d
Merge pull request #3128 from jMyles/decryption-request
Methods for Enrico and Bob to create and then use serialized ThresholdDecryptionRequests.
2023-05-23 10:12:01 -04:00
Derek Pierre 3efbeafbfc
Apply RFC from #3128
Co-authored-by: piotr-roslaniec <39299780+piotr-roslaniec@users.noreply.github.com>
2023-05-23 10:08:33 -04:00
Derek Pierre 8b205ad443
Merge pull request #3126 from derekpierre/bob-porter-conjoined
Ensure that Bob and Porter can use common code for making Threshold Decryption Requests
2023-05-23 10:07:54 -04:00
jMyles 469ffc3e1e Separating creation of decryption request from the actual retrieval flow, so that pre-serialized decryption requests can be used. 2023-05-11 17:12:52 -04:00
jMyles e1dcaab7fb Moving decryption request creation outside loop - it doesn't need to occur per iteration; just once is fine. 2023-05-11 16:39:27 -04:00