Commit Graph

31 Commits (lynx)

Author SHA1 Message Date
derekpierre 1d5e9061b6
Set balance for each test account - some tests use this specific value. 2024-09-12 15:53:43 -04:00
derekpierre 729e752a2d
Remove import remapping since no longer needed for ape 0.8.x 2024-09-12 15:53:42 -04:00
derekpierre 8d0dabb76a
Update import remapping for newer version of ape. 2024-04-10 13:16:24 -04:00
derekpierre fb56c52fbb
Override solidity configuration for dependency. 2024-03-25 17:02:14 -04:00
KPrasch 2a4d99cb1f Update tests/acceptance/ape-config.yaml 2024-02-13 10:53:03 -05:00
KPrasch 8cd51eebf5 temp. use a fork to contract dependencies. 2024-02-13 10:53:03 -05:00
derekpierre f33e5075ba Update solidity version used for acceptance tests (matches version in `nucypher-contracts`). 2023-11-28 13:42:45 +01:00
Derek Pierre 8a077bd971 Update ape-config.yaml to use `nucypher-contracts`/`main`.
Co-authored-by: David Núñez <david@nucypher.com>
2023-11-17 12:20:36 -05:00
derekpierre 93411489a8 Use David's nucypher-contracts branch for updated contract functionality. 2023-11-17 12:20:36 -05: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 28af27952b Reset nucypher-contracts depdendency to be main repos and not fork. 2023-09-26 19:48:47 -04:00
derekpierre 63b69d539d Use `nucypher-contracts` branch to test changes for potential lynx deployment. 2023-09-25 12:13:13 -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
Kieran Prasch 5d5261a5a7 Acceptance tests target nucypher/nucypher-contracts@main 2023-09-15 16:20:48 +02:00
derekpierre b8b8fc0c38 Remove special logic for using ape config for deployments, and instead use ape pytest fixtures for contract deployment/management. 2023-09-14 16:26:05 -04:00
derekpierre cf00cdd05b Update version of openzeppelin contracts dependency. 2023-09-14 16:26:05 -04:00
derekpierre 209fee38fc Modify nucypher-contracts dependency being used for alpha-13 support to point to alpha-13 EPIC. 2023-09-14 16:26:05 -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 9aa1e31424 Substitute address index for actual deployer test account at index 0 based on test mnemonic. 2023-09-07 18:43:29 -04:00
Kieran Prasch c7b19902ca use RitualToken for ritual init 2023-09-07 18:35:00 -04:00
derekpierre f0908d580b Fix parameters to Coordinator contract in ape configuration file. 2023-09-07 18:35:00 -04:00
derekpierre 1cd23c2c9c Modify nucypher-contracts repos being used so that concurrent changes can be made while testing. 2023-09-07 18:35:00 -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
derekpierre ccbabde014 Use specific test account since we derive test accounts from a mnemonic - index of `0` is always the same account, so just use it. 2023-09-05 13:36:35 -04:00
derekpierre 871f09b203 Update dependencies now that required changes from other repos are merged/released. 2023-05-23 15:13:54 -04:00
derekpierre 303efa2185 Relock dependencies so that proper ape-solidity can be used and acceptance tests can run. 2023-05-23 14:59:42 -04:00
derekpierre 787d7d3e56 Update code to handle E2EE changes to Coordinator contract, and use ThresholdRequestDecryptingPower to perform E2EE decryption requests. 2023-05-23 14:59:42 -04:00
derekpierre eda1fc1a50 Initial changes to conform to latest changes to Coordinator contract in nucypher-contracts. 2023-05-04 17:34:27 -04:00
Kieran Prasch ec48a96532 Improves testerchain deploy configuraion YML support. 2023-05-04 10:15:17 -07:00
Kieran Prasch a6d5335449 Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace. 2023-05-02 10:23:24 -07:00