Commit Graph

547 Commits (e124fe50e68a528acc102646da60d8660941bfd6)

Author SHA1 Message Date
David Núñez c157a51312 RFCs to PR #1402 (vol 2) 2019-10-20 00:29:45 +02:00
David Núñez 377eb0dcf9 Test IndividualAllocationRegistry. Fix some broken stuff. 2019-10-19 23:59:37 +02:00
szotov 0976b2bcbe Added prolongStake to PreallocationEscrow 2019-10-19 22:48:47 +02:00
szotov dd0be915c4 Rename UserEscrow in python 2019-10-19 22:48:47 +02:00
szotov 7d445203ea UserEscrow renaming in contracts 2019-10-19 22:48:47 +02:00
David Núñez 3515dad296 Fixes to assorted comments: docs, tests, etc. 2019-10-19 22:48:47 +02:00
David Núñez 78b0c579dd Staker now can deposit tokens on behalf of an allocation user 2019-10-19 22:48:47 +02:00
David Núñez 08c2f45865 @validate_checksum_address now checks all parameters ending with "_address".
Closes #1084
2019-10-19 22:48:47 +02:00
David Núñez 0e4e32c90f Allow UserEscrow.withdrawPolicyReward() to accept a recipient address, like PolicyManager 2019-10-19 22:48:46 +02:00
David Núñez 66efc2af9e Minor touches to UserEscrowAgent 2019-10-19 22:48:46 +02:00
David Núñez 137db286ee Touches to allocation tests 2019-10-19 22:48:46 +02:00
David Núñez 5a26441f44 Use @validate_checksum_address in UserEscrowProxyDeployer.assign_beneficiary() 2019-10-19 22:48:46 +02:00
Tux 37110bf8e0
Merge pull request #1384 from cygnusv/noche
Final touches to nightly build
2019-10-02 05:03:40 -06:00
David Núñez dac6e0cffb Statistical test: Raise number of samples to 1000. Expected runtime 5 min 2019-10-02 11:37:17 +02:00
David Núñez 38e71dd02b
Merge pull request #1372 from cygnusv/noche
Add @pytest.mark.nightly marker to specify nightly tests
2019-10-01 15:18:35 +02:00
David Núñez 87996ba35f New statistical_tests job for nightly CI builds. Test sampling there 2019-09-30 23:09:15 +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
szotov 770e75389d
Fix StakingEscrow state for upgrading 2019-09-30 09:04:09 -07:00
David Núñez 07af77d74d
Merge pull request #1318 from szotov/tests-optimization
Contracts tests time optimization
2019-09-25 15:27:45 +02:00
K Prasch 314ab277b1
Merge pull request #1339 from KPrasch/restake
Restaking Control
2019-09-19 11:46:48 -07:00
Kieran R. Prasch 6761fde377
Respond to RFCs in PR #1339: Remove duplicated restaking methods, Docs touchups; ContractAgency, restaing agency layer assertions. 2019-09-19 10:54:25 -07:00
Kieran Prasch 6af7813e6a
Restaking control via Staker Actor. 2019-09-16 20:59:28 -07:00
Kieran Prasch 5860075142
Restaking access by Agency. 2019-09-16 20:45:50 -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
szotov c0a4f976c6 Reset state in testerchain 2019-09-12 11:08:59 +03:00
David Núñez 76103e806c Skip test_sampling_distribution until we have a solution for snail tests
See #1288
2019-09-10 22:14:30 +02:00
David Núñez 7b8b31df22 Getting rid of old `session_agency` fixture. Use `agency` instead. 2019-09-10 22:14:29 +02:00
David Núñez 20de10ea6f Add round() to NU 2019-09-10 22:14:29 +02: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 5588600ada Factory for economics, fixed tests 2019-09-04 18:20:02 +03:00
szotov 14086d538a Fix after rebasing 2019-09-04 13:24:03 +03:00
szotov e9d2b1f3c7 Combine TokenEconomics and SlashingEconomics 2019-09-04 13:24:02 +03:00
szotov a36bf80dc8 Fix after rebasing 2019-09-04 13:24:02 +03:00
szotov f05454b855 Fix tests 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
szotov 15c9a7569b Fixes #642 2019-09-04 13:24:01 +03:00
szotov adc7b3f826 Test for economics in contract 2019-09-04 13:24:00 +03:00
David Núñez f1b5ed4861 Additional functions in TokenEconomics for checking token supply 2019-09-04 13:24:00 +03:00
damon c cae5247bfe
Merge pull request #1280 from cygnusv/sample
Touches to StakingEscrow.sample()
2019-09-03 14:51:45 -07:00
David Núñez 27d11090bb Test that sampling distribution is as expected. Closes #1019 2019-09-02 23:22:49 +02:00
David Núñez 4bb83cf180 Adapt sampling tests to new changes 2019-09-02 19:22:57 +02:00
Kieran R. Prasch 63d941117d Respond to RFCs in PR #1283. 2019-09-02 08:22:41 -07:00
Kieran Prasch 22fc7d16b4 Adapt PeriodTracker to WorkTracker; Geth client duration bug fix. 2019-08-31 11:32:25 -07:00