Kieran Prasch
ae9f4b40fa
Use a constant for the temporary domain
2023-10-31 14:30:15 +01:00
derekpierre
2a0bd02203
Move TESTERCHAIN chain information out of domains and into testing constants.
2023-10-05 08:27:44 -04: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
6d85c3e3bb
Move known test enrico private key to tests constants file.
2023-09-28 09:35:17 -04:00
derekpierre
cbfb8a7e35
Use common testing constant for minimum operator seconds.
2023-09-21 20:11:54 -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
75be004564
Update acceptance tests contract deployment / fixtures; StakeInfo is no longer a contract.
2023-09-14 16:26:05 -04:00
derekpierre
526fb779fa
Move APE_TEST_CHAIN_ID to tests constants file.
2023-09-07 19:35:34 -04:00
Kieran Prasch
2342f7f1ef
initial steps to establish on-chain ritual access control via GlobalAllowList in tests
2023-09-07 18:34:58 -04:00
Manuel Montenegro
fe75f75998
Update tests to new TACo nucypher contracts
...
This commit is aimed to update test to the following changes on
nucypher-contracts repo:
- Update SimplePREApplication with TACoApplication
- Replace ThresholdStakingForPREApplicationMock contract with
ThresholdStakingForTACoApplicationMock
- Use the new Coordinator contract
- Add the deployment of StakeInfo contract
The use of these new contracts made necessary the following changes:
- Add the deployment of a new Token for ritual fees: RitualToken. This
contract has been added as local deployment.
- Add the deployment of local contract ConditionNFT
Additionally, this commit updates the key character for arguments in
ape-config.yaml. From '::variable::' to <variable>, which results in a
more legible code.
Finally, this commit solves some linting and formatting issues.
Co-authored-by: LunarBytes <kieran@nucypher.com>
2023-09-07 18:32:58 -04:00
Kieran Prasch
1dd541725f
another step in the direction of formalized internal multichain routing
2023-06-26 20:42:51 +02: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
782f65691e
Use FAKE_TRANSCRIPT constant for unit tests.
2023-05-04 17:35:52 -04:00
Kieran Prasch
21fa6edc7b
new ape testing utils module
2023-05-02 10:23:24 -07:00
Kieran Prasch
ff3f414331
Sort fixtures that compile to localized acceptance/unit conftest respectively; Faster unit test suite.
2022-11-17 15:22:55 +00:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
James Campbell
417c8b0fd4
Fix mocking of tester chain
2022-11-14 14:32:13 +00:00
James Campbell
65fede079c
Ensure tests use valid condition chain id
2022-11-14 14:31:54 +00:00
Kieran Prasch
d2dcdb9230
Introduce dynamic multi-chain support; enforce condition chain ID as an int.
2022-11-07 12:51:31 +00:00
Kieran Prasch
9ae4d5c966
to/from wei method updates for web3 v6+ support
2022-10-18 20:10:37 +02:00
James Campbell
49441ec104
Fix acceptance tests for payment provider uri
2022-05-06 17:35:29 +03: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
b193465f98
adjust tests
2022-02-08 11:03:50 -08:00
Damon Ciarelli
c1f66c0ef6
ursula pre_application_agent working; contract interactions required to run ursula.
2022-02-08 11:01:24 -08:00
Bogdan Opanchuk
6164137610
Rename m -> threshold, num_kfrags -> shares
2021-08-20 19:26:56 -04:00
Kieran R. Prasch
4f7bdf5c46
tests respect the Keystore API
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
6aef077172
bulk renaming of Keyring -> Keystore
2021-06-28 14:33:31 -07:00
Kieran Prasch
7e07bd267e
Handle injected transacting power in tests.
2021-02-26 13:38:37 -08:00
Bogdan Opanchuk
2e0efe451e
Use in-memory mock LMDB environment for most tests
2021-01-02 17:19:13 -08:00
Kieran R. Prasch
65a41e7f33
Remove imported 'tests' reference from packaged constants.
2020-12-03 19:53:29 -08:00
Kieran Prasch
673223cf43
Ignore solc compile and economics from autodoc.
2020-12-03 16:48:31 +03:00
Kieran R. Prasch
7b0896f121
hypothesis validation for devdoc regex. Finish test split.
2020-12-03 16:48:29 +03:00
vzotova
719b35889e
Stake command to control snapshots flag
2020-09-10 17:56:30 +03:00
tuxxy
846625d917
Replace as much old datastore logic as possible
2020-08-10 15:37:30 +02:00
Bogdan Opanchuk
8b9d559113
Separate YES/NO (w/o linebreak) and YES_ENTER/NO_ENTER (with linebreak) in test constants
2020-05-28 14:42:02 -07:00
Kieran Prasch
bb32d210a3
Update test contract compilation path
2020-05-27 14:11:25 -07:00
Kieran Prasch
44de13d149
Cleanup and parameterize fixtures for FT coverage; Introduces test configuration factory functions for pyetst fixtures.
2020-05-20 21:41:44 -07:00
Kieran Prasch
f583567222
100% coverage on interactive eth account selection
2020-05-20 21:38:29 -07:00
Kieran R. Prasch
8bb790d91a
Relocate keystore constants to test.constants
2020-05-20 21:28:59 -07:00
derekpierre
c1d93d8941
Add "end-of-file-fixer" to pre-commit hooks
2020-05-19 14:28:29 -04:00
Kieran Prasch
ecb773291a
Post rebase cleanup ( #1959 )
2020-05-15 09:05:09 -07:00
Kieran Prasch
f263e4c2a0
Promote and clear constants modules;
...
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
2020-05-15 08:36:11 -07:00