derekpierre
dcd870d49e
Adjust tests to use ConditionProviderManager instead of the raw dictionary of providers.
...
Also adjust mocking since RPCCall no longer does the configuration of w3 instances; instead the ConditionProviderManager does it.
2025-02-05 13:11:29 -05:00
derekpierre
470f95f9ce
Remove use of NuCypherToken contract and corresponding use of NuCypherTokenAgent from tests since NuCypherToken contract was removed from `nucypher-contracts` repos.
2025-02-05 12:00:12 -05:00
James Campbell
d2a4536612
Remove condition chain validation from Operator and update test infrastructure
2024-12-10 11:47:58 +01:00
derekpierre
9fa873630c
Move more execution logic into RPCCall/ContractCall objects.
2024-09-18 11:41:53 -04:00
derekpierre
b8e0fac04e
Update contract deployments based on updated fee model architecture in nucypher-contracts.
2024-09-12 15:53:00 -04:00
derekpierre
1af1c5f841
Use ONE_DAY constant for other constants for simplicity.
2024-09-12 15:53:00 -04:00
derekpierre
daaaf0e831
Make adjudicator fixture a fake contract for now.
2024-05-13 15:06:02 -04:00
derekpierre
f39ba2bad3
Fix linter errors.
2024-05-13 14:43:35 -04:00
derekpierre
2409ef0e43
Add penaltyIncrement parameter to deployment/instantiation of TACoApplication contract for acceptance tests.
2024-05-13 14:43:34 -04:00
Kieran
05877e2084
compatibility changes for nucypher/nucypher-contracts #254
2024-05-13 14:43:27 -04:00
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
7654fb9005
Update common fixtures/mocks to use account manager for referencing accounts instead of testerchain.
2024-04-29 10:34:15 -04:00
derekpierre
ec5e6fdced
Use deployer account to deploy contract, and not contract instance itself.
2024-03-25 13:43:22 -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
d48cf22d0d
Update test token used based on latest changes to `nucypher-contracts`.
2023-12-15 09:48:39 -05:00
David Núñez
f42488796d
Make linter happy
2023-11-28 12:44:44 +01:00
David Núñez
74260a7a11
Update tests/acceptance/conftest.py
2023-11-28 12:44:44 +01:00
derekpierre
ee1530149d
Specify commitment deadline when instantiating TACoApplication contract for tests.
...
Left some code to uncomment once associated PR in `nucypher-contracts` is merged.
2023-11-28 12:44:44 +01:00
derekpierre
ed5d32203e
Update deployment of Coordinator and GlobalAllowList for acceptance tests based on recent changes to `nucypher-contracts`.
2023-11-08 11:51:29 +01:00
Kieran Prasch
0c528eaa7a
Linting and Newsfrag for PR #3315
2023-10-31 14:30:15 +01:00
Kieran Prasch
ae9f4b40fa
Use a constant for the temporary domain
2023-10-31 14:30:15 +01:00
Kieran Prasch
b1afa231d5
use TACoDomain everywhere
2023-10-31 14:30:15 +01:00
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
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
8e5807c676
Update total supply value of test token to be 11B.
2023-10-30 20:25:47 +01:00
derekpierre
4ee0963666
Update deployment constructor parameters for TACoChildApplication to include minimum authorization.
2023-10-30 20:25:47 +01:00
derekpierre
2a0bd02203
Move TESTERCHAIN chain information out of domains and into testing constants.
2023-10-05 08:27:44 -04:00
derekpierre
dc547249ae
Reduce scope of fixture froms session to module, so that its effects can be overridden by test modules.
...
Added unit tests for get_domain_info.
2023-10-05 06:55:32 -04:00
derekpierre
d8b9180921
Update domains/TACoDomain structure.
...
Added magic methods.
2023-10-05 06:20:13 -04:00
derekpierre
a5b8b805da
The use of the `blockchain_` prefix for blockchain providers and interfaces is redundant; so remove the prefix from those usages.
2023-10-04 13:30:18 -04:00
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
aa6e53191f
Remove use of network when dealing with NetworksInventory class.
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
eafe4b65a9
Rename provider_uri parameter for ContractAgents.get_agent to blockchain_endpoint.
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
fa4051d504
Rename Eth/PolyNetwork to Eth/PolyChain to better reflect their usage.
2023-10-04 13:30:18 -04:00
derekpierre
f278b9d9f1
Acceptance tests mock modifications for network resolution.
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
f36f963d9c
Use TestnetThresholdStaking instead of ThresholdStakingForTACoApplicationMock as threshold staking contract for acceptance tests.
2023-09-25 12:13:56 -04:00
derekpierre
cbfb8a7e35
Use common testing constant for minimum operator seconds.
2023-09-21 20:11:54 -04:00
derekpierre
349348c90e
Tests for TACoChildApplicationAgent.
2023-09-21 09:51:16 -04:00
derekpierre
86c53fd7a9
Remove previously added code to work around newer ape version usage of chain id 1337 instead of the default eth-tester chain id (131277322940537).
...
The chain id can be properly configured in the ape configuration file, and no longer needs a workaround for acceptance tests.
2023-09-20 13:54:59 -04:00
derekpierre
f4e34f6593
Address RFCs in #3227 . Utilize pytest usefixtures for implicit/dependeny fixture parameters, comment cleanups.
2023-09-18 12:15:22 -04:00
Kieran Prasch
499f903976
Adapt tests and exmaples to merged Operator, without Ritualist.
2023-09-14 16:26:05 -04:00
derekpierre
f58d7675a3
Fix usage of ape fixtures in acceptance cli tests.
2023-09-14 16:26:05 -04:00
derekpierre
ab0ab5cbec
Properly manage ape dependencies for acceptance tests contract deployment.
2023-09-14 16:26:05 -04:00
derekpierre
958c222679
Ensure that SubscriptionManager is one of the deployed contracts for acceptance tests.
2023-09-14 16:26:05 -04:00