Kieran Prasch
|
92278352f3
|
setStakes -> authorizationIncreased
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
56486f74df
|
assorted 'initiator' -> 'authority'
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
c005ee86ac
|
deployer account fixture
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
c7b19902ca
|
use RitualToken for ritual init
|
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 |
derekpierre
|
f9b3babd69
|
Updated acceptance tests to use the correct chain id since it seems that the latest version of ape uses a default chain id of 1337.
Some fixtures needed to move to conftest in acceptance folder.
|
2023-09-05 16:41:23 -04:00 |
derekpierre
|
f93f1b1019
|
Rename DkgMessageKit to ThresholdMessageKit.
|
2023-08-27 03:18:08 +02:00 |
derekpierre
|
a84680e6ca
|
Update threshold_decrypt to take a DkgMessageKit instead of ciphertext and conditions.
|
2023-08-27 03:18:08 +02:00 |
derekpierre
|
13fe740c9a
|
Update Enrico.encrypt_for_dkg to return DkgMessageKit shim.
|
2023-08-27 03:18:08 +02:00 |
Piotr Roslaniec
|
097ffad90e
|
feat!: add condition type to condition schemas
|
2023-08-23 20:07:24 +02:00 |
derekpierre
|
90837df0f0
|
DKG params are no longer exposed/applicable; remove redundant test and commented out code which have now gone stale.
|
2023-07-24 08:33:34 -04:00 |
derekpierre
|
e252e78467
|
Add test for ActiveRitualTracker now using TTLCache for participation states and purging of stale state performed.
|
2023-07-21 13:42:33 -04:00 |
derekpierre
|
518994301d
|
Further simplify `_get_participation_state()` to reduce function lines and if-elif-else nesting.
|
2023-07-18 15:22:23 -04:00 |
derekpierre
|
2ece35c575
|
Provide context message if test fails - this check can fail if the relevant Coordinator contract events change without also updating this test.
|
2023-07-18 15:20:53 -04:00 |
derekpierre
|
ff3cba7bd8
|
Update tests to reflect changes made to `_action_required` and `_get_participation_state` methods on ActiveRitualTracker.
|
2023-07-17 14:25:22 -04:00 |
derekpierre
|
9621dc1a19
|
Simplification of participation logic - it was probably over-engineered previously.
|
2023-07-16 14:30:44 -04:00 |
derekpierre
|
c8c9875429
|
Resolve darker complaints.
|
2023-07-14 12:06:31 -04:00 |
derekpierre
|
5ccfc234ec
|
Rename ActiveRitualTracker participation_states variable to indicate internal use.
|
2023-07-14 11:51:44 -04:00 |
derekpierre
|
628bd2cbba
|
Modify concurrent ritual test to instead test _handle_ritual_event which is a more complete test: tests the entire flow when an event is received i.e. participation and executing actions if necessary.
|
2023-07-14 11:47:15 -04:00 |
derekpierre
|
4c17f570de
|
Improve participation state logic to be cleaner and more efficient (don't get participant info more than once).
|
2023-07-14 11:15:29 -04:00 |
derekpierre
|
1cebcfca46
|
Better link "event linked to this ursula" function (_get_participation_state) and the check for "actionable event"
Improve participation state logic, and EndRitual processing.
Additional tests.
|
2023-07-13 19:16:41 -04:00 |
derekpierre
|
a27187f061
|
Add test for ritual tracker when receiving unexpected events when checking for relevance that it doesn't have processing logic for.
|
2023-07-13 12:46:54 -04:00 |
derekpierre
|
66c0a2c16c
|
Remove unnecessary and unused state tracking for rituals.
Minor code cleanup.
|
2023-07-13 12:46:40 -04:00 |
derekpierre
|
85d061cdb1
|
Additional tests (and fixes) for StartAggregationRound and EndRitual - special events for which we can't determine participation in ritual from event input args.
|
2023-07-13 09:12:06 -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 |
Kieran Prasch
|
74c18f33d7
|
passing test suite with internal cache supporting multichain.
|
2023-06-26 20:42:51 +02:00 |
Kieran Prasch
|
c895d24ba9
|
use TEST_ETH_PROVIDER_URI in favor of PYEVM_DEV_URI
|
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
|
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
|
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 |
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
|
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
|
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
|
de926000b4
|
Update code to handle DkgPublicKey now being 48 bytes.
|
2023-05-06 13:15:48 -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 |
Kieran Prasch
|
a6d5335449
|
Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace.
|
2023-05-02 10:23:24 -07:00 |