Kieran Prasch
|
09bc914ce7
|
renames TEMPORARY_DOMAIN -> TEMPORARY_DOMAIN_NAME
|
2023-10-31 14:30:15 +01:00 |
Kieran Prasch
|
b538e58f57
|
use TACoDomain for internal APIs
|
2023-10-31 14:30:15 +01:00 |
derekpierre
|
4c6a0be937
|
Use ConditionType enum values instead of constants across codebase.
|
2023-10-18 20:25:56 -04:00 |
derekpierre
|
d8b9180921
|
Update domains/TACoDomain structure.
Added magic methods.
|
2023-10-05 06:20:13 -04:00 |
derekpierre
|
568270d36c
|
Allow MockRegistrySource to take any domain value while allowing the accepted values to be specified.
Update various tests that used random domain values to either use the mock, or just use TEMPORARY_DOMAIN if applicable.
|
2023-10-04 13:30:18 -04:00 |
derekpierre
|
4507580196
|
Update CLI --network option to be --domain.
Update subsequent function calls to use domain as well instead of network.
Update some constants to use _DOMAIN instead of _NETWORK.
|
2023-10-04 13:30:18 -04:00 |
derekpierre
|
1c333bddaa
|
Deprecate condition_provider_uris in favour of condition_blockchain_endpoints.
|
2023-10-04 13:30:18 -04:00 |
derekpierre
|
941b21f34f
|
More renames of instances of eth_provider_uri to either blockchain_endpoint or eth_endpoint.
|
2023-10-04 13:30:18 -04:00 |
derekpierre
|
c8b5264c7c
|
Rename eth_provider_uri to eth_endpoint in various spots specific to payment, config, characters.
|
2023-10-04 13:30:18 -04:00 |
derekpierre
|
4166c7dae9
|
Rename eth_provider_uri to eth_endpoint as it pertains to Characters/nodes/CLI options.
|
2023-10-04 13:30:18 -04:00 |
Kieran Prasch
|
1858f49a99
|
tests use the refactored ContractRegistry and RegistrySource interfaces
|
2023-10-04 19:24:43 +02:00 |
derekpierre
|
d4d5183ceb
|
Test renaming to exclude federated. Remove test for alice performing encryption.
|
2023-09-21 09:51:17 -04:00 |
Kieran Prasch
|
783f2dcd76
|
Enrico uses a web3 wallet to encrypt-then-sign.
|
2023-09-11 19:06:24 +02:00 |
derekpierre
|
243448d015
|
Bob no longer needs ritual id as a parameter for decrypting the threshold message kit since the Coordinator contract can be used for obtaining the ritual id from the dkg public key which is already stored in the threshold message kit.
|
2023-09-11 11:50:54 -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
|
2043b69a21
|
Remove redundant test.
|
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 |
jMyles
|
280fe0d0f9
|
Simple test to show error for invalid chain ID.
|
2023-08-20 16:02:39 +02:00 |
derekpierre
|
6fb61bacec
|
Remove use of threshold decryption request when encrypting data - should not be returned when encrypting - it's use is for decrypting (variant and context)..
|
2023-07-09 10:41:02 -04:00 |
jMyles
|
8ae0cb08e7
|
Test showing both success and failure tooling.
|
2023-07-06 13:19:33 +02:00 |
jMyles
|
92f143c1be
|
Test showing the 'always decrypts' variant.
|
2023-07-06 13:19:33 +02:00 |
jMyles
|
b4fab45eb1
|
Simple test showing the 'always decrypts' tool.
|
2023-07-06 13:19:33 +02:00 |
jMyles
|
3bf02094a0
|
Adding classes for tools the Bobs who always decrypt and always fail.
|
2023-07-06 13:19:33 +02:00 |
Kieran Prasch
|
a6a265675d
|
Caracters (config) are blockchainy
|
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 |
Kieran Prasch
|
24d7f77e74
|
routing th correct registry to ritualists
|
2023-05-24 20:22:57 +02:00 |
Kieran Prasch
|
a6d5335449
|
Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace.
|
2023-05-02 10:23:24 -07:00 |
Kieran Prasch
|
33bcea650d
|
DKG encryption functionality for Enrico
|
2023-05-02 10:23:00 -07:00 |
derekpierre
|
216e2e5476
|
Update tests after rebase.
|
2022-12-23 09:13:41 -05:00 |
derekpierre
|
87fb4ba7c9
|
Add tests to ensure that mapping of status codes to middleware exceptions are correct.
General tests cleanup.
|
2022-12-23 09:13:41 -05:00 |
derekpierre
|
6772d02755
|
Improved testing of mapping condition failure to middleware exception creation.
Reduce redundant wording of NoConnectionToChain exception handling.
|
2022-12-23 09:13:41 -05:00 |
derekpierre
|
23920fd5a3
|
Use decoded text from failed HTTP responses for exception messages instead of the raw content which is bytes.
|
2022-12-23 09:13:41 -05:00 |
Kieran Prasch
|
dd87e3459d
|
unskips test_use_external_cache, bumps fixturized policy to 3 of 5.
|
2022-12-07 11:29:26 +00:00 |
Kieran Prasch
|
67619c7ee1
|
remove more blockchain language
|
2022-12-07 11:29:26 +00:00 |
Kieran Prasch
|
fda5c86db2
|
Removes "decentralized" and "blockchain" differentiation from "federated"
|
2022-12-07 11:29:26 +00:00 |
Kieran Prasch
|
7b7f2f071f
|
Atomically unfederate (most of) the tests; Restores "federated" functionality by way of mocking. Takes advantage of fixture overriding to intercept testerchain.
|
2022-12-07 11:28:40 +00:00 |
derekpierre
|
d5e18dc56e
|
Move common test function to utility module.
|
2022-11-21 12:53:25 -05:00 |
derekpierre
|
d540846163
|
Add additional tests for ConditionLingo, and empty rust Conditions on MessageKits.
|
2022-11-18 14:52:49 -05:00 |
derekpierre
|
4cf9c7c70a
|
Enrico now provides condition as actual None with no conditions are provided instead of an empty Conditions object.
Utilize better typing of condition dictionaries and its values.
Allow validation of conditions data without instantiation.
|
2022-11-18 10:33:15 -05:00 |
derekpierre
|
c046e91e0b
|
Add test to replicate failure case where Conditions are None instead of an empty Condition object.
|
2022-11-17 16:12:04 -05:00 |
Kieran Prasch
|
6ca73c2849
|
remove lisence header from tests
|
2022-11-16 13:27:47 +00:00 |
Kieran Prasch
|
961faf04f7
|
Regression test for unintentional reencryption upon falsy conditions.
|
2022-11-11 17:39:58 +00:00 |
Kieran Prasch
|
17d3888c4d
|
Remove unused specifications, consolidate the remaining ones for use by porter alone.
|
2022-10-26 13:55:38 +01:00 |
Kieran Prasch
|
2c4634acea
|
Removes RPCController and Web controller functionality
|
2022-10-25 17:35:25 +01:00 |
Kieran Prasch
|
07bf78d9ff
|
Removes Web and RPC controller entities
|
2022-10-25 17:35:25 +01:00 |