Commit Graph

51 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 0f0a39d242
Rename stake_provider(s)_account(s) -> staking_provider(s)_account(s). 2024-04-29 10:34:22 -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 0f641363c2
Update StakingProviderInfo tests for TACoApplicationAgent and TACoChildApplicationAgent. 2024-04-25 10:50:31 -04:00
derekpierre 110633a518
Add duration values to agent sampling tests. 2024-04-25 09:30:07 -04:00
derekpierre dbbeb233d1
Update tests which should now work given default duration value. 2024-04-25 09:12:21 -04:00
derekpierre 2be52480c9
Add tests for callbacks during post_transcript/post_aggregation stages. 2024-04-15 13:30:46 -04:00
derekpierre 550c59ccb1
Add mock_async_hooks fixture for use in tests that mimic the use of async txs. 2024-04-15 13:30:43 -04:00
derekpierre 783b75a7b5
Skip test for now until #3458 is addressed. 2024-03-25 13:32:40 -04:00
derekpierre f3b588c5e5
Fix failing test that requires the use of duration with TACoApplicationAgent for sampling. 2024-03-25 13:32:39 -04:00
KPrasch edbead6791
repsond to RFCs in PR #3437:
- removes stale newsfrag
- do not return Deferred from SimpleTask.start and SimpleTask.stop
- removes eager atxm startup with ursula startup.
- remove unused token agent methods
- add spaces after periods in select logs
- more...
2024-03-25 13:32:26 -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
Kieran Prasch eabc61deaa relocates the remaining Coordinator models to eth/models.py 2024-02-13 10:53:03 -05:00
KPrasch 5f8d68fe08 bugfix: always handle transaction hashes instead of transcripts for dkg tracking. Updates mocks to return txhash instead of receipt for transcript and aggregation posting. 2024-02-13 10:53:03 -05:00
KPrasch 96cac14fd5 handle shared coordinator reads and dkg artifact preperation logic between ursula and decryptors. 2024-02-13 10:53:03 -05:00
derekpierre d6a1e3f01f Update RitualStatus names to match Coordinator contract. 2023-11-17 12:20:36 -05:00
derekpierre ff51de058e Consolidate swarm/get_staking_providers into one method that returns an iterable.
Update tests.
2023-11-17 12:18:06 -05:00
derekpierre 0413c2f992 Update staking provider info tests for testing taco application agent. 2023-11-17 12:18:06 -05:00
derekpierre a0efda573c Update sampling tests to test exclusion logic. 2023-11-17 12:18:06 -05:00
derekpierre c9769f617d Update TACoApplicationAgent tests. 2023-11-17 12:18:06 -05:00
derekpierre b3911b47f3 Add sampling and other tests for updated TACoChildApplicationAgent functionality. 2023-11-17 12:18:06 -05:00
derekpierre 56b7fbc43d Update ape config to use oz 5.0.0 and solidity compiler 0.8.22 - same as `nucypher-contracts`.
Don't use ProxyAdmin for acceptance tests anymore since oz 5.0.0 has it built into TransparentUpgradeableProxy.
Don't seprate implementation and proxy contracts for test fixtures - use one and only return proxy.
2023-10-30 20:25:47 +01:00
derekpierre eafe4b65a9 Rename provider_uri parameter for ContractAgents.get_agent to blockchain_endpoint. 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 f9d6c5cd2a Remove _proxy_name and _forward_address properties from EthereumContractAgent since custom Dispatcher proxy functionality is no longer supported when obtaining contract from registry. 2023-09-22 08:24:38 -04:00
derekpierre 869ef1fbda Remove EconomicsFactory/Economics. 2023-09-21 12:31:21 -04:00
derekpierre ea9b350093 Clean up tests. Ensure TACo child matches taco root. 2023-09-21 09:51:17 -04:00
derekpierre 6f08f937de Update tests for TACoChildApplicationAgent.staking_provider_info call for non-existent staking provider. 2023-09-21 09:51:16 -04:00
derekpierre 86131ccdc1 Clean up types file. PolicyInfo is no longer used from there, and StakingProviderInfo should be localized to TACoApplicationAgent which is the only user of it. 2023-09-21 09:51:16 -04:00
derekpierre 215eee3c3d Remove use of economics on TACoApplicationAgent acceptance tests. 2023-09-21 09:51:16 -04:00
derekpierre 349348c90e Tests for TACoChildApplicationAgent. 2023-09-21 09:51:16 -04:00
derekpierre 7dc8aa3aad Fix acceptance/agents tests based on latest fixtures and contracts. 2023-09-14 16:26:05 -04:00
derekpierre e943ca7b8f Rename PREApplicationAgent to TACoApplicationAgent; also rename associated variables/comments etc. 2023-09-08 09:27:04 -04:00
derekpierre 5aba218dff Add getRitualInitiationCost to CoordinatorAgent and update acceptance tests accordingly; this way we don't care about fee values. 2023-09-07 19:22:02 -04:00
Kieran Prasch 0c69c142b6 handle fees, authority, and access controller in several tests 2023-09-07 18:35:00 -04:00
Kieran Prasch 92278352f3 setStakes -> authorizationIncreased 2023-09-07 18:35:00 -04:00
derekpierre 4534a5a292 Modifications to make some coordinator agent acceptance tests pass. 2023-09-07 18:35:00 -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
derekpierre c2edb1ceb1 Update code to use newly named Session key objects in `nucypher-core`.
Modify ape-config to use `nucypher-contracts:main` now that associated PR was merged.
2023-06-07 08:07:18 -04:00
derekpierre d3bab657f3 Make updates based on latest Coordinator contract changes. 2023-06-07 08:07:18 -04:00
derekpierre 71604f251f Use new request keys in `nucypher-core` that use curve 25519 instead of Umbral for decryption request/response encryption.
E2EThresholdDecryptionRequest object is no longer needed as an intermediary since a DH shared secret key is created/used.
2023-06-07 08:07:18 -04: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 787d7d3e56 Update code to handle E2EE changes to Coordinator contract, and use ThresholdRequestDecryptingPower to perform E2EE decryption requests. 2023-05-23 14:59:42 -04:00
derekpierre de926000b4 Update code to handle DkgPublicKey now being 48 bytes. 2023-05-06 13:15:48 -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
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 78b18863d4 removes nightly pytest markers 2023-05-04 10:15:17 -07:00