Commit Graph

10527 Commits (4214a9b0092588d72748bb84443df6db73ed9d26)

Author SHA1 Message Date
derekpierre 4214a9b009 Add tests/fixes for compound conditions. 2023-06-14 19:38:30 -04:00
derekpierre 610f7436f0 Initial work that replaces infix notiation with prefix notation for logical conditions. 2023-06-14 19:38:30 -04:00
KPrasch 78b6956fa3
Merge pull request #3141 from KPrasch/registry
updates coordinator registry for alpha 5
2023-06-10 16:36:50 +02:00
Kieran Prasch 3d23c75708 updates coordinator registry 2023-06-10 16:31:58 +02:00
David Núñez 4ff08fc622
Merge pull request #3139 from derekpierre/blocktime
TimeCondition should use block time instead of system time
2023-06-08 19:40:37 +02:00
derekpierre 85a65ad4c5 Apply RFCs from #3139.
Co-authored-by: David Núñez <david@nucypher.com>
2023-06-08 13:20:13 -04:00
derekpierre 0700a126dd Add newsfragments for #3139. 2023-06-08 11:03:48 -04:00
derekpierre 26aaf775e3 Change TimeCondition method name to "blocktime" from "timelock". 2023-06-08 11:03:48 -04:00
derekpierre c090906af2 Fix condition dict types. 2023-06-08 11:03:48 -04:00
derekpierre 66f26c032c Change TimeCondition to use block time instead of Ursula system time.
Rename ReencryptionCondition to AccessControlCondition.
2023-06-08 11:03:22 -04:00
Derek Pierre 0bbd734c64
Merge pull request #3134 from derekpierre/25519
Use new request keys in `nucypher-core` that use curve 25519 instead of Umbral
2023-06-07 09:49:40 -04:00
derekpierre a2884dfea1 Relock dependencies now that `nucypher-core` v0.9.0 has been released. 2023-06-07 09:35:58 -04:00
derekpierre c2edb1ceb1 Update code to use newly named Session key objects in `nucypher-core`.
Modify ape-config to use `nucypher-contracts:main` now that associated PR was merged.
2023-06-07 08:07:18 -04:00
derekpierre 7c79a76296 Update changes to include changing `RequestSecretKey.diffie_hellman()` to `RequestSecretKey.derive_shared_secret()`. 2023-06-07 08:07:18 -04:00
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