derekpierre
|
3a98c38b6a
|
Add required arguments for tests using MockCoordinator given the new values stored by the Ritual struct.
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
0c69c142b6
|
handle fees, authority, and access controller in several tests
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
56486f74df
|
assorted 'initiator' -> 'authority'
|
2023-09-07 18:35:00 -04:00 |
derekpierre
|
81121bc4c5
|
Accomodate obtaining dkg threshold from Coordinator contract/Ritual object.
MockCoordinatorAgent simply uses a class method to determine threshold (allows for both simple/precomputed) to still be tested in integration tests.
|
2023-09-07 18:35:00 -04:00 |
derekpierre
|
dc68949b15
|
Use random global allow list value for ritualist unit test.
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
2342f7f1ef
|
initial steps to establish on-chain ritual access control via GlobalAllowList in tests
|
2023-09-07 18:34:58 -04:00 |
Piotr Roslaniec
|
c19d97b39f
|
apply pr suggestions
|
2023-08-23 20:12:22 +02:00 |
Piotr Roslaniec
|
097ffad90e
|
feat!: add condition type to condition schemas
|
2023-08-23 20:07:24 +02:00 |
derekpierre
|
a8f2e49c76
|
TTL Cache utility.
|
2023-07-21 13:42:33 -04:00 |
derekpierre
|
83b874afd1
|
Add tests for checking pending tx before performing ritual duties.
|
2023-07-17 14:24:32 -04:00 |
derekpierre
|
e56af754d0
|
Add tests for updated code in Ritualist and ActiveRitualTracker - make relevant code changes for tests to pass.
|
2023-07-13 09:12:03 -04:00 |
derekpierre
|
b0b99b24cf
|
Allow dkg actions for the ritual rounds to check contract ritual state, before acting on an event, with respect to potentially previously already processed events.
|
2023-07-13 09:10:06 -04:00 |
Kieran Prasch
|
a6a265675d
|
Caracters (config) are blockchainy
|
2023-06-26 20:42:51 +02:00 |
Kieran Prasch
|
74c18f33d7
|
passing test suite with internal cache supporting multichain.
|
2023-06-26 20:42:51 +02:00 |
Kieran Prasch
|
1dd541725f
|
another step in the direction of formalized internal multichain routing
|
2023-06-26 20:42:51 +02:00 |
Kieran Prasch
|
fdb28dd21e
|
Improves multichain provider internal routing correctness.
|
2023-06-26 20:42:51 +02:00 |
derekpierre
|
b0dd6ac569
|
Additional testing clean up.
|
2023-06-15 08:54:31 -04:00 |
derekpierre
|
53955cb80b
|
Use semver for lingo versioning. Ensure that major version changes are recognized as incompatible.
|
2023-06-15 08:54:31 -04:00 |
derekpierre
|
d69b62d8b3
|
Initial musing about versioned condition lingo i.e. overall condition language; will add semver functionality later.
|
2023-06-15 08:54:31 -04:00 |
derekpierre
|
13db8d225e
|
Fix comments based on feedback from #3145.
|
2023-06-14 19:38:30 -04:00 |
derekpierre
|
c4b217e223
|
Ensure that the underlying marshmallow schema ValidationError is not propagated but gets reraised as InvalidConditionLingo.
|
2023-06-14 19:38:30 -04:00 |
derekpierre
|
45a420a9db
|
Localize condition lingo handling/processing to one function - `evaluate_condition_lingo`.
|
2023-06-14 19:38:30 -04:00 |
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 |
derekpierre
|
26aaf775e3
|
Change TimeCondition method name to "blocktime" from "timelock".
|
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 |
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
|
d3bab657f3
|
Make updates based on latest Coordinator contract changes.
|
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
|
d8b51b6c07
|
replace ferveo package usage with nucypher core module export
|
2023-06-01 19:18:05 +02:00 |
derekpierre
|
376e34073d
|
Harden event scanner tests.
|
2023-05-25 11:25:04 -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 |
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 |
derekpierre
|
b5aa20e602
|
Add tests for use of ThresholdRequestDecryptingPower.
|
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
|
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
|
bc8cb48c70
|
Add tests for BatchValueFactory, and fix issues.
|
2023-05-11 10:44:05 -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 |
derekpierre
|
782f65691e
|
Use FAKE_TRANSCRIPT constant for unit tests.
|
2023-05-04 17:35:52 -04:00 |
derekpierre
|
87d8b40a57
|
Update and move test_ritualist to unit tests.
Co-authored-by: KPrasch <kieran@nucypher.com>
|
2023-05-04 17:35:52 -04:00 |
derekpierre
|
88046fc3bc
|
Updated use of ferveo 0.1.8. Note: public key bytes are still not 48 bytes.
|
2023-05-04 17:34:27 -04:00 |
derekpierre
|
eda1fc1a50
|
Initial changes to conform to latest changes to Coordinator contract in nucypher-contracts.
|
2023-05-04 17:34:27 -04:00 |
jMyles
|
bce2ed8607
|
Replacing pysha3 with keccak implementations from eth-hash and eth-utils.
|
2023-05-02 10:23:24 -07:00 |
Kieran Prasch
|
cfba9be307
|
simple in-memory test regitry for unit tests, mock out middleware for mock clients.
|
2023-05-02 10:23:24 -07:00 |
Kieran Prasch
|
c85f1f2f59
|
assorted bugfixes related to fixtures and testerchain arising from the migration to ape.
|
2023-05-02 10:23:24 -07:00 |
Kieran Prasch
|
6617e08527
|
disable ape test plugin during unit and integration tests.
|
2023-05-02 10:23:24 -07:00 |
derekpierre
|
c157c8ccf7
|
Fix some tests; ERC721 contract needs to be deployed on APE, and MockContractAgency import is now inlined.
|
2023-05-02 10:23:24 -07:00 |