Commit Graph

538 Commits (d91eacefe3593d37a6435fb56f6f221edee47f4b)

Author SHA1 Message Date
derekpierre bee3c926d4 Rename networks module to domains, and remove NetworksInventory class; module contains all values and methods now. 2023-10-04 13:30:18 -04:00
derekpierre 2d2b67e5d2 Rename of various functions/constants from NetworksInventory to use domain instead of network.
Rename variables obtained by calling into NetworksInventory to use domain instead of network.
Rename NuCypherNetworkName CLI validation object into NuCypherDomainName.
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 738182ab98 Remove use of pre_payment_network and coordinator_network since the corresponding polygon network is always implied based on the TACo network used.
Remove coordinator_provider_uri, use of pre_payment_network.provider because all characters now define polygon_endpoint parameter.
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 cbfb8a7e35 Use common testing constant for minimum operator seconds. 2023-09-21 20:11:54 -04:00
derekpierre 869ef1fbda Remove EconomicsFactory/Economics. 2023-09-21 12:31:21 -04:00
derekpierre 48e6977dbd Update integration tests to properly mock operator bonding based on new logic to check bonding for cli tests. 2023-09-21 09:51:16 -04:00
Kieran Prasch 499f903976 Adapt tests and exmaples to merged Operator, without Ritualist. 2023-09-14 16:26:05 -04:00
Kieran Prasch 4fc0176a96 handle integration and unit mocking of ad-hoc ursula account bonding. 2023-09-12 18:28:52 +02:00
Piotr Roslaniec 097ffad90e feat!: add condition type to condition schemas 2023-08-23 20:07:24 +02:00
Kieran Prasch 9c5038c93b Advances multichain evaluation tests coverage 2023-08-20 16:02:39 +02:00
Kieran Prasch 4c3394c309 Updates testing mocks to handle multiple RPC providers per blockchain 2023-08-20 16:02:39 +02:00
Kieran Prasch a6a265675d Caracters (config) are blockchainy 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
Piotr Roslaniec ee1691e879 fix tests 2023-06-22 11:48:52 +02:00
Piotr Roslaniec 44d1e81b8f feat: remove dependency on DkgPublicParams 2023-06-21 14:56:17 +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 32cfe08481 fix tests and linter 2023-06-02 11:14:39 +02:00
Piotr Roslaniec d8b51b6c07 replace ferveo package usage with nucypher core module export 2023-06-01 19:18:05 +02:00
Kieran Prasch 24d7f77e74 routing th correct registry to ritualists 2023-05-24 20:22:57 +02: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 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 20fadaa0d8 Cleanup of tests. 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
Kieran Prasch a6d5335449 Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace. 2023-05-02 10:23:24 -07:00
Kieran Prasch dc51407c0f relocates ursulas fixture (is uses transparently in different scopes) 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 39929d0aa3 relocates ape fixtures to local conftest 2023-05-02 10:23:24 -07:00
derekpierre d42b445d63 Fix use of ape project fixture. 2023-05-02 10:23:24 -07:00
Kieran Prasch df86485efa removes several unused pytest fixtures 2023-05-02 10:23:24 -07:00
Kieran Prasch 21fa6edc7b new ape testing utils module 2023-05-02 10:23:24 -07:00
derekpierre 67a7bb7da6 Code testing cleanup. 2023-05-02 10:23:24 -07:00
derekpierre e0286d13c5 Get `nucypher-contracts` dependency from github by default. 2023-05-02 10:23:24 -07:00
Kieran Prasch a19c50ec69 ape checkpoint 1 2023-05-02 10:23:24 -07:00
derekpierre b4673ac39f Got some dkg unit and integration tests passing. There are more tests to make pass. 2023-05-02 10:23:24 -07:00
Kieran Prasch c654e45367 updates for web3.py 6+ 2023-05-02 10:23:24 -07:00
Kieran Prasch 33bcea650d DKG encryption functionality for Enrico 2023-05-02 10:23:00 -07:00
Kieran Prasch 735eec6739 improves order preservation of nodes during ritutal rounds 2023-04-20 07:10:46 -07:00
Kieran Prasch 59e14cc2e2 dkg node protocol early prototype v1. 2023-04-20 07:10:45 -07:00
jMyles ff2b98c30c The 'big_testerchain' concept didn't work out; cleaning it up. Leaving it in the history for research purposes. 2022-12-07 11:29:26 +00:00
jMyles 97b19ea3e4 Fake addresses for fake Ursulas. Good enough for these highperf tests. 2022-12-07 11:29:26 +00:00
jMyles 52dcd13a53 The first idea - a bad one - in response to the need for a large fleet of Ursulas for performance tests. It's way too slow to try to make them all on a testerchain. 2022-12-07 11:29:26 +00:00
Kieran Prasch dd87e3459d unskips test_use_external_cache, bumps fixturized policy to 3 of 5. 2022-12-07 11:29:26 +00:00