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
jMyles
a577bd709e
Method for Enrico to produce a TDreq during encryption, so that it can be serialized and passed via a side-channel.
2023-05-11 15:18:29 -04:00
derekpierre
4265c30794
Add newsfragment for #3126 .
2023-05-11 10:47:45 -04:00
derekpierre
bc8cb48c70
Add tests for BatchValueFactory, and fix issues.
2023-05-11 10:44:05 -04:00
derekpierre
3e498a3751
Some initial refactoring so that Bob and Porter can use the same code for making threshold decryption requests (akin to PRE retrieval).
2023-05-11 10:44:05 -04:00
KPrasch
e7be4d5f7b
Merge pull request #3124 from theref/registry
...
Add StakeInfo and Coordinator abis to mumbai registry
2023-05-09 10:30:37 -07:00
James Campbell
23656b7c48
Add StakeInfo and Coordinator abis to mumbai registry
2023-05-09 19:01:37 +02:00
Derek Pierre
2310793b50
Merge pull request #3121 from derekpierre/56-to-48
...
Update code to handle DkgPublicKey now being 48 bytes instead of 56 bytes
2023-05-08 09:43:09 -04:00
derekpierre
ae3f267fb6
Use ferveo 0.1.11 so that DkgPublicKey.serialized_size() can be used. Updated some typehints.
2023-05-08 09:14:30 -04:00
derekpierre
fe62f3cabb
Add newsfragment for PR #3121 .
2023-05-06 21:17:24 -04:00
derekpierre
cab43f898f
Update ferveo dependency to 0.1.10 as the minimum.
2023-05-06 21:15:37 -04:00
derekpierre
de926000b4
Update code to handle DkgPublicKey now being 48 bytes.
2023-05-06 13:15:48 -04:00
derekpierre
048a8ea3fc
Link to ferveo issue due to incorrect public key bytes length.
2023-05-05 14:41:15 -04:00
KPrasch
6ae572b3cf
Merge pull request #3088 from KPrasch/ritual
...
Enable simple variant threshold decryption
2023-05-05 10:44:56 -07:00
Kieran Prasch
e18a3470a0
only test rituals with dkg size < 10 for now
2023-05-05 10:18:23 -07:00
Kieran Prasch
365c780eab
newsfragment for PR #308
2023-05-05 10:06:55 -07:00
Kieran Prasch
b3090be689
support ferveo==0.1.9, bugfix: enables threshold decryption via simple variant.
2023-05-05 10:05:15 -07:00
Kieran Prasch
d0a8f6065e
attempt to enable both the simple/precomputer variants in tests.
2023-05-04 15:23:40 -07:00
KPrasch
20d750a1c6
Merge pull request #3117 from derekpierre/coordinator-2
...
Update `Coordinator` usage and `ferveo==v0.1.8`
2023-05-04 15:19:09 -07:00
derekpierre
149d16c0b3
Ensure that start block for DKG event scanning is never negative.
...
Stop RitualTracker when Ursula stops.
Cleanup test.
2023-05-04 17:35:53 -04:00
derekpierre
782f65691e
Use FAKE_TRANSCRIPT constant for unit tests.
2023-05-04 17:35:52 -04:00