derekpierre
|
6a09fdfc3a
|
Modify transacting power tests to use setProviderPublicKey() instead of confirmOperatorAddress().
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
3f1f40f2c8
|
Fix use of various fixtures and contracts for test.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
958c222679
|
Ensure that SubscriptionManager is one of the deployed contracts for acceptance tests.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
8bb1faf5eb
|
Update ursula operator acceptance tests to accomodate shift to set_provider_public_key() from confirm_operator_address().
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
acb89db902
|
Update dkg ritual acceptance test to use updated fixtures and contracts.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
681e3b1061
|
Add get_ritual_initiation_cost to MockCoordinatorAgent - although not needed for integration tests.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
59da3dffcf
|
Remove unused method from ape utils.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
7dc8aa3aad
|
Fix acceptance/agents tests based on latest fixtures and contracts.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
f5ca66b317
|
Only use proxy contracts for root/child applications (instead of actual contracts) as part of acceptance tests contract deployments
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
d86ad57351
|
Initialize taco_child_application fixture with coordinator contract address.
|
2023-09-14 16:26:05 -04:00 |
derekpierre
|
9fae50b916
|
Ensure that staking_providers fixture can be correctly configured.
TACoApplicationChild should reference root application via proxy contract.
|
2023-09-14 16:26:05 -04: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
|
0d587f0295
|
Remove over-aggressive rename of `stake_info`.
|
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 |
Derek Pierre
|
84d8344236
|
Merge pull request #3213 from KPrasch/alpha-12
Coordinator Alpha 12 Support
|
2023-09-14 16:23:58 -04:00 |
derekpierre
|
894dc5ac81
|
Apply suggestions from review for #3213.
|
2023-09-14 09:22:41 -04:00 |
derekpierre
|
c8333a2854
|
noop
|
2023-09-12 13:06:44 -04:00 |
Kieran Prasch
|
4fc0176a96
|
handle integration and unit mocking of ad-hoc ursula account bonding.
|
2023-09-12 18:28:52 +02:00 |
Kieran Prasch
|
570e3574b3
|
utility mock for is_provider_public_key_set
|
2023-09-12 18:03:03 +02:00 |
Kieran Prasch
|
d270675296
|
Ursula on publishes ferveo public key on-chain when none is present to save gas.
|
2023-09-12 17:53:02 +02:00 |
derekpierre
|
382029d055
|
Add Enrico authorization testing to test_dkg_ritual acceptance test.
|
2023-09-12 10:12:25 -04:00 |
derekpierre
|
ba002cc4e7
|
Use isEncryptionAuthorized() function on Coordinator agent itself via Coordinator agent, instead of trying to call access controller for ritual directly.
Pass ciphertext_header to is_encryption_authorized() function and not the hash of it.
|
2023-09-12 10:11:37 -04:00 |
derekpierre
|
10c7d6a6fa
|
Remove unused signing power from Enrico, and ensure that bytes are used for authorization.
|
2023-09-12 10:11:37 -04:00 |
derekpierre
|
df3a688122
|
Update NotEnoughUrsulas failure message to be clearer - it could be misinterpreted as an Ursula availability issue rather than a functional.
|
2023-09-12 10:00:30 -04:00 |
Kieran Prasch
|
9c78d599f7
|
Coordinator agent handles access controller call forwarding for on-chain authorizations
|
2023-09-12 12:43:57 +02:00 |
Kieran Prasch
|
b362b4fc79
|
cleanup imports
|
2023-09-12 12:43:00 +02:00 |
Kieran Prasch
|
72a09b7e7c
|
Establishes a home location for local interface ABIs, non-network specific for now.
|
2023-09-12 12:42:37 +02:00 |
Kieran Prasch
|
eb56131888
|
remove unused ape config
|
2023-09-11 19:06:24 +02:00 |
Kieran Prasch
|
783f2dcd76
|
Enrico uses a web3 wallet to encrypt-then-sign.
|
2023-09-11 19:06:24 +02:00 |
derekpierre
|
243448d015
|
Bob no longer needs ritual id as a parameter for decrypting the threshold message kit since the Coordinator contract can be used for obtaining the ritual id from the dkg public key which is already stored in the threshold message kit.
|
2023-09-11 11:50:54 -04:00 |
derekpierre
|
e943ca7b8f
|
Rename PREApplicationAgent to TACoApplicationAgent; also rename associated variables/comments etc.
|
2023-09-08 09:27:04 -04:00 |
derekpierre
|
4b8f6d95f2
|
Cleanup testing blockchain utilities imports.
|
2023-09-07 20:58:17 -04:00 |
derekpierre
|
f925bc423e
|
Vladimir needs ETH to set provider public key for tests.
Cleanup Vladimir code to not depend on test.contants.
|
2023-09-07 20:57:18 -04:00 |
derekpierre
|
22dee9b3b8
|
Ensure ConditionNFT contract is actually deployed for acceptance/conditions tests.
|
2023-09-07 20:05:16 -04:00 |
derekpierre
|
c035e2c3b8
|
Fix agent updated call to minimumAuthorization.
|
2023-09-07 19:56:07 -04:00 |
derekpierre
|
526fb779fa
|
Move APE_TEST_CHAIN_ID to tests constants file.
|
2023-09-07 19:35:34 -04:00 |
derekpierre
|
5aba218dff
|
Add getRitualInitiationCost to CoordinatorAgent and update acceptance tests accordingly; this way we don't care about fee values.
|
2023-09-07 19:22:02 -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 |
derekpierre
|
3a98c38b6a
|
Add required arguments for tests using MockCoordinator given the new values stored by the Ritual struct.
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
0c69c142b6
|
handle fees, authority, and access controller in several tests
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
92278352f3
|
setStakes -> authorizationIncreased
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
56486f74df
|
assorted 'initiator' -> 'authority'
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
c005ee86ac
|
deployer account fixture
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
83f0594675
|
update the Ritual stuct to sync with Corrdinator alpha 12
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
f67822b7aa
|
commentary about checking for on-chain ferveo keys on node launch.
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
949558af29
|
g2 point varible style fix
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
c7b19902ca
|
use RitualToken for ritual init
|
2023-09-07 18:35:00 -04:00 |
Kieran Prasch
|
1fa4641c92
|
initiator -> authority for round 1
|
2023-09-07 18:35:00 -04:00 |