derekpierre
f972c72470
Code cleanup to condition context variable - follow up RFCs from #2966 .
2022-10-18 20:09:25 +02:00
derekpierre
f164cfb3a9
Clenup of tests regarding `context`. Minor fix for using lists for ConditionLingo conditions instead of tuple.
2022-10-18 20:09:25 +02:00
derekpierre
46b40dcc57
Update format of `context` for tests.
2022-10-18 20:09:25 +02:00
derekpierre
15cb062940
Added some tests that provide a context for re-encryption.
2022-10-18 20:09:25 +02:00
Kieran Prasch
0acfc7e381
Support for web3.py v6
2022-10-18 20:08:52 +02:00
derekpierre
7689b446a7
Add web controller tests for handling of WorkerPoolException.
...
Improve efficiency of Porter tests by reducing execution timeout.
2022-04-13 11:05:03 -04:00
Kieran Prasch
320e5bc4b3
test adjustments for london fork
2022-04-04 22:01:32 -07:00
Kieran Prasch
c809b69f9a
Restoration of StakingEscrowDeployer and select tests; cleanup.
2022-02-21 17:23:26 -08:00
Kieran Prasch
73b238a587
Removes staking entities
2022-02-21 17:17:11 -08:00
vzotova
856abe4892
Renames `provider_uri` to `eth_provider_uri`
2022-02-18 11:27:15 +03:00
Kieran R. Prasch
2aae09f1e4
Respond to RFCs in PR #2862
2022-02-16 13:24:35 -08:00
Kieran Prasch
419e649ec7
Respond to RFCs for PR #2857
2022-02-08 11:04:34 -08:00
Kieran Prasch
ee2a5190e6
adjust tests
2022-02-08 11:04:27 -08:00
Kieran Prasch
622ae3429a
Removes PolicyManagerPayment
2022-02-08 11:04:27 -08:00
derekpierre
d442375e5f
Cleanup of Porter tests to account for duration_periods no longer needed for sampling.
2022-02-08 11:04:27 -08:00
Kieran Prasch
b193465f98
adjust tests
2022-02-08 11:03:50 -08:00
Kieran Prasch
1c34045a81
Prepares economics and deployment constants for use with threshold network.
2022-02-08 11:02:17 -08:00
Kieran Prasch
bbc509910d
Adjust tests to accommodate swapable payment methods.
2022-02-08 11:01:24 -08:00
Kieran Prasch
fe36bf9d9d
Introduce SubscriptionManager Deployer
2022-02-08 11:01:24 -08:00
Damon Ciarelli
c1f66c0ef6
ursula pre_application_agent working; contract interactions required to run ursula.
2022-02-08 11:01:24 -08:00
Kieran Prasch
141b719db9
Mocked threhold staking interface.
2022-02-08 11:01:24 -08:00
Kieran Prasch
4136e740e8
PREApplicationDeployer
2022-02-08 11:01:24 -08:00
Bogdan Opanchuk
e5620c3155
Changes to make the tests pass
2022-01-08 15:29:22 -08:00
Kieran Prasch
3b3ca65f9f
Removes 'handpicked ursula' language.
2021-10-29 07:56:20 -07:00
Bogdan Opanchuk
ca2ae89ba6
Get rid of passing a Callable to EncryptedTreasureMap.decrypt()
2021-10-15 15:19:19 -07:00
Bogdan Opanchuk
0f85435ac7
Require encrypted_treasure_map in retrieve()
2021-09-08 08:21:04 -07:00
Bogdan Opanchuk
1d3642d960
Retrieval rework
2021-09-08 08:21:03 -07:00
Bogdan Opanchuk
a338ff1a69
Don't return the signature along with the MessageKit from MessageKit.author()
2021-09-07 11:58:55 -07:00
Kieran R. Prasch
024bcb1c5f
Finish deprecation of map storage from tests.
2021-08-20 16:58:58 -07:00
Bogdan Opanchuk
6164137610
Rename m -> threshold, num_kfrags -> shares
2021-08-20 19:26:56 -04:00
Bogdan Opanchuk
c595850952
RFCs, part 2
2021-08-19 17:06:45 -04:00
Bogdan Opanchuk
509b8c1bfc
Split treasure maps into decrypted and encrypted
2021-08-19 17:06:45 -04:00
Piotr Roslaniec
662bc34439
Use Path methods instead of os module
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
6a270c1713
Use pathlib
2021-08-06 18:10:20 +02:00
derekpierre
463078ce0d
Fix issues after TMapConKFrag rebase including how work orders are created and used for tests. exec_work_order tests now actually use /reencrypt ursulas endpoints.
2021-07-26 15:14:43 -04:00
derekpierre
e8f0e20400
Add Basic Authentication tests.
2021-07-26 15:14:43 -04:00
derekpierre
dbeec7f1ae
Add integration and acceptance tests for porter functionality.
...
Remove unused 'publish_treasure_map' parameter from _enact() function.
Loosen validation on treasure map id which can be 32 bytes (federated) or 16 bytes (non-federated). Probably only care about non-federated but for ease of testing, federated really helps.
2021-07-26 15:14:42 -04:00
derekpierre
589ddff4de
Initial refactoring of "character control"; abstract what is now "character control" into a general "base control" from which "character control" can sub-class.
2021-07-26 15:14:42 -04:00
Kieran Prasch
b92d04ab00
Notify and interactively confirm mnemonic generation.
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
4f7bdf5c46
tests respect the Keystore API
2021-06-28 14:33:31 -07:00
Bogdan Opanchuk
2fe7c85af4
Flatten stacked context managers
2021-06-25 11:43:06 -07:00
David Núñez
6279827657
Remove stale references to PreallocationEscrow contract stuff
2021-04-30 10:23:13 +02:00
Piotr Roslaniec
9669280639
Test fallback behaviour
2021-04-22 12:36:37 +02:00
Piotr Roslaniec
58f37da94a
Move TEACHER_NODES to nodes.py
2021-04-21 18:04:51 +02:00
vzotova
3136a97aa6
Fix other tests
2021-03-22 11:37:27 -07:00
Bogdan Opanchuk
03bab50289
Minor RFC
2021-03-02 18:20:48 -08:00
Bogdan Opanchuk
c0a303a783
Help nucypher-monitor get the info it needs
2021-03-02 18:20:48 -08:00
Kieran Prasch
06d89fef07
ContractAdministrator is a BaseActor subclass. Respond to RFCs in PR #2572
2021-03-02 10:24:41 -08:00
Kieran Prasch
ba464989ba
Actors accept a transacting power or an address but not both + Cleanup.
2021-02-26 13:38:37 -08:00
Kieran Prasch
7e07bd267e
Handle injected transacting power in tests.
2021-02-26 13:38:37 -08:00