Commit Graph

166 Commits (f59d636d54a8ab49327c1393f3ddcc1154373a44)

Author SHA1 Message Date
derekpierre d2c93f91cc
Update tests now that Web3Signer cannot be used for account management/signing. 2024-04-29 10:34:24 -04:00
derekpierre 556029def5
Simplify ReservedTestAccountManager and make it adhere to its superclass API, while adding functionality for our own needs. 2024-04-29 10:34:20 -04:00
derekpierre c7480e4bf5
Update tests to use account management class instead of testerchain.
Use actual signer instead of relying on the underlying blockchain to manage accounts and perform fake signing.
2024-04-29 10:34:17 -04:00
derekpierre be0aa76836
Fix failing tests. 2024-04-22 14:15:36 -04:00
KPrasch 416164a846
integrate atxm (see original history in https://github.com/nucypher/nucypher/pull/3424, https://github.com/nucypher/atxm)
- atx integration test
- eliminate 'fire and forget'
- warp space-time
2024-03-25 13:32:19 -04:00
derekpierre c4019d165e Add test that ensures that when ursula restarts and its tls certificate changes, that a P2PSession can reconnect to it and update its cache.
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2024-02-13 10:53:03 -05:00
Kieran Prasch eabc61deaa relocates the remaining Coordinator models to eth/models.py 2024-02-13 10:53:03 -05:00
KPrasch d06bb7af9a repairs a p2p validity test that implements /ping. Linting. 2024-01-23 19:21:26 +01:00
derekpierre c974b94b18 Add test for starting prometheus exporter. 2024-01-23 13:27:35 +01:00
Kieran Prasch d9d05b3efb Require all domain RPC endpoints are active before node startup 2023-10-31 17:23:43 +01:00
Kieran Prasch 09bc914ce7 renames TEMPORARY_DOMAIN -> TEMPORARY_DOMAIN_NAME 2023-10-31 14:30:15 +01: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 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 8757889c15 Remove invalid Ursula.run parameter. 2023-09-14 16:26:05 -04:00
derekpierre 1eb86c13e3 Vladimir no longer needs eth for test - set provider public key is no longer called in Ursula (superclass) constructor. 2023-09-14 16:26:05 -04:00
Kieran Prasch 499f903976 Adapt tests and exmaples to merged Operator, without Ritualist. 2023-09-14 16:26:05 -04:00
derekpierre 6a09fdfc3a Modify transacting power tests to use setProviderPublicKey() instead of confirmOperatorAddress(). 2023-09-14 16:26:05 -04:00
derekpierre 3f1f40f2c8 Fix use of various fixtures and contracts for test. 2023-09-14 16:26:05 -04:00
Kieran Prasch 783f2dcd76 Enrico uses a web3 wallet to encrypt-then-sign. 2023-09-11 19:06:24 +02:00
derekpierre e943ca7b8f Rename PREApplicationAgent to TACoApplicationAgent; also rename associated variables/comments etc. 2023-09-08 09:27:04 -04:00
derekpierre f925bc423e Vladimir needs ETH to set provider public key for tests.
Cleanup Vladimir code to not depend on test.contants.
2023-09-07 20:57:18 -04:00
Kieran Prasch 92278352f3 setStakes -> authorizationIncreased 2023-09-07 18:35:00 -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 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
derekpierre 149d16c0b3 Ensure that start block for DKG event scanning is never negative.
Stop RitualTracker when Ursula stops.
Cleanup test.
2023-05-04 17:35:53 -04:00
Kieran Prasch e55bafe6db all tests passing 2023-05-02 10:23:24 -07: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 a19c50ec69 ape checkpoint 1 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 e7417e8a7f Repond to RFCs in PR #3030 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 cb4597321e BlockchainPolicy -> Policy 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
Kieran Prasch 6ca73c2849 remove lisence header from tests 2022-11-16 13:27:47 +00:00
Kieran Prasch febc6093c1 Removes lmdb datastore usage 2022-10-27 10:12:17 +01:00
Kieran Prasch ba22a98db5 Removed RPC and web controller acceptance tests for characters 2022-10-25 20:01:54 +01:00
Kieran Prasch 2c4634acea Removes RPCController and Web controller functionality 2022-10-25 17:35:25 +01:00
derekpierre 8c7f9f5a08 Tests updated since flask 2.2.2 has a different way of doing things. 2022-10-18 20:09:25 +02:00
Kieran Prasch 47a7780082 Skip JSON endpoint test 2022-10-18 20:09:25 +02:00
Kieran Prasch 0acfc7e381 Support for web3.py v6 2022-10-18 20:08:52 +02:00
Kieran Prasch b7145c0ab4 Remove core shims; Refactor for mk-embedded conditions. 2022-10-18 20:08:51 +02:00
Kieran Prasch 72c6bd5295 Refactoring for interop with nucypher-ts 2022-10-18 20:07:58 +02:00
Kieran Prasch d9f67f30ce Install nucypher core shims for conditions 2022-10-18 20:07:57 +02:00
Kieran R. Prasch aad511ba30 test adjustments to handle policy registry, in-memory node storage and polygon mocks. 2022-03-22 15:54:36 -07:00