KPrasch
ccb1428557
Improves testing/mocking of ursula startup prevention due to ferveo key mismatch
2024-08-01 16:52:19 +07:00
KPrasch
270d6b9f40
extract ferveo key mismatch detection on startup to a method for improved mocking capability
2024-07-29 22:23:50 +07:00
derekpierre
d2c93f91cc
Update tests now that Web3Signer cannot be used for account management/signing.
2024-04-29 10:34:24 -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
KPrasch
4d06ad441d
linting
2024-02-13 10:53:03 -05:00
KPrasch
1fcf3c84a8
fully deprecates the node storage API
2024-02-13 10:53:03 -05:00
derekpierre
e86e2b7cc6
Make enabling prometheus optional.
...
Allow metrics-port to be specified via cli option.
2024-01-23 13:27:35 +01:00
Kieran Prasch
09bc914ce7
renames TEMPORARY_DOMAIN -> TEMPORARY_DOMAIN_NAME
2023-10-31 14:30:15 +01:00
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