Commit Graph

251 Commits (4ed74fc0f273dfbd68afbad01be1e2de6e883cd2)

Author SHA1 Message Date
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 eafe4b65a9 Rename provider_uri parameter for ContractAgents.get_agent to blockchain_endpoint. 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 33068070fc Rename pre_payment_provider to polygon_endpoint as it pertains to Characters/Configurations/CLI parameters. 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 e8cea675ea Mark test to implicitly use fixture via usefixtures(...) macro. 2023-09-21 09:51:16 -04:00
derekpierre 5cf5f2426c Use existing ursula operator address so that funding/bonding does not need to be mocked. 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 f58d7675a3 Fix usage of ape fixtures in acceptance cli tests. 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
Kieran Prasch 92278352f3 setStakes -> authorizationIncreased 2023-09-07 18:35:00 -04:00
Kieran Prasch 7fc2112b45 apply black code formatting to lawful.py and conditions/conftest.py 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
Kieran Prasch 10c0ccd603 removes 'nucypher bond' CLI command. 2023-06-16 11:37:00 +02:00
derekpierre 1268fe498d Skip test for now to get CI passing. 2023-06-15 08:54:31 -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 4a9c59a055 bugfixes: pertaining to tdec request/response cycle 2023-05-02 10:23:24 -07:00
Kieran Prasch ed53696cf4 unskip IP detection CLI tests with required mocks 2022-12-07 11:29:26 +00:00
Kieran Prasch e7417e8a7f Repond to RFCs in PR #3030 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 37ddd90830 Use thread-safe set for caching active ports.
Stop the use of MOCK_URSULA_START_PORT constant which may cause inadvertent port reuse.
Adjust rules for selecting ports to ensure early short circuit for invalid ports.
2022-11-24 10:51:01 -05:00
Kieran Prasch 6ca73c2849 remove lisence header from tests 2022-11-16 13:27:47 +00:00
Kieran Prasch d1269d1507 atomically extricate porter to nucypher/nucypher-porter 2022-10-27 17:26:32 +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
Kieran Prasch 52af298af4 Removes enrico CLI command 2022-10-25 17:35:25 +01:00
Kieran Prasch ccbb66497a Additional deprecation of alice/bob CLI commands. Consolidates ursula CLI config tests. 2022-10-25 16:19:21 +01:00
Kieran Prasch 8f015aa690 Accomodate deprecation of Alice, Bob, and Card CLI in internal APIs and tests. 2022-10-21 10:27:54 +01:00
Kieran Prasch ec07eee6d2 Removes Alice, Bob, and Card CLI 2022-10-18 20:22:25 +02:00
Kieran Prasch 31fb711297 post-rebase import fix 2022-10-18 20:17:42 +02:00
Kieran Prasch 9ae4d5c966 to/from wei method updates for web3 v6+ support 2022-10-18 20:10:37 +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 d9f67f30ce Install nucypher core shims for conditions 2022-10-18 20:07:57 +02:00
derekpierre e293eb1fae Fix failing test. 2022-07-04 11:24:26 -04:00
derekpierre 35e651a7a5 Fix failing Porter tests. 2022-06-27 16:48:14 -04:00
James Campbell 49441ec104 Fix acceptance tests for payment provider uri 2022-05-06 17:35:29 +03:00
derekpierre 4a9c7c0385 Allow prometheus parameter but show error message about current lack of support. It will be allowed once functionality is revamped.
Modify prometheus associated acceptance test.
2022-04-28 09:19:00 -04:00
Kieran Prasch 18d24d1fe2 Responds to RFCs for PR #2873 2022-03-24 13:18:53 -07: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
Kieran Prasch c809b69f9a Restoration of StakingEscrowDeployer and select tests; cleanup. 2022-02-21 17:23:26 -08:00
Kieran Prasch 73b238a587 Removes staking entities 2022-02-21 17:17:11 -08:00
Kieran Prasch d2852c9e71 Removes discrete staker modules 2022-02-21 17:08:05 -08:00
vzotova 236f32b438 Apply suggestions from code review #2871
Co-authored-by: derekpierre <derek.pierre@gmail.com>
2022-02-18 19:18:33 +03:00