Commit Graph

84 Commits (03f9b9f07f122d483881b6caba64db9adc578efa)

Author SHA1 Message Date
David Núñez 9613aeb6a2 Improve collection of allocation receipts 2019-11-07 23:21:36 +01:00
David Núñez c157a51312 RFCs to PR #1402 (vol 2) 2019-10-20 00:29:45 +02:00
szotov dd0be915c4 Rename UserEscrow in python 2019-10-19 22:48:47 +02:00
Kieran Prasch 0a713c1e51
Bare deployment and Retargeting tests for deployer and CLI 2019-09-30 09:04:09 -07:00
Kieran Prasch 2567bdd3ec
Deployer tooling for accessing untarget, but enrolled contracts by version index. 2019-09-30 09:04:09 -07:00
Kieran Prasch 859e572587
Creates a 'bare' deployment workflow for deployment; Only engage deploy_essential, optionally. 2019-09-30 09:04:09 -07:00
Kieran Prasch 6bdf968a61
Describe ownablity on deployer classes. 2019-09-16 18:09:18 -07:00
Kieran Prasch c2de8d5a57
Re-encapsulate and dehydrate upgradeable and ownable logic in deployers. 2019-09-16 09:45:41 -07:00
Kieran R. Prasch 07c8d58057 Restores UserEscrow Deployer Testing; Clarify test naming for user escrow ( to be preallocation escrow ). 2019-09-09 18:41:42 -07:00
Kieran R. Prasch fa3285a310
Use session-based deployment secrets for testing upgrades; Adjustments for ownership CLI tests. 2019-09-09 14:51:11 -07:00
Kieran R. Prasch ec5fab3b4f
UserEscrowProxy is now part of agency. Divergence amendments for status testing. 2019-09-09 14:50:46 -07:00
Kieran R. Prasch 6bdfc6c331 Re-implements some ursula mocking via pytest-mock spy. 2019-09-06 11:59:01 +02:00
szotov e9d2b1f3c7 Combine TokenEconomics and SlashingEconomics 2019-09-04 13:24:02 +03:00
szotov 44717dcca6 Split TokenEconomics into two classes 2019-09-04 13:24:01 +03:00
szotov 3ccc18082d Apply suggestions from code review 2019-09-04 13:24:01 +03:00
David Núñez f1b5ed4861 Additional functions in TokenEconomics for checking token supply 2019-09-04 13:24:00 +03:00
Kieran R. Prasch 64d40a7f80 Whoops! Restores 'address' and respectively 2019-08-27 09:56:41 -07:00
Kieran Prasch 58f34dac7b Checkpoint #4 - Fixes policy sampling bugs - continue reflow fixes. 2019-08-27 09:56:41 -07:00
Kieran Prasch 2a299aaca1 Checkpoint #3 - Reflow StakeHolder, Stake and Wallet Management. 2019-08-27 09:56:36 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Kieran Prasch 69aea3f725 Checkpoint: Refactors lifecycle of Blockchain and Registry. 2019-08-27 09:54:13 -07:00
David Núñez 965a473bb5 Make sure bare contracts are updated in deployers' upgrade tests 2019-08-04 02:41:04 +02:00
David Núñez 586f7edb89 Deployers now hold explicit list of deployment steps 2019-08-04 02:41:04 +02:00
David Núñez d82afa6d25 Minor touchups 2019-08-04 02:40:58 +02:00
derekpierre 3424ff6dc9 Update deployer class property to be more descriptive - "number_of_deployment_transactions" 2019-07-29 14:53:27 -04:00
derekpierre f4327e821e Added the ability for per-deployment step progress updates since these steps can take a long time.
It is worth noting that only progress is updated for individual steps - the printing of the receipt confirmation to the console is not done until all receipts (from the inidividual step) are received by the deployer.
Added unit tests for progress updates.
2019-07-29 14:53:27 -04:00
Kieran Prasch 1b3e3e45e5
Respond to RFCs in PR #1111: Remove deployment transaction gas limit. 2019-07-25 15:18:29 -07:00
David Núñez 22166d0242
Fix bug in UserEscrowDeployer tests 2019-07-25 15:18:29 -07:00
David Núñez e5d91632b2
Adapt deployers and tests to handle receipts, not tx_hashes 2019-07-25 15:18:29 -07:00
David Núñez c156437bbe
First draft of Investigator test 2019-07-25 15:18:29 -07:00
David Núñez 9899148b17
Get on-chain staking parameters with StakingEscrowAgent 2019-07-25 15:18:29 -07:00
David Núñez 718a5244dc
PolicyAgent --> PolicyManagerAgent 2019-07-25 15:18:29 -07:00
David Núñez 1a90164a7b
Improve PolicyManagerDeployer tests. Adds upgrade & rollback 2019-07-25 15:18:29 -07:00
David Núñez 7030937629
Extract common fixtures for deployers tests 2019-07-25 15:18:29 -07:00
David Núñez 77b311ff40
Revamp of StakingEscrowDeployer tests. Add upgrade & rollback tests 2019-07-25 15:18:29 -07:00
David Núñez 1e431741e3
Reusable, session-scoped testerchain PoC: Deployers test time down 37% 2019-07-25 15:18:29 -07:00
David Núñez 2b8ec61556
Restore initial design of UserEscrowProxy.deploy() 2019-07-25 15:18:29 -07:00
David Núñez 434bb7072a
Fix error in test_user_escrow_deployer (see #1106) 2019-07-25 15:18:29 -07:00
David Núñez f4325520dd
Fixtures can't use @pytest.mark.usefixtures
See warning in https://docs.pytest.org/en/latest/fixture.html#using-fixtures-from-classes-modules-or-projects
2019-07-25 15:18:29 -07:00
Kieran Prasch 2e70aebd01
Bug Fix: Functional inflation reward collection; Refactors internal stakeholder stake tracking 2019-07-25 15:18:29 -07:00
Kieran Prasch b83f8f9595
Move deployment secrets named tuple to Deployer and implement it. 2019-07-25 15:18:29 -07:00
David Núñez 9d0089102e Some improvements to PolicyManager and StakingEscrow deployer tests. See #1102 2019-07-04 11:23:51 +02:00
David Núñez f77c46bbe4 Basic tests of AdjudicatorDeployer and slashing with AdjudicatorAgent. 2019-07-04 11:23:51 +02:00
Kieran Prasch 19d30b355c Adapting Felix to consume BlockchainPower at init-time. 2019-07-04 11:23:50 +02:00
Kieran Prasch 2ccc46b86a Refactor contract registry CLI integration testing to implement condensed Blockchain API. 2019-07-04 11:23:50 +02:00
Damon C aebac62dd8 remove most other direct blockchain.w3 references 2019-07-04 11:23:50 +02:00
Kieran Prasch 898925c8ad Integrating more tests with condensed blockchain interface, straggler Mock BlockchainPower. 2019-07-04 11:23:50 +02:00
Kieran Prasch 08fe94fea7 Moving (mocked) BlockchainPower usage in the direction of TransactingPower; Touch-ups. 2019-07-04 11:23:50 +02:00
Kieran Prasch 1a2dabd095 Use Condensed Blockchain API in tests. credit to @vepkenez. 2019-07-04 11:23:50 +02:00
David Núñez 9638dc86bf Fix name of StakingEscrowAgent. It was StakingEscrow 2019-07-04 11:22:38 +02:00