Kieran Prasch
4f5a220ea4
fix missing imports
2023-05-04 13:35:40 -07:00
Kieran Prasch
ec48a96532
Improves testerchain deploy configuraion YML support.
2023-05-04 10:15:17 -07:00
Kieran Prasch
c85f1f2f59
assorted bugfixes related to fixtures and testerchain arising from the migration to ape.
2023-05-02 10:23:24 -07:00
Kieran Prasch
93e45bc612
get ape contract ABIs from an in-memory vs. on-disk source.
2023-05-02 10:23:24 -07:00
derekpierre
d42b445d63
Fix use of ape project fixture.
2023-05-02 10:23:24 -07:00
Kieran Prasch
21fa6edc7b
new ape testing utils module
2023-05-02 10:23:24 -07:00
derekpierre
67a7bb7da6
Code testing cleanup.
2023-05-02 10:23:24 -07:00
derekpierre
c157c8ccf7
Fix some tests; ERC721 contract needs to be deployed on APE, and MockContractAgency import is now inlined.
2023-05-02 10:23:24 -07:00
Kieran Prasch
a19c50ec69
ape checkpoint 1
2023-05-02 10:23:24 -07:00
Kieran Prasch
c654e45367
updates for web3.py 6+
2023-05-02 10:23:24 -07:00
Kieran Prasch
33bcea650d
DKG encryption functionality for Enrico
2023-05-02 10:23:00 -07:00
derekpierre
39b808a52d
Re-add test `test_invalid_operators_tolerance` to get test mostly running. Unclear how to fix the code at the end of the test - so commented for now.
...
Remove unused testing utils method.
2022-12-22 15:23:33 -05:00
derekpierre
9b0f645be7
Remove tests for deployment of deprecated contracts.
...
Code cleanup of docstrings and comments.
2022-12-22 15:07:52 -05:00
derekpierre
889cc58a88
Remove code/tests that still reference the legacy notion of periods.
2022-12-22 15:05:50 -05:00
Kieran Prasch
a66adf3737
Removes unused test utility
2022-12-13 11:42:00 +00:00
jMyles
ff2b98c30c
The 'big_testerchain' concept didn't work out; cleaning it up. Leaving it in the history for research purposes.
2022-12-07 11:29:26 +00:00
jMyles
97b19ea3e4
Fake addresses for fake Ursulas. Good enough for these highperf tests.
2022-12-07 11:29:26 +00:00
Kieran Prasch
ed53696cf4
unskip IP detection CLI tests with required mocks
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
baac3db5fa
Attempt to prevent network port reuse in tests
2022-11-24 10:00:16 -05:00
derekpierre
d5e18dc56e
Move common test function to utility module.
2022-11-21 12:53:25 -05:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Kieran Prasch
4e2bede69d
Promote tests/mock and tests/utils to imporatable packages
2022-10-31 20:16:35 +00:00
Kieran Prasch
4a4e8dd594
Finishes removal of control package, it's usages and test utils
2022-10-27 22:22:46 +01:00
Kieran Prasch
d1269d1507
atomically extricate porter to nucypher/nucypher-porter
2022-10-27 17:26:32 +01:00
Kieran Prasch
febc6093c1
Removes lmdb datastore usage
2022-10-27 10:12:17 +01:00
Kieran Prasch
17d3888c4d
Remove unused specifications, consolidate the remaining ones for use by porter alone.
2022-10-26 13:55:38 +01:00
Kieran Prasch
9ae4d5c966
to/from wei method updates for web3 v6+ support
2022-10-18 20:10:37 +02:00
derekpierre
ed6227ad09
Code cleanup and additional tests..
2022-10-18 20:09:25 +02:00
derekpierre
d77fac4d39
Allow context to be specified as JSON and not base64 JSON.
...
Remove retrieve tests that utilize url parameters since it is a POST endpoint.
2022-10-18 20:09:25 +02:00
derekpierre
40e2c5c0ea
Initial work to have Porter provide 'context' for condition-based re-encryption when applicable.
2022-10-18 20:09:25 +02:00
Kieran Prasch
e450179e23
Use none as the 'free' gas post-london
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
d9f67f30ce
Install nucypher core shims for conditions
2022-10-18 20:07:57 +02:00
Kieran Prasch
320e5bc4b3
test adjustments for london fork
2022-04-04 22:01:32 -07: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 R. Prasch
99ac4693c2
Handle remote certificate mocks and storage in middleware.
2022-03-22 15:54:36 -07:00
Kieran Prasch
73b238a587
Removes staking entities
2022-02-21 17:17:11 -08:00
vzotova
856abe4892
Renames `provider_uri` to `eth_provider_uri`
2022-02-18 11:27:15 +03:00
Kieran Prasch
419e649ec7
Respond to RFCs for PR #2857
2022-02-08 11:04:34 -08:00
vzotova
e6b5bda56d
Fix time travel
2022-02-08 11:04:27 -08:00
Kieran Prasch
b193465f98
adjust tests
2022-02-08 11:03:50 -08:00
Kieran Prasch
1c34045a81
Prepares economics and deployment constants for use with threshold network.
2022-02-08 11:02:17 -08:00
Kieran Prasch
bbc509910d
Adjust tests to accommodate swapable payment methods.
2022-02-08 11:01:24 -08:00
Bogdan Opanchuk
a276cfec25
Disband umbral_adapter
2022-01-08 15:29:22 -08:00
Bogdan Opanchuk
8cb8f16370
Clean up Python parts moved to Rust
...
And some unused imports
2022-01-08 15:29:22 -08:00